return false;
m_cocoaNSView = NULL;
SetNSBox([[NSBox alloc] initWithFrame:MakeDefaultNSRect(size)]);
- [GetNSBox() setTitle:wxNSStringWithWxString(GetLabelText(title))];
+ CocoaSetLabelForObject(title, GetNSBox());
if(m_parent)
m_parent->CocoaAddChild(this);
SetInitialFrameRect(pos,size);
void wxStaticBox::SetLabel(const wxString& label)
{
wxAutoNSAutoreleasePool pool;
- [GetNSBox() setTitle:wxNSStringWithWxString(label)];
+ CocoaSetLabelForObject(label, GetNSBox());
}
wxString wxStaticBox::GetLabel() const