removed Win16 code
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jan 2006 01:05:52 +0000 (01:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jan 2006 01:05:52 +0000 (01:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/mdi.cpp

index 89040acf21dc561d485b470c87e4511dce049360..51ab9de541f54197a11ba121136b3867adaebfe2 100644 (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();