Merge pull request #2374 from randomstuff/fix-unpn
Fix build without UPnP
This commit is contained in:
commit
94995503aa
|
@ -354,7 +354,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
m_host_port_lbl->Hide();
|
m_host_port_lbl->Hide();
|
||||||
m_host_port_text->Hide();
|
m_host_port_text->Hide();
|
||||||
|
#ifdef USE_UPNP
|
||||||
m_upnp_chk->Hide();
|
m_upnp_chk->Hide();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -380,7 +382,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
||||||
// Server tab
|
// Server tab
|
||||||
m_host_port_lbl->Show();
|
m_host_port_lbl->Show();
|
||||||
m_host_port_text->Show();
|
m_host_port_text->Show();
|
||||||
|
#ifdef USE_UPNP
|
||||||
m_upnp_chk->Show();
|
m_upnp_chk->Show();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue