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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user