Fix wxFrame::AttachMenuBar() compilation under Windows CE.
There was a typo in GetHwnd() call. Closes #13848. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,7 +385,7 @@ void wxFrame::AttachMenuBar(wxMenuBar *menubar)
|
|||||||
// adjust for menu / titlebar height
|
// adjust for menu / titlebar height
|
||||||
rc.bottom -= (2*menuHeight-1);
|
rc.bottom -= (2*menuHeight-1);
|
||||||
|
|
||||||
::MoveWindow(Gethwnd(), rc.left, rc.top, rc.right, rc.bottom, FALSE);
|
::MoveWindow(GetHwnd(), rc.left, rc.top, rc.right, rc.bottom, FALSE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user