Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1266,7 +1266,10 @@ static void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
|
||||
wxWindow *parent = win->GetParent();
|
||||
wxCHECK_RET( parent, wxT("MDI client without parent frame? weird...") );
|
||||
|
||||
#ifndef __WIN16__
|
||||
::SendMessage(GetWinHwnd(win), WM_MDIREFRESHMENU, 0, 0L);
|
||||
#endif
|
||||
|
||||
::DrawMenuBar(GetWinHwnd(parent));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user