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:
Julian Smart
2006-10-23 07:06:11 +00:00
parent ab9f9e7136
commit d54b227fdf

View File

@@ -242,13 +242,13 @@ public:
long style = wxHLB_DEFAULT_STYLE,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxSimpleHtmlListBoxNameStr);
virtual ~wxSimpleHtmlListBox();
// these must be overloaded otherwise the compiler will complain
// about wxItemContainerImmutable::[G|S]etSelection being pure virtuals...
void SetSelection(int n)
{ return wxVListBox::SetSelection(n); }
{ wxVListBox::SetSelection(n); }
int GetSelection() const
{ return wxVListBox::GetSelection(); }
@@ -306,9 +306,9 @@ protected:
// overload these functions just to change their visibility: users of
// wxSimpleHtmlListBox shouldn't be allowed to call them directly!
virtual void SetItemCount(size_t count)
{ return wxHtmlListBox::SetItemCount(count); }
{ wxHtmlListBox::SetItemCount(count); }
virtual void SetLineCount(size_t count)
{ return wxHtmlListBox::SetLineCount(count); }
{ wxHtmlListBox::SetLineCount(count); }
virtual wxString OnGetItem(size_t n) const
{ return m_items[n]; }