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
This commit is contained in:
Vadim Zeitlin 2003-06-11 11:47:09 +00:00
parent be46555538
commit 43e319a307
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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()