X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c8aaaf9e30c554e8f5fb446d8217f5f29c26d7b6:/include/wx/cocoa/bmpbuttn.h diff --git a/include/wx/cocoa/bmpbuttn.h b/include/wx/cocoa/bmpbuttn.h index d2d003c133..b26b75a15e 100644 --- a/include/wx/cocoa/bmpbuttn.h +++ b/include/wx/cocoa/bmpbuttn.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_BMPBUTTN_H__ @@ -54,6 +54,9 @@ protected: // Implementation // ------------------------------------------------------------------------ public: + // The wxButton::DoGetBestSize is not correct for bitmap buttons + wxSize DoGetBestSize() const + { return wxButtonBase::DoGetBestSize(); } }; #endif // __WX_COCOA_BMPBUTTN_H__