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:
Vadim Zeitlin
2004-12-13 01:00:35 +00:00
parent 6de9d616ca
commit bd0a76e228
8 changed files with 255 additions and 479 deletions

View File

@@ -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