Document wxItemContainer::IsSorted()

This method is needed to determine the sorted state of a control derived
from wxItemContainer without knowing the actual derived control class.

Closes #23971.
This commit is contained in:
Martin Corino 2023-10-16 14:52:41 +02:00 committed by Vadim Zeitlin
parent 8f12280af4
commit 5d30f84125

View file

@ -366,6 +366,13 @@ public:
*/ */
void Delete(unsigned int n); void Delete(unsigned int n);
/**
The control may maintain its items in a sorted order in which case
items are automatically inserted at the right position when they are
inserted or appended.
Returns true if the control maintains its items in a sorted order.
*/
bool IsSorted() const;
/** /**
Returns the client object associated with the given item and transfers Returns the client object associated with the given item and transfers