diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-11-05 20:53:40 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-11-06 08:04:54 -0500 |
| commit | c2d00d25fe8b2f46eb35f039bc664b73669c3755 (patch) | |
| tree | ef25cdc3b6d64d58201c694969afa9586e5b3b8f /Source/Core/DolphinWX/Frame.cpp | |
| parent | bfa9cc27361415a78ddb366764be6f929bf78d6a (diff) | |
DolphinWX: Make the main config dialog modeless
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index c966bf84f6..147e2a47b6 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "DolphinWX/Frame.h" + #include <atomic> #include <cstddef> #include <fstream> @@ -49,8 +51,8 @@ #include "Core/Movie.h" #include "Core/State.h" +#include "DolphinWX/Config/ConfigMain.h" #include "DolphinWX/Debugger/CodeWindow.h" -#include "DolphinWX/Frame.h" #include "DolphinWX/GameListCtrl.h" #include "DolphinWX/Globals.h" #include "DolphinWX/LogWindow.h" @@ -310,6 +312,8 @@ CFrame::CFrame(wxFrame* parent, wxWindowID id, const wxString& title, wxRect geo { BindEvents(); + m_main_config_dialog = new CConfigMain(this); + for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++) bFloatWindow[i] = false; @@ -488,6 +492,7 @@ void CFrame::BindEvents() BindMenuBarEvents(); Bind(DOLPHIN_EVT_RELOAD_THEME_BITMAPS, &CFrame::OnReloadThemeBitmaps, this); + Bind(DOLPHIN_EVT_RELOAD_GAMELIST, &CFrame::OnReloadGameList, this); } bool CFrame::RendererIsFullscreen() |
