]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/icon.cpp
now we initialize wxListEvent correctly
[wxWidgets.git] / src / msw / icon.cpp
index 36ce69004300a8e49226c925dfabf21249095253..a788d29ed15ce87b2ae397816a4982a0f1ac2ce5 100644 (file)
@@ -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;