renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -280,7 +280,7 @@ void wxGenericComboControl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) )
|
||||
|
||||
void wxGenericComboControl::OnMouseEvent( wxMouseEvent& event )
|
||||
{
|
||||
bool isOnButtonArea = m_btnArea.Inside(event.m_x,event.m_y);
|
||||
bool isOnButtonArea = m_btnArea.Contains(event.m_x,event.m_y);
|
||||
int handlerFlags = isOnButtonArea ? wxCC_MF_ON_BUTTON : 0;
|
||||
|
||||
// Preprocessing fabricates double-clicks and prevents
|
||||
|
||||
Reference in New Issue
Block a user