]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/checkbox.cpp
splitted wxApp docs in wxApp+wxAppConsole docs; fix the signature of the documented...
[wxWidgets.git] / src / gtk1 / checkbox.cpp
index c61796d94697cc68cfd465f3296d1983c3ec6997..4bd1fd35aff8c3d21ac3b2898831eef7f11ab68f 100644 (file)
@@ -50,7 +50,7 @@ static void gtk_checkbox_toggled_callback(GtkWidget *WXUNUSED(widget),
     wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, cb->GetId());
     event.SetInt(cb->GetValue());
     event.SetEventObject(cb);
-    cb->GetEventHandler()->ProcessEvent(event);
+    cb->HandleWindowEvent(event);
 }
 }