diff --git a/3rdparty/wxwidgets3.0/src/common/sizer.cpp b/3rdparty/wxwidgets3.0/src/common/sizer.cpp index 4981e80926..6f810e3e44 100644 --- a/3rdparty/wxwidgets3.0/src/common/sizer.cpp +++ b/3rdparty/wxwidgets3.0/src/common/sizer.cpp @@ -1040,10 +1040,10 @@ wxSize wxSizer::GetMinSize() return ret; } -void wxSizer::DoSetMinSize(int width, int height) +void wxSizer::DoSetMinSize( int width, int height ) { - m_minSize.x = width; - m_minSize.y = height; + m_minSize.x = width; + m_minSize.y = height; } bool wxSizer::DoSetItemMinSize( wxWindow *window, int width, int height ) diff --git a/common/include/Utilities/wxGuiTools.h b/common/include/Utilities/wxGuiTools.h index 3b03df61aa..d2d68e6c86 100644 --- a/common/include/Utilities/wxGuiTools.h +++ b/common/include/Utilities/wxGuiTools.h @@ -257,6 +257,7 @@ void operator+=(wxWindow &target, WinType &src) return; *target.GetSizer() += src; } + template void operator+=(wxWindow &target, const pxWindowAndFlags &src) { diff --git a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp index 1843efb1ea..e17de49004 100644 --- a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp +++ b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp @@ -228,5 +228,5 @@ void FirstTimeWizard::OnPageChanging( wxWizardEvent& evt ) void FirstTimeWizard::OnPageChanged( wxWizardEvent& evt ) { if( ((sptr)evt.GetPage() == (sptr)&m_page_bios) ) - m_panel_BiosSel.OnShown(); + m_panel_BiosSel.OnShown(); }