]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
fixes for harmless mingw32 warnings
[wxWidgets.git] / src / msw / window.cpp
index f935180fc5bb139413db3d59bbf9202ab11930b7..a68f7b7dfdf2e53430ddd42792ba7ce6cb105619 100644 (file)
@@ -4720,7 +4720,7 @@ int wxWindowMSW::HandleMenuChar(int chAccel, WXLPARAM lParam)
                         // FIXME-UNICODE: this comparison doesn't risk to work
                         // for non ASCII accelerator characters I'm afraid, but
                         // what can we do?
-                        if ( wxToupper(*p) == chAccel )
+                        if ( wxToupper(*p) == (wchar_t)chAccel )
                         {
                             return i;
                         }