]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbmp.h
Next try at avoiding too few or too many size events.
[wxWidgets.git] / include / wx / gtk1 / statbmp.h
index cfedc1c50230334731ac9e6605809c2924c34787..f56a5d4d569fd60864b5dfa1a486a246298e34fa 100644 (file)
@@ -74,7 +74,19 @@ 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();
+
     wxBitmap   m_bitmap;
 };