]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/bitmap.h
don't use annoying and unneeded in C++ casts of NULL to "T *"
[wxWidgets.git] / include / wx / x11 / bitmap.h
index b023702059ee5dd45bebdaa4b83f83bd01768801..fed6dd5068c1c48961febb096c03bdae651592a4 100644 (file)
@@ -73,7 +73,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
     wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_DEFAULT_TYPE );