]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
ignore clicks on a toolbar but outside any button
[wxWidgets.git] / src / msw / window.cpp
index 23d1786d2b769085ca4e6a300a86da0c3fcb9fba..4ee8e7b1f36dfbd65187e9e42c997bc09f4a05b1 100644 (file)
@@ -1645,15 +1645,6 @@ void wxWindowMSW::DoSetClientSize(int width, int height)
             break;
         }
 
-        if ( i == 3 )
-        {
-            // how did it happen? maybe OnSize() handler does something really
-            // strange in this class?
-            wxFAIL_MSG( _T("logic error in DoSetClientSize") );
-
-            break;
-        }
-
         int widthClient = width,
             heightClient = height;
 
@@ -5158,7 +5149,7 @@ wxPoint wxGetMousePosition()
 {
     POINT pt;
     GetCursorPos( & pt );
-    
+
     return wxPoint(pt.x, pt.y);
 }