summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/ConfigMain.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-10-21 21:41:17 -0400
committerLioncash <mathew1800@gmail.com>2016-10-27 21:56:08 -0400
commit5e8ccb15ff4c917c1934a162ce92208358908ac3 (patch)
treef6330259a502bea968d7e85c76670b7ef1de9261 /Source/Core/DolphinWX/Config/ConfigMain.cpp
parent2536e37ec518c8d0e949ec7780ee0fb53e8b066e (diff)
DolphinWX: Move toolbar creation to a wxToolBar subclass
Diffstat (limited to 'Source/Core/DolphinWX/Config/ConfigMain.cpp')
-rw-r--r--Source/Core/DolphinWX/Config/ConfigMain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Config/ConfigMain.cpp b/Source/Core/DolphinWX/Config/ConfigMain.cpp
index 1836167ede..9e570e3e86 100644
--- a/Source/Core/DolphinWX/Config/ConfigMain.cpp
+++ b/Source/Core/DolphinWX/Config/ConfigMain.cpp
@@ -37,6 +37,8 @@ CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
Bind(wxEVT_BUTTON, &CConfigMain::OnCloseButton, this, wxID_CLOSE);
Bind(wxDOLPHIN_CFG_REFRESH_LIST, &CConfigMain::OnSetRefreshGameListOnClose, this);
+ wxDialog::SetExtraStyle(GetExtraStyle() & ~wxWS_EX_BLOCK_EVENTS);
+
CreateGUIControls();
}