git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36747
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static void MDISetMenu(wxWindow *win, HMENU hmenuFrame, HMENU hmenuWindow)
{
::SendMessage(GetWinHwnd(win), WM_MDISETMENU,
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();
// update menu bar of the parent window
wxWindow *parent = win->GetParent();