(WPARAM)font.GetResourceHandle(), 0L);
}
- m_subControls.Append((wxObject *)(WXWORD)newId);
+ m_subControls.Append((wxObject *)(WXDWORD)(WXWORD)newId);
}
// Create a dummy radio control to end the group.
{
wxCommandEvent event(wxEVT_COMMAND_RADIOBOX_SELECTED, m_windowId);
event.SetInt( m_selectedButton );
+ event.SetString( GetString(m_selectedButton) );
event.SetEventObject( this );
ProcessCommand(event);
}