projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 0.4 of wxPython for MSW.
[wxWidgets.git]
/
src
/
gtk
/
checkbox.cpp
diff --git
a/src/gtk/checkbox.cpp
b/src/gtk/checkbox.cpp
index e50abc4759332a21f54c892fa52ceb7ab622120f..c4aac9364a1b3d47d18149dddb181da0f0d8246a 100644
(file)
--- 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;