diff --git a/include/wx/msw/icon.h b/include/wx/msw/icon.h index 4583310223..a83ec7baa4 100644 --- a/include/wx/msw/icon.h +++ b/include/wx/msw/icon.h @@ -54,9 +54,8 @@ public: // from raw data wxIcon(const char bits[], int width, int height); // from XPM data -#ifndef __DIGITALMARS__ wxIcon(const char **data) { CreateIconFromXpm(data); } -#endif + wxIcon(char **data) { CreateIconFromXpm((const char **)data); } // from resource/file wxIcon(const wxString& name,