From: Vadim Zeitlin Date: Tue, 10 Jan 2012 17:01:20 +0000 (+0000) Subject: Fix wxFrame::AttachMenuBar() compilation under Windows CE. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/102db80fb510d7b2e325767f700c2feda73e8267 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 --- diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 31886a93ef..6fb620f448 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -385,7 +385,7 @@ void wxFrame::AttachMenuBar(wxMenuBar *menubar) // adjust for menu / titlebar height 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