From 43e319a3078fffa2e361501ed2f7d04473827f12 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Jun 2003 11:47:09 +0000 Subject: [PATCH] removed countItems parameter from ctor -- doesn't work anyhow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/htmllbox.h | 6 ++---- src/generic/htmllbox.cpp | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/wx/htmllbox.h b/include/wx/htmllbox.h index 1b77758faf..cd95ee26e9 100644 --- a/include/wx/htmllbox.h +++ b/include/wx/htmllbox.h @@ -36,26 +36,24 @@ public: wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - size_t countItems = 0, long style = 0, const wxString& name = wxVListBoxNameStr) { Init(); - (void)Create(parent, id, pos, size, countItems, style, name); + (void)Create(parent, id, pos, size, style, name); } // really creates the control and sets the initial number of items in it // (which may be changed later with SetItemCount()) // - // there are no special styles defined for wxVListBox + // the only special style which may be specified here is wxLB_MULTIPLE // // returns true on success or false if the control couldn't be created bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - size_t countItems = 0, long style = 0, const wxString& name = wxVListBoxNameStr); diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 812e663dd7..8f0ac4ab7e 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -143,11 +143,10 @@ bool wxHtmlListBox::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, - size_t countItems, long style, const wxString& name) { - return wxVListBox::Create(parent, id, pos, size, countItems, style, name); + return wxVListBox::Create(parent, id, pos, size, style, name); } wxHtmlListBox::~wxHtmlListBox() -- 2.47.2