wxControl::SetLabel and use m_label which contains the label without '&')
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@558
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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 );
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 );