use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the string after TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID winid,
|
||||
return false;
|
||||
m_cocoaNSView = NULL;
|
||||
SetNSBox([[NSBox alloc] initWithFrame:MakeDefaultNSRect(size)]);
|
||||
[GetNSBox() setTitle:wxNSStringWithWxString(wxStripMenuCodes(title))];
|
||||
[GetNSBox() setTitle:wxNSStringWithWxString(GetLabelText(title))];
|
||||
if(m_parent)
|
||||
m_parent->CocoaAddChild(this);
|
||||
SetInitialFrameRect(pos,size);
|
||||
|
||||
Reference in New Issue
Block a user