Start adding some properties for getter/setter methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-02 19:46:44 +00:00
parent 5b5d4ef2dd
commit 0eae5d0999
29 changed files with 292 additions and 5 deletions

View File

@@ -200,6 +200,7 @@ public:
void , SetColour(const wxColour& col),
"Set the displayed colour.", "");
%property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`");
};
@@ -216,6 +217,8 @@ public:
wxColour GetColour() const;
void SetColour(const wxColour &c);
%property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`");
};
@@ -331,6 +334,10 @@ public:
// Returns the filtered value currently placed in the text control (if present).
wxString GetTextCtrlValue() const;
%property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`");
%property(TextCtrlValue, GetTextCtrlValue, doc="See `GetTextCtrlValue`");
};