X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/876cd6f7e3c4c4a005828f4e7f53897210d29635..3811dacb398d9fdf89440fdf61991776412bb1e4:/src/cocoa/statbox.mm diff --git a/src/cocoa/statbox.mm b/src/cocoa/statbox.mm index bc36016905..289294fff6 100644 --- a/src/cocoa/statbox.mm +++ b/src/cocoa/statbox.mm @@ -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);