X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab0c98223ac58f973be12b08065da0e2c008530c..b7681018cbe62b5b69943c991aff63e1770b65b9:/wxPython/src/_radio.i diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index abd79bba1e..0294f6cf85 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -86,11 +86,25 @@ public: // get the individual items tooltip; returns NULL if none wxToolTip *GetItemToolTip(unsigned int item) const; - + // set helptext for a particular item, pass an empty string to erase it + void SetItemHelpText(unsigned int n, const wxString& helpText); + + // retrieve helptext for a particular item, empty string means no help text + wxString GetItemHelpText(unsigned int n) const; + +// Hmmm... This is protected on wxMSW. +// virtual int GetItemFromPoint(const wxPoint& pt) const; + // bool IsValid(int n) const; ** not public static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(ColumnCount, GetColumnCount, doc="See `GetColumnCount`"); + %property(Count, GetCount, doc="See `GetCount`"); + %property(RowCount, GetRowCount, doc="See `GetRowCount`"); + %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`"); + %property(StringSelection, GetStringSelection, SetStringSelection, doc="See `GetStringSelection` and `SetStringSelection`"); }; @@ -127,6 +141,8 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); }; //---------------------------------------------------------------------------