]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
index 4e6f06146c2819771037146d58516b161b7ca1fc..4a05d7293efce805c0a7ab587ed490bd28156a35 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
@@ -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;