]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/bitmap.h
fix wxDEFINE_EVENT_REFERENCE in wxEVENTS_COMPATIBILITY_2_8 case
[wxWidgets.git] / include / wx / gtk1 / bitmap.h
index 30bc29e6bfd357ad3f3c21ddfe0becba27d77829..5ae629f1cde09d01381bd28fd0a52acbb0627a07 100644 (file)
@@ -72,7 +72,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 );