virtual int GetSelection() const = 0;
/**
- Selects the item with the specified string in the control. This doesn't
- cause any command events to be emitted.
+ Selects the item with the specified string in the control.
+
+ This method doesn't cause any command events to be emitted.
+
+ Notice that this method is case-insensitive, i.e. the string is
+ compared with all the elements of the control case-insensitively and
+ the first matching entry is selected, even if it doesn't have exactly
+ the same case as this string and there is an exact match afterwards.
@param string
The string to select.
-
@return @true if the specified string has been selected, @false if it
wasn't found in the control.
*/
Array of strings to insert.
@param pos
Position to insert the items before, zero based.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(const wxArrayString& items, unsigned int pos);
@param clientData
Array of client data pointers of the same size as @a items to
associate with the new items.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(const wxArrayString& items, unsigned int pos,
void **clientData);
@param clientData
Array of client data pointers of the same size as @a items to
associate with the new items.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(const wxArrayString& items, unsigned int pos,
wxClientData **clientData);
Array of strings of size @a n.
@param pos
Position to insert the items before, zero based.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(unsigned int n, const wxString* items,
unsigned int pos);
@param clientData
Array of client data pointers of size @a n to associate with the
new items.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(unsigned int n, const wxString* items,
unsigned int pos,
@param clientData
Array of client data pointers of size @a n to associate with the
new items.
+ @return The return value is the index of the last inserted item.
+ If the insertion failed for some reason, -1 is returned.
*/
int Insert(unsigned int n, const wxString* items,
unsigned int pos,