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:
Vadim Zeitlin
2006-01-07 01:05:52 +00:00
parent 1ecf2613d0
commit 90392f9cc9

View File

@@ -1374,12 +1374,7 @@ void wxMDIChildFrame::OnIdle(wxIdleEvent& event)
static void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
{
::SendMessage(GetWinHwnd(win), WM_MDISETMENU,
#ifdef __WIN32__
(WPARAM)hmenuFrame, (LPARAM)hmenuWindow
#else
0, MAKELPARAM(hmenuFrame, hmenuWindow)
#endif
);
(WPARAM)hmenuFrame, (LPARAM)hmenuWindow);
// update menu bar of the parent window
wxWindow *parent = win->GetParent();