Wxwidgets: Finally fix the settings dialog size

This is a nasty hack, but whatever.
This commit is contained in:
Ilari Liusvaara 2012-04-11 00:09:29 +03:00
parent ff97dcd4ac
commit 6e9ce875b8

View file

@ -557,6 +557,7 @@ wxeditor_esettings_joystick::wxeditor_esettings_joystick(wxWindow* parent)
{
last_id = wxID_HIGHEST + 1;
no_joysticks = new wxStaticText(this, wxID_ANY, wxT("Sorry, no joysticks detected"));
no_joysticks->SetMinSize(wxSize(400, -1));
no_joysticks->Hide();
SetSizer(jgrid = new wxFlexGridSizer(0, 1, 0, 0));
refresh();