X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..31ad423e4fb556ec225a63b161154d3bf3445c1b:/include/wx/statbmp.h diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index 3c81aa4781..49bcf7fb93 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_BASE_ #define _WX_STATBMP_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmpbase.h" #endif @@ -44,7 +44,7 @@ public: virtual bool AcceptsFocus() const { return FALSE; } protected: - virtual wxSize DoGetBestClientSize() const; + virtual wxSize DoGetBestSize() const; DECLARE_NO_COPY_CLASS(wxStaticBitmapBase) };