'&' are removed from checkbox labels (all controls should call

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
This commit is contained in:
Vadim Zeitlin
1998-08-15 21:05:06 +00:00
parent 8f5f7c82d1
commit 1280032d6c
2 changed files with 2 additions and 2 deletions

View 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 );