Fix inserting multiple items to wxRearrangeList
In wxRearrangeList implementations (like wxMSW) where DoInsertItemsInLoop() and DoInsertOneItem() are not used to insert multiple items, DoInsertItems() has to be overriden to do this insertion. See #17836.
This commit is contained in:
@@ -100,6 +100,8 @@ public:
|
||||
virtual void Check(unsigned int item, bool check = true) wxOVERRIDE;
|
||||
|
||||
int DoInsertOneItem(const wxString& item, unsigned int pos) wxOVERRIDE;
|
||||
int DoInsertItems(const wxArrayStringsAdapter& items, unsigned int pos,
|
||||
void **clientData, wxClientDataType type) wxOVERRIDE;
|
||||
void DoDeleteOneItem(unsigned int n) wxOVERRIDE;
|
||||
void DoClear() wxOVERRIDE;
|
||||
|
||||
|
Reference in New Issue
Block a user