Remove unuseable wxListBase ctor

It calls Append(void*), which calls the pure virtual CreateNode(), which will
crash, as the required override can't be called from the base class ctor.
This commit is contained in:
Paul Cornett
2019-02-17 18:19:16 -08:00
parent c41ff4e694
commit ad59df7355
2 changed files with 0 additions and 14 deletions

View File

@@ -498,8 +498,6 @@ protected:
// ctors
// from an array
wxListBase(size_t count, void *elements[]);
// from a sequence of objects
wxListBase(void *object, ... /* terminate with NULL */);
@@ -688,8 +686,6 @@ private:
{ } \
name(const name& list) : wxListBase(list.GetKeyType()) \
{ Assign(list); } \
name(size_t count, T *elements[]) \
: wxListBase(count, (void **)elements) { } \
\
name& operator=(const name& list) \
{ if (&list != this) Assign(list); return *this; } \