]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments...
[wxWidgets.git] / src / gtk / checkbox.cpp
index 1e25d81b9d76f4724f4f0d78e1c5548e03084359..1e4bcf5922f92337e223ac71156492162e34fab5 100644 (file)
@@ -84,7 +84,7 @@ static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb)
     wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, cb->GetId());
     event.SetInt(cb->Get3StateValue());
     event.SetEventObject(cb);
-    cb->GetEventHandler()->ProcessEvent(event);
+    cb->HandleWindowEvent(event);
 }
 }