X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0adbc1660ee4c4526a9011cb9347cb668c41ec3e..0e980f91092ded629a7b014ff0d2238b1c8940c5:/wxPython/src/controls.i?ds=sidebyside diff --git a/wxPython/src/controls.i b/wxPython/src/controls.i index 7573b5a479..a30e1d7244 100644 --- a/wxPython/src/controls.i +++ b/wxPython/src/controls.i @@ -525,23 +525,26 @@ public: %name(EnableItem)void Enable(int n, bool enable); int FindString(const wxString& string); -//*** wxString GetLabel(); -//*** void SetLabel(const wxString& label); - wxString GetString(int n); + +#ifdef __WXMSW__ void SetString(int n, const wxString& label); %pragma(python) addtoclass = " GetItemLabel = GetString SetItemLabel = SetString " + int GetColumnCount(); + int GetRowCount(); +#else + %name(GetItemLabel)wxString GetLabel( int item ); + %name(SetItemLabel)void SetLabel( int item, const wxString& label ); +#endif + int GetSelection(); wxString GetStringSelection(); int GetCount(); %pragma(python) addtoclass = "Number = GetCount" - int GetColumnCount(); - int GetRowCount(); - void SetSelection(int n); void SetStringSelection(const wxString& string); void Show(bool show);