]> git.saurik.com Git - wxWidgets.git/commitdiff
Correctly calculate ClientSize when using native
authorRobert Roebling <robert@roebling.de>
Sun, 31 Jul 2005 13:03:47 +0000 (13:03 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 31 Jul 2005 13:03:47 +0000 (13:03 +0000)
   toolbars.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/frame.cpp

index 25820c27684f14693a59038cb910ed32521b5aec..bb2cea1d90bf1a0cef999dae0343d94a837c58e3 100644 (file)
@@ -270,10 +270,10 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
         }
         else
         {
-#if wxMAC_USE_NATIVE_TOOLBAR
+//#if wxMAC_USE_NATIVE_TOOLBAR
             // todo verify whether HIToolBox is giving correct sizes here for the tlw
             if ( y )  *y -= h;
-#endif
+//#endif
         }
     }
 #endif // wxUSE_TOOLBAR