]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobut.cpp
Added chapter on collection and container classes to contents
[wxWidgets.git] / src / msw / radiobut.cpp
index 6a10d9168dafe6a4ca3c7d8fa1402752c1dcbc06..a9a7705f6011ac1c4c4f23783c61941047a1e4e6 100644 (file)
@@ -39,6 +39,7 @@ bool wxRadioButton::MSWCommand(WXUINT param, WXWORD id)
   {
     wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId);
     event.SetEventObject( this );
+    event.SetInt( GetValue() );
     ProcessCommand(event);
     return TRUE;
   }