From 75be9ce40de47417b9af6fb6a7cbf1b428dc902d Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 8 Jul 2010 00:52:46 +0000 Subject: 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 --- Source/Core/InputCommon/Src/UDPWrapper.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/InputCommon/Src/UDPWrapper.cpp') 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 -- cgit v1.2.3