]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed return values
authorJulian Smart <julian@anthemion.co.uk>
Mon, 23 Oct 2006 07:06:11 +0000 (07:06 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 23 Oct 2006 07:06:11 +0000 (07:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/htmllbox.h

index 9e5a4b44b7a58aaf9c666f67eec620d54ba5a2ef..f53d89a40ccafe7972b1d465f586279f6308b0df 100644 (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]; }