X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/cocoa/bmpbuttn.h diff --git a/include/wx/cocoa/bmpbuttn.h b/include/wx/cocoa/bmpbuttn.h index 1c52c5debe..e9c22e908a 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: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_BMPBUTTN_H__ @@ -17,7 +17,7 @@ // ======================================================================== // wxBitmapButton // ======================================================================== -class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase +class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase { DECLARE_DYNAMIC_CLASS(wxBitmapButton) DECLARE_EVENT_TABLE() @@ -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__