Fixed return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -248,7 +248,7 @@ public:
|
|||||||
// these must be overloaded otherwise the compiler will complain
|
// these must be overloaded otherwise the compiler will complain
|
||||||
// about wxItemContainerImmutable::[G|S]etSelection being pure virtuals...
|
// about wxItemContainerImmutable::[G|S]etSelection being pure virtuals...
|
||||||
void SetSelection(int n)
|
void SetSelection(int n)
|
||||||
{ return wxVListBox::SetSelection(n); }
|
{ wxVListBox::SetSelection(n); }
|
||||||
int GetSelection() const
|
int GetSelection() const
|
||||||
{ return wxVListBox::GetSelection(); }
|
{ return wxVListBox::GetSelection(); }
|
||||||
|
|
||||||
@@ -306,9 +306,9 @@ protected:
|
|||||||
// overload these functions just to change their visibility: users of
|
// overload these functions just to change their visibility: users of
|
||||||
// wxSimpleHtmlListBox shouldn't be allowed to call them directly!
|
// wxSimpleHtmlListBox shouldn't be allowed to call them directly!
|
||||||
virtual void SetItemCount(size_t count)
|
virtual void SetItemCount(size_t count)
|
||||||
{ return wxHtmlListBox::SetItemCount(count); }
|
{ wxHtmlListBox::SetItemCount(count); }
|
||||||
virtual void SetLineCount(size_t count)
|
virtual void SetLineCount(size_t count)
|
||||||
{ return wxHtmlListBox::SetLineCount(count); }
|
{ wxHtmlListBox::SetLineCount(count); }
|
||||||
|
|
||||||
virtual wxString OnGetItem(size_t n) const
|
virtual wxString OnGetItem(size_t n) const
|
||||||
{ return m_items[n]; }
|
{ return m_items[n]; }
|
||||||
|
Reference in New Issue
Block a user