Removed an #ifndef __WXGTK__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1116,14 +1116,11 @@ void wxWindowBase::UpdateWindowUI()
|
|||||||
if ( event.GetSetChecked() )
|
if ( event.GetSetChecked() )
|
||||||
((wxCheckBox *)this)->SetValue(event.GetChecked());
|
((wxCheckBox *)this)->SetValue(event.GetChecked());
|
||||||
}
|
}
|
||||||
// TODO No radio buttons in wxGTK yet
|
|
||||||
#ifndef __WXGTK__
|
|
||||||
else if ( IsKindOf(CLASSINFO(wxRadioButton)) )
|
else if ( IsKindOf(CLASSINFO(wxRadioButton)) )
|
||||||
{
|
{
|
||||||
if ( event.GetSetChecked() )
|
if ( event.GetSetChecked() )
|
||||||
((wxRadioButton *) this)->SetValue(event.GetChecked());
|
((wxRadioButton *) this)->SetValue(event.GetChecked());
|
||||||
}
|
}
|
||||||
#endif // !wxGTK
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user