]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed unneeded assert
authorRobin Dunn <robin@alldunn.com>
Thu, 7 Mar 2002 22:42:02 +0000 (22:42 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 7 Mar 2002 22:42:02 +0000 (22:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
 }