From d54b227fdff0f0e9750e3ed3f185e6f7f631baf1 Mon Sep 17 00:00:00 2001 From: Julian Smart <julian@anthemion.co.uk> Date: Mon, 23 Oct 2006 07:06:11 +0000 Subject: [PATCH] Fixed return values git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/htmllbox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/htmllbox.h b/include/wx/htmllbox.h index 9e5a4b44b7..f53d89a40c 100644 --- a/include/wx/htmllbox.h +++ b/include/wx/htmllbox.h @@ -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]; } -- 2.47.2