compilation warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-11-06 16:27:23 +00:00
parent 25d0687a6e
commit 8b9c59052a

View File

@ -4068,8 +4068,8 @@ bool wxWin32StatusBarInputHandler::IsOnGrip(wxWindow *statbar,
{
wxSize sizeSbar = statbar->GetSize();
return (sizeSbar.x - pt.x) < STATUSBAR_GRIP_SIZE &&
(sizeSbar.y - pt.y) < STATUSBAR_GRIP_SIZE;
return (sizeSbar.x - pt.x) < (wxCoord)STATUSBAR_GRIP_SIZE &&
(sizeSbar.y - pt.y) < (wxCoord)STATUSBAR_GRIP_SIZE;
}
return FALSE;