X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fd284a4a09793c29078296529d3e9db5acd0a0f..b83290c3ebf1a7dbd8d1ec9e6fad248f5684d7b1:/src/msw/icon.cpp diff --git a/src/msw/icon.cpp b/src/msw/icon.cpp index 36ce690043..a788d29ed1 100644 --- a/src/msw/icon.cpp +++ b/src/msw/icon.cpp @@ -119,7 +119,7 @@ bool wxICOFileHandler::LoadFile(wxBitmap *bitmap, const wxString& name, long fla { wxIcon *icon = (wxIcon *)bitmap; wxIconRefData *data = (wxIconRefData *)icon->GetRefData(); - data->m_hIcon = (WXHICON)ReadIconFile((char *)name.c_str(), wxGetInstance(), + data->m_hIcon = (WXHICON)ReadIconFile((wxChar *)name.c_str(), wxGetInstance(), &data->m_width, &data->m_height); data->m_ok = data->m_hIcon != 0;