]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobut.cpp
Fix PCH-less build after changes r64139.
[wxWidgets.git] / src / gtk1 / radiobut.cpp
index cc9f90751fc59c749052b95d6ad94008283e36e4..73968dc43bbcc6cbd27433bab57d6dfc0806ce01 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 );
 }
 }
 
@@ -87,7 +87,7 @@ bool wxRadioButton::Create( wxWindow *parent,
     if (!HasFlag(wxRB_GROUP))
     {
         // search backward for last group start
-        wxRadioButton *chief = (wxRadioButton*) NULL;
+        wxRadioButton *chief = NULL;
         wxWindowList::compatibility_iterator node = parent->GetChildren().GetLast();
         while (node)
         {