MGR: Prevent crash on Windows with the menu disabling code. Revisit when more time is available.

This commit is contained in:
Rom Walton 2015-07-14 11:42:06 -04:00
parent 1896036dda
commit 883ccab46b
1 changed files with 2 additions and 0 deletions

View File

@ -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)