]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/bitmap.h
don't use wxDELETE unnecessarily
[wxWidgets.git] / include / wx / os2 / bitmap.h
index fcba00d5b707fd6e93f0cc980c88f64ac9ebf853..9915a6a14df211470148f3ba3b36605a71b62d8e 100644 (file)
@@ -91,7 +91,7 @@ public:
     // needed for old GCC
     wxBitmap(char** data)
     {
-        *this = wxBitmap(wx_const_cast(const char* const*, data));
+        *this = wxBitmap(const_cast<const char* const*>(data));
     }
 #endif