X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..befe54c6ca5d8f57be1d38f8826bdb080af29e89:/src/gtk1/checkbox.cpp diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index f42ef1867d..036a1dbcde 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -56,7 +56,7 @@ bool wxCheckBox::Create( wxWindow *parent, wxWindowID id, const wxString &label SetLabel( label ); - m_widget = gtk_check_button_new_with_label( label ); + m_widget = gtk_check_button_new_with_label( m_label ); wxSize newSize = size; if (newSize.x == -1) newSize.x = 25+gdk_string_measure( m_widget->style->font, label );