]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/bitmap.h
another wxUSE_DRAG_AND_DROP==0 compilation fix
[wxWidgets.git] / include / wx / msw / bitmap.h
index e8e27aba3383f753557d3941a036a225bab7847e..b93ee6a49846d9fe5ed22c80f694afa587597d61 100644 (file)
@@ -58,7 +58,7 @@ public:
 #ifdef wxNEEDS_CHARPP
     wxBitmap(char** data)
     {
-        *this = wxBitmap(wx_const_cast(const char* const*, data));
+        *this = wxBitmap(const_cast<const char* const*>(data));
     }
 #endif