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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user