]> git.saurik.com Git - wxWidgets.git/commitdiff
added GetSelection for wxMSW.
authorRobin Dunn <robin@alldunn.com>
Wed, 24 Nov 2004 19:15:52 +0000 (19:15 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 24 Nov 2004 19:15:52 +0000 (19:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_combobox.i

index 34d77ecea332c38e0fd1a52b7240351ea6568d4b..6e955724add0aeb4d23559b8ab75db7cd87f917f 100644 (file)
@@ -155,6 +155,15 @@ combobox text field.", "");
         "Selects the text between the two positions in the combobox text field.", "",
         SetMark);    
 
+#ifdef __WXMSW__
+    DocDeclAStrName(
+        virtual void , GetSelection(long* OUTPUT, long* OUTPUT),
+        "GetMark(self) -> (from, to)",
+        "Gets the positions of the begining and ending of the selection mark in
+the combobox text field.", "",
+        GetMark);
+#endif
+
     DocDeclStr(
         bool , SetStringSelection(const wxString& string),
         "Select the item with the specifed string", "");