]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_misc.i
STC is not a separate library anymore
[wxWidgets.git] / wxPython / src / _misc.i
index 11ca06c834e5857d682668aac722606bb7e65eac..ccf9aa10c0ef6c7aefc711afc118b714fa8eea3b 100644 (file)
@@ -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);
 
@@ -366,9 +367,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;