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

@@ -648,16 +648,6 @@ int wxRadioBox::GetCount() const
return m_boxes.GetCount();
}
int wxRadioBox::GetNumberOfRowsOrCols() const
{
return 1;
}
void wxRadioBox::SetNumberOfRowsOrCols( int WXUNUSED(n) )
{
wxFAIL_MSG(wxT("wxRadioBox::SetNumberOfRowsOrCols not implemented."));
}
void wxRadioBox::GtkDisableEvents()
{
wxList::compatibility_iterator node = m_boxes.GetFirst();