]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/icon.h
fix wxBitmapComboBox Gtk-CRITICAL assertion `GTK_IS_ENTRY (entry)' failed
[wxWidgets.git] / include / wx / cocoa / icon.h
index ebeb2975f819dd8810b250cc3b785a0278a6a899..3d1f3f86153e133f1f18135a8e32090fe75d4ed7 100644 (file)
@@ -48,6 +48,8 @@ public:
     int GetWidth() const;
     int GetHeight() const;
 
+    wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); }
+
     WX_NSImage GetNSImage() const;
     bool CreateFromXpm(const char* const* bits);