X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7b2e4941fdf9842e17d2d375474e0846d0a1abe..923608c3ac95e2c705fb0f49ab48fbe62fc871bd:/src/gtk/radiobox.cpp diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index d00e6cfc76..a16eaf5679 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -688,7 +688,7 @@ int wxRadioBox::GetItemFromPoint(const wxPoint& point) const for ( wxRadioBoxButtonsInfoList::compatibility_iterator node = m_buttonsInfo.GetFirst(); node; node = node->GetNext(), n++ ) { - if ( m_buttonsInfo[n]->rect.Inside(pt) ) + if ( m_buttonsInfo[n]->rect.Contains(pt) ) return n; }