]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/checkbox.cpp
fix building with WXWIN_COMPATIBILITY_2_8 == 0
[wxWidgets.git] / src / gtk1 / checkbox.cpp
index e52bdc4b01dea4b0578f63653cb6c4e65cccccb6..080734b15a10a10a8d56c94e394548d4b5bb1bac 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk1/checkbox.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -47,7 +46,7 @@ static void gtk_checkbox_toggled_callback(GtkWidget *WXUNUSED(widget),
 
     if (cb->m_blockEvent) return;
 
-    wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, cb->GetId());
+    wxCommandEvent event(wxEVT_CHECKBOX, cb->GetId());
     event.SetInt(cb->GetValue());
     event.SetEventObject(cb);
     cb->HandleWindowEvent(event);