X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbea3ec6ae2cd8c8d477c6f04a09ca8a1fa1ab96..6327cdd57cd324afc284c4ef04a1a8eb6eab6e55:/include/wx/gtk/bitmap.h?ds=inline diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index ac0581bd40..c1eee5ca50 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -57,7 +57,7 @@ public: #ifdef wxNEEDS_CHARPP // needed for old GCC wxBitmap(char** data) - { *this = wxBitmap(wx_const_cast(const char* const*, data)); } + { *this = wxBitmap(const_cast(data)); } #endif wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_DEFAULT_TYPE ); #if wxUSE_IMAGE