X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..6b941b35c028915cd04b5b3843e437ab2e274ed8:/include/wx/mac/bmpbuttn.h?ds=inline diff --git a/include/wx/mac/bmpbuttn.h b/include/wx/mac/bmpbuttn.h index a9da719241..28a91ed93f 100644 --- a/include/wx/mac/bmpbuttn.h +++ b/include/wx/mac/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bmpbuttn.h" #endif @@ -56,6 +56,9 @@ public: virtual void DrawButtonFocus( WXHDC dc, int left, int top, int right, int bottom, bool sel ); virtual void DrawButtonDisable( WXHDC dc, int left, int top, int right, int bottom, bool with_marg ); */ + +protected: + virtual wxSize DoGetBestSize() const; }; #endif