]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobut.cpp
missing commit
[wxWidgets.git] / src / os2 / radiobut.cpp
index 677b804d7a01bf96cce9fc8c0282f69bd4439d60..b0c97c7ba7d54433dec8cfa8fb98174ba2780d5f 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "wx/os2/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 extern void  wxAssociateWinWithHandle( HWND         hWnd
                                       ,wxWindowOS2* pWin
                                      );
@@ -165,7 +163,7 @@ bool wxRadioButton::OS2Command( WXUINT wParam, WXWORD WXUNUSED(wId) )
             if (!bIsChecked )
                 SetValue(true);
         }
-        wxCommandEvent rEvent( wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
+        wxCommandEvent rEvent( wxEVT_RADIOBUTTON, m_windowId );
         rEvent.SetEventObject(this);
         ProcessCommand(rEvent);
     }