]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
added another ParseFormat() overload for better backwards compatibility
[wxWidgets.git] / src / msw / window.cpp
index 2e534220387f94f1c2741797e2b4bd8b9ac4e7a4..d035da942b43716fb36e6e720daee4403cda36d4 100644 (file)
@@ -725,9 +725,7 @@ wxWindowMSW::MSWShowWithEffect(bool show,
     static bool s_initDone = false;
     if ( !s_initDone )
     {
-        wxLogNull noLog;
-
-        wxDynamicLibrary dllUser32(_T("user32.dll"), wxDL_VERBATIM);
+        wxDynamicLibrary dllUser32(_T("user32.dll"), wxDL_VERBATIM | wxDL_QUIET);
         wxDL_INIT_FUNC(s_pfn, AnimateWindow, dllUser32);
 
         s_initDone = true;
@@ -6101,7 +6099,7 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual)
         default:
             // check to see if its one of the OEM key codes.
             BYTE vks = LOBYTE(VkKeyScan(wxk));
-            if ( vks != -1 )
+            if ( vks != 0xff )
             {
                 vk = vks;
             }