From 5cd16c0c458adbe2ba948d2114ca9005bec4808d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 7 Mar 2002 22:42:02 +0000 Subject: [PATCH] Removed unneeded assert git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 23d1786d2b..4ee8e7b1f3 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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); } -- 2.50.0