X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..1c0f361be288df133c766e04cc857b3e4682b31a:/include/wx/gtk1/bmpbuttn.h diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 0454769f06..c71501e59a 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -68,6 +68,7 @@ public: protected: virtual void OnSetBitmap(); + virtual wxSize DoGetBestSize() const; void Init();