]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc_wrap.cpp
wxPageSetupDialog no longer derives from wxDialog
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
index 4e6f06146c2819771037146d58516b161b7ca1fc..d686bbd0c97c9ebd0ced4beb8e1c7ef259419a6a 100644 (file)
@@ -1763,6 +1763,9 @@ PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
 
 #include <wx/stdpaths.h>
 
+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;