From 469ea247173f2d6972fd32a50a37ee2a2c08a9d2 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Wed, 6 May 2015 20:58:06 +0200 Subject: [PATCH] Fix build without UPnP There is no checkbox. --- Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp b/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp index 857a082ae4..ace87a38c1 100644 --- a/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp +++ b/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp @@ -354,7 +354,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event) { m_host_port_lbl->Hide(); m_host_port_text->Hide(); +#ifdef USE_UPNP m_upnp_chk->Hide(); +#endif } } else @@ -380,7 +382,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event) // Server tab m_host_port_lbl->Show(); m_host_port_text->Show(); +#ifdef USE_UPNP m_upnp_chk->Show(); +#endif } }