X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/_choice.i?ds=sidebyside diff --git a/wxPython/src/_choice.i b/wxPython/src/_choice.i index 37492a18d6..a071e49e9c 100644 --- a/wxPython/src/_choice.i +++ b/wxPython/src/_choice.i @@ -34,6 +34,8 @@ Events "); +MustHaveApp(wxChoice); + class wxChoice : public wxControlWithItems { public: @@ -73,26 +75,6 @@ public: "Actually create the GUI Choice control for 2-phase creation", ""); -// // These are only meaningful on wxMotif... -// int GetColumns(); -// void SetColumns(const int n = 1); - - - DocDeclStr( - void , SetSelection(const int n), - "Select the n'th item (zero based) in the list.", ""); - - 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.", ""); - - - %pythoncode { Select = SetSelection } - static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); };