]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statbmp.h
1. moved InheritAttributes() from wxControl to wxWindow
[wxWidgets.git] / include / wx / statbmp.h
index 3c81aa47817831ca757cedf72ebba8fb89fd3942..49bcf7fb93103b96dc910b6ec6abbeed8e7431fe 100644 (file)
@@ -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)
 };