]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
Corrected the signature for wxFrame::Maximize
[wxWidgets.git] / src / gtk / checkbox.cpp
index f42ef1867dde9b8c92e785cda71a16a7d49da0fb..036a1dbcde9d883adfd76adc28ae3aac3f788cd5 100644 (file)
@@ -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 );