Use the DISOWN typemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -683,8 +683,10 @@ public:
|
||||
|
||||
// set/retrieve the drop target associated with this window (may be
|
||||
// NULL; it's owned by the window and will be deleted by it)
|
||||
%addtofunc SetDropTarget "args[1].thisown = 0"
|
||||
%apply SWIGTYPE *DISOWN { wxPyDropTarget *dropTarget };
|
||||
virtual void SetDropTarget( wxPyDropTarget *dropTarget );
|
||||
%clear wxPyDropTarget *dropTarget;
|
||||
|
||||
virtual wxPyDropTarget *GetDropTarget() const;
|
||||
|
||||
#ifdef __WXMSW__ // TODO: should I drop-kick this?
|
||||
|
Reference in New Issue
Block a user