diff options
| author | Mat M <mathew1800@gmail.com> | 2016-10-29 08:28:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-29 08:28:27 -0400 |
| commit | 1eed48974dd797d115d08286f1aa0ee33cc3831e (patch) | |
| tree | d4ba3ee1fad41996e4daae5c5f52cbbf0b69338e /Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp | |
| parent | 41563c55cd56cbdaf245cf4ee26ca49a27861395 (diff) | |
| parent | 65a8b999b4e6531ad43d83783cd10f425ce0e9f1 (diff) | |
Merge pull request #4380 from lioncash/wx-toolbar
DolphinWX: Move toolbar creation to a wxToolBar subclass
Diffstat (limited to 'Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp index eb3912f306..c1863e120e 100644 --- a/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp @@ -25,7 +25,6 @@ #include "DolphinWX/Config/InterfaceConfigPane.h" #include "DolphinWX/Frame.h" #include "DolphinWX/InputConfigDiag.h" -#include "DolphinWX/Main.h" #include "DolphinWX/WxUtils.h" #if defined(HAVE_XRANDR) && HAVE_XRANDR @@ -241,6 +240,7 @@ void InterfaceConfigPane::OnThemeSelected(wxCommandEvent& event) { SConfig::GetInstance().theme_name = WxStrToStr(m_theme_choice->GetStringSelection()); - main_frame->InitBitmaps(); - main_frame->UpdateGameList(); + wxCommandEvent theme_event{DOLPHIN_EVT_RELOAD_THEME_BITMAPS}; + theme_event.SetEventObject(this); + ProcessEvent(theme_event); } |
