class wxWindow : public wxEvtHandler
{
public:
- %addtofunc wxWindow "self._setOORInfo(self)"
- %addtofunc wxWindow() ""
+ %pythonAppend wxWindow "self._setOORInfo(self)"
+ %pythonAppend wxWindow() ""
wxWindow(wxWindow* parent, const wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
wxString GetHelpText() const;
-
+#ifndef __WXX11__
// tooltips
// --------
// get the associated tooltip or NULL if none
wxToolTip* GetToolTip() const;
// LINK ERROR --> wxString GetToolTipText() const;
+#endif
-
+
+#ifndef __WXX11__
// drag and drop
// -------------
// 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?
void DragAcceptFiles(bool accept);
#endif
-
+#endif
+
// constraints and sizers
// ----------------------