]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
Context menu event from keyboard records the mouse position, not -1, -1,
[wxWidgets.git] / src / gtk / radiobut.cpp
index a1a5e23c299c638975334359e4c8e15701c6b6d1..c4ac7d11758f53ea870ad05d1b4ddb4aa339c71d 100644 (file)
@@ -41,7 +41,7 @@ void gtk_radiobutton_clicked_callback( GtkToggleButton *button, wxRadioButton *r
     wxCommandEvent event( wxEVT_COMMAND_RADIOBUTTON_SELECTED, rb->GetId());
     event.SetInt( rb->GetValue() );
     event.SetEventObject( rb );
-    rb->GetEventHandler()->ProcessEvent( event );
+    rb->HandleWindowEvent( event );
 }
 }