]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc2.i
Increased the message buffer size
[wxWidgets.git] / wxPython / src / misc2.i
index d36e1db32636d38bc93bff460cf322a6a8de0a7d..5e080982f0def9c7df05324a640b78fd0b6553de 100644 (file)
@@ -468,6 +468,9 @@ IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
 class wxPyTipProvider : public wxTipProvider {
 public:
     wxPyTipProvider(size_t currentTip);
+
+    void _setCallbackInfo(PyObject* self, PyObject* _class);
+    %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyTipProvider)"
 };
 
 
@@ -848,7 +851,7 @@ public:
     // on error NULL is returned, in any case the process object will be
     // deleted automatically when the process terminates and should *not* be
     // deleted by the caller
-    static wxPyProcess *Open(const wxString& cmd);
+    static wxPyProcess *Open(const wxString& cmd, int flags = wxEXEC_ASYNC);