]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxFrame::AttachMenuBar() compilation under Windows CE.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 17:01:20 +0000 (17:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 17:01:20 +0000 (17:01 +0000)
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

src/msw/frame.cpp

index 31886a93ef4326f347a38c6e923652e9e5618542..6fb620f44872f7e9ac3650f12f296a758cfee9af 100644 (file)
@@ -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