attempt to fix wxMenuBar::EnableTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -690,6 +690,8 @@ void wxMenuBar::EnableTop(int pos, bool enable)
|
||||
int flag = enable ? MF_ENABLED : MF_GRAYED;;
|
||||
|
||||
EnableMenuItem((HMENU)m_hMenu, pos, MF_BYPOSITION | flag);
|
||||
|
||||
Refresh();
|
||||
}
|
||||
|
||||
// Must only be used AFTER menu has been attached to frame,
|
||||
|
Reference in New Issue
Block a user