]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/checkbox.mm
no real changes; just a very minor cleanup in wxFrame::MSWTranslateMessage()
[wxWidgets.git] / src / cocoa / checkbox.mm
index d5f21852a6bc8ae072750931a85c170a419d0538..13ee14009c8362f256cfa43490eea272ef9631e5 100644 (file)
@@ -136,4 +136,9 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
-#endif
\ No newline at end of file
+void wxCheckBox::SetLabel(const wxString& s)
+{
+    wxAutoNSAutoreleasePool pool;
+    [GetNSButton() setTitle:wxNSStringWithWxString(s)];
+}
+#endif