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:
@@ -36,26 +36,24 @@ public:
|
|||||||
wxWindowID id = wxID_ANY,
|
wxWindowID id = wxID_ANY,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
size_t countItems = 0,
|
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxString& name = wxVListBoxNameStr)
|
const wxString& name = wxVListBoxNameStr)
|
||||||
{
|
{
|
||||||
Init();
|
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
|
// really creates the control and sets the initial number of items in it
|
||||||
// (which may be changed later with SetItemCount())
|
// (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
|
// returns true on success or false if the control couldn't be created
|
||||||
bool Create(wxWindow *parent,
|
bool Create(wxWindow *parent,
|
||||||
wxWindowID id = wxID_ANY,
|
wxWindowID id = wxID_ANY,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
size_t countItems = 0,
|
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxString& name = wxVListBoxNameStr);
|
const wxString& name = wxVListBoxNameStr);
|
||||||
|
|
||||||
|
@@ -143,11 +143,10 @@ bool wxHtmlListBox::Create(wxWindow *parent,
|
|||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint& pos,
|
const wxPoint& pos,
|
||||||
const wxSize& size,
|
const wxSize& size,
|
||||||
size_t countItems,
|
|
||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
return wxVListBox::Create(parent, id, pos, size, countItems, style, name);
|
return wxVListBox::Create(parent, id, pos, size, style, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxHtmlListBox::~wxHtmlListBox()
|
wxHtmlListBox::~wxHtmlListBox()
|
||||||
|
Reference in New Issue
Block a user