X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83058c584ffe23c0766665ff58e2bf5bc680b129..cb43b372fb1567caf7ccfa523aca10c676ceaec4:/src/gtk1/checkbox.cpp diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index e50abc4759..c4aac9364a 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -56,8 +56,6 @@ bool wxCheckBox::Create( wxWindow *parent, wxWindowID id, const wxString &label SetValidator( validator ); - 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;