X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5acb46e0cde04773273611029a3b439d74c67bec..26ee65c723cf55822c540506f064ec11d9b26858:/wxPython/src/_misc.i diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index 2330298d19..ccf9aa10c0 100644 --- a/wxPython/src/_misc.i +++ b/wxPython/src/_misc.i @@ -54,7 +54,7 @@ public: ~wxCaret(); %extend { - %pythonAppend Destroy "args[0].thisown = 0" + %pythonPrepend Destroy "args[0].this.own(False)" DocStr(Destroy, "Deletes the C++ object this Python object is a proxy for.", ""); void Destroy() { @@ -124,7 +124,7 @@ MustHaveApp(wxBusyInfo); class wxBusyInfo : public wxObject { public: - wxBusyInfo(const wxString& message); + wxBusyInfo(const wxString& message, wxWindow *parent = NULL); ~wxBusyInfo(); %pythoncode { def Destroy(self): pass } @@ -140,7 +140,8 @@ class wxStopWatch public: // ctor starts the stop watch wxStopWatch(); - + ~wxStopWatch(); + // start the stop watch at the moment t0 void Start(long t0 = 0);