- // the base class version which
- // will not set the label's text to it
- // because the label is not yet created and because SetLabel() has a side
- // effect of changing the control size which might not be desirable
- wxString label1(wxStripMenuCodes(label));
- wxControl::SetLabel(label);
- m_widget = gtk_label_new( wxGTK_CONV( label1 ) );