summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/UDPWrapper.cpp
diff options
context:
space:
mode:
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