build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-10-02 05:31:21 +00:00
parent 008b5a66f7
commit 50dd4ca957
2 changed files with 2 additions and 2 deletions

View File

@@ -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());