]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tglbtn.cpp
don't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when...
[wxWidgets.git] / src / gtk / tglbtn.cpp
index 26f10619975af95e2a0b66ea81b59246d2a7c2b9..63fd5414cc7513dbb2d56b88b7cb7fc588b064b6 100644 (file)
@@ -39,7 +39,7 @@ static void gtk_togglebutton_clicked_callback(GtkWidget *WXUNUSED(widget), wxTog
 }
 }
 
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent )
 
 // ------------------------------------------------------------------------
 // wxBitmapToggleButton