]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/checkbox.mm
implementation streamlined
[wxWidgets.git] / src / cocoa / checkbox.mm
index c75820d25716c4fd756bce1eaa557de347a79512..13ee14009c8362f256cfa43490eea272ef9631e5 100644 (file)
@@ -136,4 +136,9 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+void wxCheckBox::SetLabel(const wxString& s)
+{
+    wxAutoNSAutoreleasePool pool;
+    [GetNSButton() setTitle:wxNSStringWithWxString(s)];
+}
 #endif