X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/118f5fbd0651e6c610a44a42a41dcf93439e820d..f164c52bc761d08cbfe5b733198e9d21afc3c221:/src/msw/combo.cpp diff --git a/src/msw/combo.cpp b/src/msw/combo.cpp index 50025b1eed..3c28925719 100644 --- a/src/msw/combo.cpp +++ b/src/msw/combo.cpp @@ -489,7 +489,7 @@ void wxComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) ) void wxComboCtrl::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