X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b6e4ff1158db0335206579b149674eae54a5ac..2461cfa0d9b786a26a783237bca38c920efecb51:/wxPython/src/gtk/_misc_wrap.cpp?ds=sidebyside diff --git a/wxPython/src/gtk/_misc_wrap.cpp b/wxPython/src/gtk/_misc_wrap.cpp index d1490080b4..8f0bcb5628 100644 --- a/wxPython/src/gtk/_misc_wrap.cpp +++ b/wxPython/src/gtk/_misc_wrap.cpp @@ -1772,6 +1772,9 @@ PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){ #include +wxStandardPaths *StandardPaths_Get(){ + return (wxStandardPaths*) &wxStandardPaths::Get(); + } #ifdef __cplusplus extern "C" { #endif @@ -9555,7 +9558,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObje if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0); } return resultobj; fail: @@ -9588,7 +9591,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObje if (result) { _ptr = new wxPyInputStream(result); } - resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true); + resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0); } return resultobj; fail: @@ -28546,10 +28549,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - { - wxStandardPaths &_result_ref = wxStandardPaths::Get(); - result = (wxStandardPaths *) &_result_ref; - } + result = (wxStandardPaths *)StandardPaths_Get(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail;