From 2db1b1c0becfeb9d667670a7aab0a0873de6d5a2 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 31 Jul 2005 13:03:47 +0000 Subject: [PATCH] Correctly calculate ClientSize when using native toolbars. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 25820c2768..bb2cea1d90 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -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 -- 2.50.0