diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index e47b0c074f..fb65bd6a39 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -351,7 +351,9 @@ CFrame::CFrame(wxFrame* parent, for (int i = 0; i <= IDM_CODEWINDOW - IDM_LOGWINDOW; i++) bFloatWindow[i] = false; +#ifdef __WXGTK__ panic_event.Init(); +#endif if (ShowLogWindow) SConfig::GetInstance().m_InterfaceLogWindow = true; @@ -492,7 +494,9 @@ CFrame::~CFrame() ClosePages(); +#ifdef __WXGTK__ panic_event.Shutdown(); +#endif delete m_Mgr; }