]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/app.cpp
made msw wxRegion(wxRect&) constructor consistant with other wxRegion constructors
[wxWidgets.git] / src / os2 / app.cpp
index 3e752ba5ff84a10761bf05d0b3f2edb84b5e9ef5..521f05f5868b7866bc55bc28d2d586072d859a7d 100644 (file)
@@ -62,7 +62,6 @@ extern wxChar*                      wxBuffer;
 extern wxChar*                      wxOsVersion;
 extern wxList*                      wxWinHandleList;
 extern wxList WXDLLEXPORT           wxPendingDelete;
-extern void wxSetKeyboardHook(bool doIt);
 extern wxCursor*                    g_globalCursor;
 
 HINSTANCE                           wxhInstance = 0;
@@ -169,7 +168,7 @@ bool wxApp::Initialize(
     if (wxDummyChar) wxDummyChar++;
 #endif
 
-    wxSetKeyboardHook(TRUE);
+    // wxSetKeyboardHook(TRUE);
 
     wxModule::RegisterModules();
     if (!wxModule::InitializeModules())
@@ -338,7 +337,7 @@ void wxApp::CleanUp()
 
     //// WINDOWS-SPECIFIC CLEANUP
 
-    wxSetKeyboardHook(FALSE);
+    // wxSetKeyboardHook(FALSE);
 
     if (wxSTD_FRAME_ICON)
         ::WinFreeFileIcon(wxSTD_FRAME_ICON);