X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cadbf2a8e41a9ec9a6f8450dc263ba31d0d6abf4..c3b501e187fdb318911177e5ad90fea9e163a112:/src/cocoa/checkbox.mm diff --git a/src/cocoa/checkbox.mm b/src/cocoa/checkbox.mm index c75820d257..13ee14009c 100644 --- a/src/cocoa/checkbox.mm +++ b/src/cocoa/checkbox.mm @@ -136,4 +136,9 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void) Command(event); } +void wxCheckBox::SetLabel(const wxString& s) +{ + wxAutoNSAutoreleasePool pool; + [GetNSButton() setTitle:wxNSStringWithWxString(s)]; +} #endif