X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/070c48b4c06ca072a1bceb106b55487b438df8da..c220a8ec4fcb4e7b620e88c76b0a84be4554b28b:/wxPython/src/mac/_misc_wrap.cpp diff --git a/wxPython/src/mac/_misc_wrap.cpp b/wxPython/src/mac/_misc_wrap.cpp index 4e6f06146c..d686bbd0c9 100644 --- a/wxPython/src/mac/_misc_wrap.cpp +++ b/wxPython/src/mac/_misc_wrap.cpp @@ -1763,6 +1763,9 @@ PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){ #include +wxStandardPaths *StandardPaths_Get(){ + return (wxStandardPaths*) &wxStandardPaths::Get(); + } void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){} wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; } #ifdef __cplusplus @@ -9548,7 +9551,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: @@ -9581,7 +9584,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: @@ -28603,10 +28606,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;