]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/wizard_wrap.cpp
Widen the hash key for win64
[wxWidgets.git] / wxPython / src / gtk / wizard_wrap.cpp
index f0dc9c897e699547a237db7caaf3e14ff9c47f72..4b978fa1790309f2b61a2001529f826a039fdc7b 100644 (file)
@@ -1037,7 +1037,8 @@ SWIG_Python_TypeError(const char *type, PyObject *obj)
          PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
                       type, otype);
        }
-       Py_DECREF(str);
+       if (str)
+          Py_DECREF(str);
        return;
       }
     }   
@@ -3350,7 +3351,7 @@ static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObj
         if (PyErr_Occurred()) SWIG_fail;
     }
     {
-        resultobj = wxPyMake_wxSizer(result, 0); 
+        resultobj = wxPyMake_wxObject(result, 0); 
     }
     return resultobj;
     fail: