X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a01bb1bce4aedbbdb6b705b0fababd01b918cb0..ee3510132b8b4160f848bd4f502a6f5315f90dbc:/src/msw/window.cpp 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); }