]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/icon.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / osx / icon.h
index 1728e07ec5fa2012b1c3ea21c95f4b148e873722..d0b2d80be80ae23ab039a3e987309c3190d077ae 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        icon.h
+// Name:        wx/osx/icon.h
 // Purpose:     wxIcon class
 // Author:      Stefan Csomor
 // Modified by:
@@ -50,6 +50,8 @@ public:
     void SetDepth(int d);
     void SetOk(bool isOk);
 
+    wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); }
+
     WXHICON GetHICON() const;
 
 protected: