]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / motif / radiobut.cpp
index 98741b960af028edebae618023ebc4d83893d034..eff400952401c3cefb6f331d5173666c4d620597 100644 (file)
@@ -32,8 +32,6 @@
 void wxRadioButtonCallback (Widget w, XtPointer clientData,
                             XmToggleButtonCallbackStruct * cbs);
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 wxRadioButton::wxRadioButton()
 {
 }
@@ -161,13 +159,13 @@ void wxRadioButtonCallback (Widget WXUNUSED(w), XtPointer clientData,
 
     if ( old )
     {
-        wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED,
+        wxCommandEvent event(wxEVT_RADIOBUTTON,
                              old->GetId() );
         event.SetEventObject(old);
         event.SetInt( false );
         old->ProcessCommand(event);
     }
-    wxCommandEvent event2(wxEVT_COMMAND_RADIOBUTTON_SELECTED, item->GetId() );
+    wxCommandEvent event2(wxEVT_RADIOBUTTON, item->GetId() );
     event2.SetEventObject(item);
     event2.SetInt( true );
     item->ProcessCommand(event2);