radiobox event now contains the string too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -700,6 +700,7 @@ void wxRadioBox::SendNotificationEvent()
|
|||||||
{
|
{
|
||||||
wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, m_windowId);
|
wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, m_windowId);
|
||||||
event.SetInt( m_selectedButton );
|
event.SetInt( m_selectedButton );
|
||||||
|
event.SetString( GetString(m_selectedButton) );
|
||||||
event.SetEventObject( this );
|
event.SetEventObject( this );
|
||||||
ProcessCommand(event);
|
ProcessCommand(event);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user