mirror of https://github.com/BOINC/boinc.git
MGR: Prevent crash on Windows with the menu disabling code. Revisit when more time is available.
This commit is contained in:
parent
1896036dda
commit
883ccab46b
|
@ -161,7 +161,9 @@ void CStatusBar::OnSize(wxSizeEvent& event) {
|
||||||
IMPLEMENT_DYNAMIC_CLASS(CAdvancedFrame, CBOINCBaseFrame)
|
IMPLEMENT_DYNAMIC_CLASS(CAdvancedFrame, CBOINCBaseFrame)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE (CAdvancedFrame, CBOINCBaseFrame)
|
BEGIN_EVENT_TABLE (CAdvancedFrame, CBOINCBaseFrame)
|
||||||
|
#ifndef __WXMSW__
|
||||||
EVT_MENU_OPEN(CAdvancedFrame::OnMenuOpening)
|
EVT_MENU_OPEN(CAdvancedFrame::OnMenuOpening)
|
||||||
|
#endif
|
||||||
// View
|
// View
|
||||||
EVT_MENU_RANGE(ID_ADVNOTICESVIEW, ID_ADVRESOURCEUSAGEVIEW, CAdvancedFrame::OnChangeView)
|
EVT_MENU_RANGE(ID_ADVNOTICESVIEW, ID_ADVRESOURCEUSAGEVIEW, CAdvancedFrame::OnChangeView)
|
||||||
EVT_MENU(ID_CHANGEGUI, CAdvancedFrame::OnChangeGUI)
|
EVT_MENU(ID_CHANGEGUI, CAdvancedFrame::OnChangeGUI)
|
||||||
|
|
Loading…
Reference in New Issue