]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
Fix another crash when conversion fails in Unix PostScript code.
[wxWidgets.git] / src / univ / radiobut.cpp
index d047af7f97dc8c714fd657d254ffcf006976a62b..8c65e6d8b46827a47c17b8b24952e09974e96cf5 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     10.09.00
-// RCS-ID:      $Id$
 // Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -135,7 +134,7 @@ void wxRadioButton::ClearValue()
 
 void wxRadioButton::SendEvent()
 {
-    wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, GetId());
+    wxCommandEvent event(wxEVT_RADIOBUTTON, GetId());
     InitCommandEvent(event);
     event.SetInt(IsChecked());
     Command(event);