X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/994453b843b007de6367fedbf4a49ac9d920c63c..5f2502393e042e6e2c871ff94b7ccaf7a78b264d:/wxPython/src/_misc.i diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index 11ca06c834..c412e3026f 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() { @@ -366,9 +366,13 @@ public: int GetOSMajorVersion() const; int GetOSMinorVersion() const; + bool CheckOSVersion(int major, int minor) const; + int GetToolkitMajorVersion() const; int GetToolkitMinorVersion() const; + bool CheckToolkitVersion(int major, int minor) const; + bool IsUsingUniversalWidgets() const; wxOperatingSystemId GetOperatingSystemId() const;