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