]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobut.cpp
Added missing includes
[wxWidgets.git] / src / gtk1 / radiobut.cpp
index cc9f90751fc59c749052b95d6ad94008283e36e4..9367e3fde1d2e7b56f30ca702b0a288c9d46d457 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/radiobut.h"
 
-#include "wx/gtk/private.h"
+#include "wx/gtk1/private.h"
 
 //-----------------------------------------------------------------------------
 // idle system
@@ -52,7 +52,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 );
 }
 }