improve selection (base class handles this better already)
This commit is contained in:
parent
1cb7120ac9
commit
65af28271e
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user