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

@@ -86,6 +86,8 @@ public:
bool GiveFeedback(wxDragResult effect);
%MAKE_BASE_FUNC(DropSource, GiveFeedback);
%property(DataObject, GetDataObject, SetData, doc="See `GetDataObject` and `SetData`");
};
@@ -176,6 +178,10 @@ public:
// returns default action for drag and drop or
// wxDragNone if this not specified
wxDragResult GetDefaultAction();
%property(Data, GetData, doc="See `GetData`");
%property(DataObject, GetDataObject, SetDataObject, doc="See `GetDataObject` and `SetDataObject`");
%property(DefaultAction, GetDefaultAction, SetDefaultAction, doc="See `GetDefaultAction` and `SetDefaultAction`");
};