X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3dfaa10a67a46d8e50e297a068ac145dab90033..11c5b47d9454915aa790ded6cf03613b9e2df12c:/include/wx/gtk1/bmpbuttn.h diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 04532e2b2b..c71501e59a 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#ifdef __GNUG__ +#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();