]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _misc_wrap.cpp
index d1490080b429a5f341524d341c8861e4362e48a9..ec040c50deb7f94a873e7c7464d3728f914e5edb 100644 (file)
@@ -1772,6 +1772,9 @@ PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
 
 #include <wx/stdpaths.h>
 
+wxStandardPaths *StandardPaths_Get(){
+            return (wxStandardPaths*) &wxStandardPaths::Get();
+        }
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -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;