]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
Added event Clone functions
[wxWidgets.git] / src / univ / themes / win32.cpp
index d2850f251905e575b7f2bb88fca240daa04fefb2..3261e10239f09a7652bb784ef810147096d1c75b 100644 (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;