X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83058c584ffe23c0766665ff58e2bf5bc680b129..5f31d8628c46adb614eec98fdc6b100516def01d:/src/gtk/checkbox.cpp diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index e50abc4759..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 ); - 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;