]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed some focus handling that was to general and did break e.g. combobox.
authorStefan Neis <Stefan.Neis@t-online.de>
Mon, 5 Jun 2006 19:35:08 +0000 (19:35 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Mon, 5 Jun 2006 19:35:08 +0000 (19:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/window.cpp

index 6af67866bbbd54f8cfac9df1ba08f9b5b67f7b9d..2a7b44ea658657c659de95908e3c3db201952a10 100644 (file)
@@ -2394,9 +2394,6 @@ MRESULT wxWindowOS2::OS2WindowProc( WXUINT uMsg,
         case WM_BUTTON3MOTIONEND:
         case WM_BUTTON3MOTIONSTART:
             {
-                if (uMsg == WM_BUTTON1DOWN && AcceptsFocus())
-                    SetFocus();
-
                 short               nX = LOWORD(wParam);
                 short               nY = HIWORD(wParam);