1. derived wxMSW radio box from static box because it includes the box anyhow
2. changed it to use wxSubwindows to cut down code duplication 3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither MSW nor GTK (this is the only change in GTK code) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,5 +134,15 @@ int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const
|
||||
return item;
|
||||
}
|
||||
|
||||
// these functions are deprecated and don't do anything
|
||||
int wxRadioBoxBase::GetNumberOfRowsOrCols() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n))
|
||||
{
|
||||
}
|
||||
|
||||
#endif // wxUSE_RADIOBOX
|
||||
|
||||
|
Reference in New Issue
Block a user