]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobox.cpp
Fix default value for wxFontPickerCtrl's initial font parameter
[wxWidgets.git] / src / gtk / radiobox.cpp
index 8d399e33e4a56490a58b2f8038013a03d115bc25..a16eaf5679f47ede7434e7da16a6d541d23dd323 100644 (file)
@@ -119,8 +119,6 @@ static gint gtk_radiobox_keypress_callback( GtkWidget *widget, GdkEventKey *gdk_
         return FALSE;
     }
 
-    g_signal_stop_emission_by_name (widget, "key_press_event");
-
     if ((gdk_event->keyval == GDK_Up) ||
         (gdk_event->keyval == GDK_Left))
     {
@@ -690,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;
     }