]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Do not send a changed event if a button is clicked for down/up when the control is...
[wxWidgets.git] / src / common / popupcmn.cpp
index de7f0683b69446fcef08a512ed675d2cd6071879..41b8878af33de3ab7220aa31e6f460c862c86c2e 100644 (file)
@@ -373,7 +373,7 @@ void wxPopupTransientWindow::OnIdle(wxIdleEvent& event)
         wxPoint pos = ScreenToClient(wxGetMousePosition());
         wxRect rect(GetSize());
 
-        if ( rect.Inside(pos) )
+        if ( rect.Contains(pos) )
         {
             if ( m_child->HasCapture() )
             {