]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbmp.h
Compile fix for GIF decoder,
[wxWidgets.git] / include / wx / gtk1 / statbmp.h
index 4716ffd797fb45c02bbb1c4350b7080166465e3c..f56a5d4d569fd60864b5dfa1a486a246298e34fa 100644 (file)
@@ -74,6 +74,15 @@ public:
         return (const wxIcon &)m_bitmap;
     }
 
+    // for compatibility with wxMSW
+    void  SetIcon(const wxIcon& icon)
+    {
+        SetBitmap( icon );
+    }
+
+protected:
+    virtual wxSize DoGetBestSize() const;
+
 private:
     // creates the new pixmap widget
     void CreatePixmapWidget();