]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Store menus titles in menus themselves in wxOSX.
[wxWidgets.git] / src / msw / frame.cpp
index 2313b03a3ca4847fdad61c1dc6ee219754e0ef6b..077b030d33fb094489f7af1adb2961216ed168b2 100644 (file)
@@ -295,7 +295,7 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
         wxStatusBar *statbar = GetStatusBar();
         if ( statbar && statbar->IsShown() )
         {
-            *y -= statbar->GetClientSize().y;
+            *y -= statbar->GetSize().y;
         }
     }
 #endif // wxUSE_STATUSBAR