]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbmp.h
wxGTK compiles (and seems to work) again after wxMenu changes
[wxWidgets.git] / include / wx / gtk1 / statbmp.h
index 4716ffd797fb45c02bbb1c4350b7080166465e3c..0d9bcddfb33f290b0590bc96bd780fc43eb1ecff 100644 (file)
@@ -74,6 +74,12 @@ public:
         return (const wxIcon &)m_bitmap;
     }
 
+    // for compatibility with wxMSW
+    void  SetIcon(const wxIcon& icon)
+    {
+        SetBitmap( icon );
+    }
+
 private:
     // creates the new pixmap widget
     void CreatePixmapWidget();