]> git.saurik.com Git - wxWidgets.git/commitdiff
SetStringSelection and etc. fixes
authorRobin Dunn <robin@alldunn.com>
Mon, 26 Apr 2004 22:26:39 +0000 (22:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 26 Apr 2004 22:26:39 +0000 (22:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_choice.i
wxPython/src/_combobox.i

index a0472e1d96eb12654ff332848aac560902e395cd..a4b46b980e299841b5a79e806963a7ef404cc005 100644 (file)
@@ -82,7 +82,7 @@ public:
         "Select the n'th item (zero based) in the list.");
     
     DocDeclStr(
-        void , SetStringSelection(const wxString& string),
+        bool , SetStringSelection(const wxString& string),
         "Select the item with the specifed string");
     
     DocDeclStr(
index 961a9554df30b0b2e3b68cb3bd6021f68cdcc5d6..ac81948f495a011925349660c095f945a0ad9c57 100644 (file)
@@ -138,10 +138,21 @@ public:
     
     DocDeclStr(
         void , SetSelection(int n),
-        "Selects the text between the two positions, in the combobox text field.");
+        "Sets the item at index 'n' to be the selected item.");
     
-    %name(SetMark) virtual void SetSelection(long from, long to);
+    DocDeclStrName(
+        virtual void , SetSelection(long from, long to),
+        "Selects the text between the two positions in the combobox text field."
+        SetMark);    
 
+    DocDeclStr(
+        bool , SetStringSelection(const wxString& string),
+        "Select the item with the specifed string");
+    
+    DocDeclStr(
+        void , SetString(int n, const wxString& string),
+        "Set the label for the n'th item (zero based) in the list.");
+    
     DocDeclStr(
         virtual void , SetEditable(bool editable),
         "");