X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8c631bb299230a18a9d2bbb26d28a426c161a8f..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk/checkbox.cpp?ds=inline diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index 3883d1d7e2..c4aac9364a 100644 --- a/src/gtk/checkbox.cpp +++ b/src/gtk/checkbox.cpp @@ -56,8 +56,6 @@ bool wxCheckBox::Create( wxWindow *parent, wxWindowID id, const wxString &label SetValidator( validator ); - wxControl::SetLabel( label ); - m_widget = gtk_check_button_new_with_label( m_label ); wxSize newSize = size; @@ -70,6 +68,8 @@ bool wxCheckBox::Create( wxWindow *parent, wxWindowID id, const wxString &label PostCreation(); + SetLabel( label ); + Show( TRUE ); return TRUE;