build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
008b5a66f7
commit
50dd4ca957
@ -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)
|
||||
|
@ -200,7 +200,7 @@ void SimpleTransientPopup::OnMouse(wxMouseEvent &event)
|
||||
rect.SetWidth(1000000);
|
||||
wxColour colour(*wxLIGHT_GREY);
|
||||
|
||||
if (rect.Inside(event.GetPosition()))
|
||||
if (rect.Contains(event.GetPosition()))
|
||||
{
|
||||
colour = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
|
||||
wxLogMessage( wxT("0x%lx SimpleTransientPopup::OnMouse pos(%d, %d)"), long(event.GetEventObject()), event.GetX(), event.GetY());
|
||||
|
Loading…
Reference in New Issue
Block a user