build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -468,7 +468,7 @@ DragShape::DragShape(const wxBitmap& bitmap)
|
||||
bool DragShape::HitTest(const wxPoint& pt) const
|
||||
{
|
||||
wxRect rect(GetRect());
|
||||
return rect.Inside(pt.x, pt.y);
|
||||
return rect.Contains(pt.x, pt.y);
|
||||
}
|
||||
|
||||
bool DragShape::Draw(wxDC& dc, int op)
|
||||
|
Reference in New Issue
Block a user