Stripped menu control characters from buttons, static text, radiobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
|
||||
m_windowId = id;
|
||||
|
||||
m_windowStyle = style;
|
||||
m_label = label ;
|
||||
m_label = wxStripMenuCodes(label) ;
|
||||
|
||||
bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name );
|
||||
SetBestSize( size ) ;
|
||||
|
Reference in New Issue
Block a user