]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/icon.mm
Don't assert in wxDataViewCtrl::ItemDeleted() if item doesn't exist.
[wxWidgets.git] / src / cocoa / icon.mm
index 44983b7272aa45085d4153bf7afac250bb90f293..77a622e4f7590cf7349b71298c99e331d5d2db1b 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/08/11
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -107,7 +107,7 @@ wxGDIRefData *wxIcon::CreateGDIRefData() const
 
 wxGDIRefData *wxIcon::CloneGDIRefData(const wxGDIRefData *data) const
 {
-    return new wxIconRefData(*wx_static_cast(const wxIconRefData *, data));
+    return new wxIconRefData(*static_cast<const wxIconRefData *>(data));
 }
 
 bool wxIcon::CreateFromXpm(const char* const* xpm)