X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a01bb1bce4aedbbdb6b705b0fababd01b918cb0..8b3fddc49326c0b6019cd7082218726aa17a5727:/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); }