]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/radiobut.mm
using common GetContentScaleFactor throughout part 2/2
[wxWidgets.git] / src / cocoa / radiobut.mm
index 3a5d0553b0ce66be75a49a9716082eff57603cdd..70820d4a1875c12346bc1555b7ac4a9e625b56ac 100644 (file)
@@ -182,7 +182,7 @@ void wxRadioButton::Cocoa_wxNSButtonAction(void)
     {
         Cocoa_DeselectOtherButtonsInTheGroup();
     }
-    wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, GetId());
+    wxCommandEvent event(wxEVT_RADIOBUTTON, GetId());
     InitCommandEvent(event); //    event.SetEventObject(this);
     event.SetInt(GetValue());
     Command(event);