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:
Vadim Zeitlin
1999-10-26 14:38:34 +00:00
parent eb553cb25b
commit adc6fb165a

View File

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