]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/radiobox.mm
Use wxConvAuto in wxFile::Write().
[wxWidgets.git] / src / cocoa / radiobox.mm
index 0a8e1aaefb18b343bfa9bbe077b976c7c9699ad4..54bff0019c1b45ed60a52df513c0f242917b1498 100644 (file)
@@ -268,7 +268,7 @@ wxSize wxRadioBox::DoGetBestSize() const
 
 void wxRadioBox::CocoaTarget_action(void)
 {
-    wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, GetId());
+    wxCommandEvent event(wxEVT_RADIOBOX, GetId());
     InitCommandEvent(event);
     event.SetInt(GetSelection()); // i.e. SetSelection.
     Command(event);