From 102db80fb510d7b2e325767f700c2feda73e8267 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 10 Jan 2012 17:01:20 +0000 Subject: [PATCH] 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 --- src/msw/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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