removed Win16 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1374,12 +1374,7 @@ void wxMDIChildFrame::OnIdle(wxIdleEvent& event)
|
|||||||
static void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
|
static void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
|
||||||
{
|
{
|
||||||
::SendMessage(GetWinHwnd(win), WM_MDISETMENU,
|
::SendMessage(GetWinHwnd(win), WM_MDISETMENU,
|
||||||
#ifdef __WIN32__
|
(WPARAM)hmenuFrame, (LPARAM)hmenuWindow);
|
||||||
(WPARAM)hmenuFrame, (LPARAM)hmenuWindow
|
|
||||||
#else
|
|
||||||
0, MAKELPARAM(hmenuFrame, hmenuWindow)
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
|
|
||||||
// update menu bar of the parent window
|
// update menu bar of the parent window
|
||||||
wxWindow *parent = win->GetParent();
|
wxWindow *parent = win->GetParent();
|
||||||
|
Reference in New Issue
Block a user