X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a749a99f086cb511f6fa8a64bad76beda7a800a6..11e62fe658531aaa2891351f19bd0a4c076717ae:/src/mac/carbon/toolbar.cpp diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 506f9ede00..b7c55f0812 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -9,10 +9,6 @@ // Licence: The wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "toolbar.h" -#endif - #include "wx/wxprec.h" #if wxUSE_TOOLBAR @@ -649,6 +645,13 @@ void wxToolBar::DoGetSize( int *width, int *height ) const wxToolBarBase::DoGetSize( width, height ); } +wxSize wxToolBar::DoGetBestSize() const +{ + int width , height ; + DoGetSize( &width , &height ) ; + return wxSize( width , height ) ; +} + void wxToolBar::SetWindowStyleFlag( long style ) { wxToolBarBase::SetWindowStyleFlag( style );