From 883ccab46b436dadb6cedaa74cff0180af796db9 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 14 Jul 2015 11:42:06 -0400 Subject: [PATCH] MGR: Prevent crash on Windows with the menu disabling code. Revisit when more time is available. --- clientgui/AdvancedFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index 9a3add7325..fb3de09239 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/clientgui/AdvancedFrame.cpp @@ -161,7 +161,9 @@ void CStatusBar::OnSize(wxSizeEvent& event) { IMPLEMENT_DYNAMIC_CLASS(CAdvancedFrame, CBOINCBaseFrame) BEGIN_EVENT_TABLE (CAdvancedFrame, CBOINCBaseFrame) +#ifndef __WXMSW__ EVT_MENU_OPEN(CAdvancedFrame::OnMenuOpening) +#endif // View EVT_MENU_RANGE(ID_ADVNOTICESVIEW, ID_ADVRESOURCEUSAGEVIEW, CAdvancedFrame::OnChangeView) EVT_MENU(ID_CHANGEGUI, CAdvancedFrame::OnChangeGUI)