]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/misc.cpp
Added #include "wx/bitmap.h"
[wxWidgets.git] / utils / wxPython / src / gtk / misc.cpp
index 6c6d23d34777e3cdd246925ac36740167128a5cd..4b47a57eb9006f4447deb9ffb9192ec8215371ee 100644 (file)
@@ -431,7 +431,7 @@ static PyObject *_wrap_wxNow(PyObject *self, PyObject *args, PyObject *kwargs) {
 
     wxPy_END_ALLOW_THREADS;
 }{
-    _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
+    _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
 }
 {
     delete _result;
@@ -639,7 +639,7 @@ static PyObject *_wrap_wxStripMenuCodes(PyObject *self, PyObject *args, PyObject
 
     wxPy_END_ALLOW_THREADS;
 }{
-    _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
+    _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
 }
 {
     if (_obj0)
@@ -4248,7 +4248,7 @@ static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args, Py
     int  _arg0;
     wxAcceleratorEntry * _arg1;
     PyObject * _obj1 = 0;
-    char *_kwnames[] = { "LIST", NULL };
+    char *_kwnames[] = { "choices", NULL };
     char _ptemp[128];
 
     self = self;