]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/icon.h
it needs wxUSE_* guard to not break smartphone build.
[wxWidgets.git] / include / wx / cocoa / icon.h
index 93e822526db4e00d5473938017af3e40cc4a4059..f7bdd3b1c25fae5b3ef0c10613f336d85228b780 100644 (file)
@@ -33,7 +33,7 @@ public:
     {
         LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICON);
     }
-    ~wxIcon();
+    virtual ~wxIcon();
 
     bool LoadFile(const wxString& name, wxBitmapType flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ ,
         int desiredWidth /* = -1 */ , int desiredHeight = -1);