summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/UDPWrapper.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-07-08 00:52:46 +0000
committerGlenn Rice <glennricster@gmail.com>2010-07-08 00:52:46 +0000
commit75be9ce40de47417b9af6fb6a7cbf1b428dc902d (patch)
treeb864c23191938f36a9a0852e8352e4097774f99a /Source/Core/InputCommon/Src/UDPWrapper.cpp
parent0cdfef4056da463750d778236dfb03d3028b7d11 (diff)
Fix the nowx build. Do we still want to keep the nowx build? If you do speak up now because soren wants to remove it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5851 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/UDPWrapper.cpp')
-rw-r--r--Source/Core/InputCommon/Src/UDPWrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/UDPWrapper.cpp b/Source/Core/InputCommon/Src/UDPWrapper.cpp
index 70a3d9ddf8..1442c2353e 100644
--- a/Source/Core/InputCommon/Src/UDPWrapper.cpp
+++ b/Source/Core/InputCommon/Src/UDPWrapper.cpp
@@ -84,6 +84,8 @@ UDPWrapper::~UDPWrapper()
}
+#if defined(HAVE_WX) && HAVE_WX
+
#define _connect_macro_(b, f, c, s) (b)->Connect(wxID_ANY, (c), wxCommandEventHandler( f ), (wxObject*)0, (wxEvtHandler*)s)
class UDPConfigDiag : public wxDialog
@@ -173,3 +175,4 @@ void UDPWrapper::Configure(wxWindow * parent)
diag->ShowModal();
diag->Destroy();
}
+#endif