]> git.saurik.com Git - wxWidgets.git/commitdiff
removed countItems parameter from ctor -- doesn't work anyhow
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jun 2003 11:47:09 +0000 (11:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jun 2003 11:47:09 +0000 (11:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/htmllbox.h
src/generic/htmllbox.cpp

index 1b77758faf7bef9ea346f8a783bd657c7527925c..cd95ee26e992115650af094c10fedf64bc503be6 100644 (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);
 
index 812e663dd7644db2ea8e4067df05e37e16a436e8..8f0ac4ab7eba9b5c14743ceee3fba3bc595e79fa 100644 (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()