X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fotk_wrap.cc;h=0b7ee3ac5af5481f5a570d4bac232f56ac54c0b7;hb=a6f5b33ad90637705af9717c978bf895455c71ba;hp=8b072b3082aaa08da50dc0e89c70fad2f8491ca1;hpb=c33ccf60cba94249b4a4d1e1832aa0ea0e28a22c;p=chaz%2Fopenbox diff --git a/otk/otk_wrap.cc b/otk/otk_wrap.cc index 8b072b30..0b7ee3ac 100644 --- a/otk/otk_wrap.cc +++ b/otk/otk_wrap.cc @@ -1862,7 +1862,7 @@ static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) { int arg3 = (int) otk::OtkWidget::Horizontal ; Cursor arg4 = (Cursor) 0 ; int arg5 = (int) 1 ; - unsigned long arg6 = (unsigned long) 0 ; + bool arg6 = (bool) false ; otk::OtkWidget *result; Cursor *argp4 ; PyObject * obj0 = 0 ; @@ -1878,7 +1878,7 @@ static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) { arg4 = *argp4; } if (obj5) { - arg6 = (unsigned long) PyInt_AsLong(obj5); + arg6 = (bool) PyInt_AsLong(obj5); if (PyErr_Occurred()) SWIG_fail; } result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);