X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_choice.i 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); };