From f743e9389e837a57f010270e350b4ab3a14d45ed Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 6 Aug 2000 16:18:53 +0000 Subject: [PATCH] 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 --- src/msw/radiobut.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index 6a10d9168d..a9a7705f60 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -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; }