Merge pull request #2230 from skidau/Mouse-In-Separate-Window

Updated the input plugins reference of hwnd on game start.
This commit is contained in:
skidau
2015-03-21 12:46:37 +11:00
6 changed files with 21 additions and 8 deletions

View File

@ -1060,6 +1060,9 @@ GamepadPage::GamepadPage(wxWindow* parent, InputConfig& config, const unsigned i
mapping->Add(dio, 1, wxEXPAND|wxLEFT|wxTOP|wxBOTTOM, 5);
mapping->Add(control_group_sizer, 0, wxLEFT|wxEXPAND, 5);
wxCommandEvent event;
RefreshDevices(event);
UpdateGUI();
SetSizerAndFit(mapping); // needed