The MSW radiobutton now informs about its state in the

event (m_int) as wxGTK did. Changed blindly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-08-06 16:18:53 +00:00
parent 037759a02e
commit f743e9389e

View 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;
}