]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/ctrlsub.h
Mention that wxSizer::Clear() always deletes child sizers.
[wxWidgets.git] / interface / wx / ctrlsub.h
index f03910178252df5a10f3ca8abae54a83aa98ceab..728cba07d5dc849db0daa0688e389cda5186e0e3 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        ctrlsub.h
 // Purpose:     interface of wxControlWithItems
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -123,12 +122,17 @@ public:
     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.
     */