reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-05 03:23:50 +00:00
parent 80b08b7f31
commit 0ef86618c5
9 changed files with 828 additions and 918 deletions

View File

@@ -2902,8 +2902,8 @@ SWIGINTERN wxBitmap *new_wxBitmap(PyObject *listOfStrings){
return bmp;
}
SWIGINTERN wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth=1){
char* buf;
int length;
char* buf;
Py_ssize_t length;
PyString_AsStringAndSize(bits, &buf, &length);
return new wxBitmap(buf, width, height, depth);
}