X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1db8dc4a2b5b664e922b9d049320ec0354e0eccf..c8b204e6fd541515bead44e1be86ab8cb44a35d3:/src/gtk/tglbtn.cpp diff --git a/src/gtk/tglbtn.cpp b/src/gtk/tglbtn.cpp index 28497c76ce..cfa6e1efdf 100644 --- a/src/gtk/tglbtn.cpp +++ b/src/gtk/tglbtn.cpp @@ -106,7 +106,7 @@ void wxToggleButton::SetValue(bool state) GTK_SIGNAL_FUNC(gtk_togglebutton_clicked_callback), (gpointer *)this); - gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(m_widget), state); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(m_widget), state); gtk_signal_connect(GTK_OBJECT(m_widget), "clicked", GTK_SIGNAL_FUNC(gtk_togglebutton_clicked_callback),