improve selection (base class handles this better already)

This commit is contained in:
Sean D'Epagnier 2016-08-26 13:09:22 -04:00 committed by Vadim Zeitlin
parent 1cb7120ac9
commit 65af28271e
2 changed files with 0 additions and 6 deletions

View File

@ -56,7 +56,6 @@ public:
virtual wxString GetString(unsigned int n) const;
virtual void SetString(unsigned int n, const wxString& s);
virtual void SetSelection(int n);
virtual int GetSelection() const;
virtual QWidget *GetHandle() const;

View File

@ -158,11 +158,6 @@ void wxListBox::SetString(unsigned int n, const wxString& WXUNUSED(s))
}
}
void wxListBox::SetSelection(int n)
{
return m_qtListWidget->setCurrentRow(n);
}
int wxListBox::GetSelection() const
{
return m_qtListWidget->currentIndex().row();