]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tglbtn.cpp
clean - reformatting
[wxWidgets.git] / src / gtk / tglbtn.cpp
index 2f88a9757bce8d1cd051d924a98373b2ded127d9..c18160f778257b48cbb326dff6d5a38e8100d217 100644 (file)
@@ -289,7 +289,7 @@ void wxToggleButton::SetLabel(const wxString& label)
 
     wxControl::SetLabel(label);
 
-    gtk_label_set(GTK_LABEL(GTK_BIN(m_widget)->child), wxGTK_CONV(GetLabel()));
+    gtk_label_set_text(GTK_LABEL(GTK_BIN(m_widget)->child), wxGTK_CONV(GetLabel()));
 }
 
 bool wxToggleButton::Enable(bool enable /*=true*/)