added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
already have RADIOBTN) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1217,14 +1217,14 @@ void wxWindowBase::UpdateWindowUI()
|
||||
}
|
||||
#endif // wxUSE_CHECKBOX
|
||||
|
||||
#if wxUSE_RADIOBUTTON
|
||||
#if wxUSE_RADIOBTN
|
||||
wxRadioButton *radiobtn = wxDynamicCast(this, wxRadioButton);
|
||||
if ( radiobtn )
|
||||
{
|
||||
if ( event.GetSetChecked() )
|
||||
radiobtn->SetValue(event.GetChecked());
|
||||
}
|
||||
#endif // wxUSE_RADIOBUTTON
|
||||
#endif // wxUSE_RADIOBTN
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user