Applied patch [ 846809 ] Cleaning of 11 samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -384,10 +384,12 @@ void RadioWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
|
||||
void RadioWidgetsPage::OnRadioBox(wxCommandEvent& event)
|
||||
{
|
||||
int sel = m_radio->GetSelection();
|
||||
int event_sel = event.GetSelection();
|
||||
wxUnusedVar(event_sel);
|
||||
|
||||
wxLogMessage(_T("Radiobox selection changed, now %d"), sel);
|
||||
|
||||
wxASSERT_MSG( sel == event.GetSelection(),
|
||||
wxASSERT_MSG( sel == event_sel,
|
||||
_T("selection should be the same in event and radiobox") );
|
||||
|
||||
m_textCurSel->SetValue(wxString::Format(_T("%d"), sel));
|
||||
|
Reference in New Issue
Block a user