Removed unneeded assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1645,15 +1645,6 @@ void wxWindowMSW::DoSetClientSize(int width, int height)
|
|||||||
break;
|
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,
|
int widthClient = width,
|
||||||
heightClient = height;
|
heightClient = height;
|
||||||
|
|
||||||
@@ -5158,7 +5149,7 @@ wxPoint wxGetMousePosition()
|
|||||||
{
|
{
|
||||||
POINT pt;
|
POINT pt;
|
||||||
GetCursorPos( & pt );
|
GetCursorPos( & pt );
|
||||||
|
|
||||||
return wxPoint(pt.x, pt.y);
|
return wxPoint(pt.x, pt.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user