]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_gdi_wrap.cpp
Added the PseudoDC class from Paul Lanier. It provides a way to
[wxWidgets.git] / wxPython / src / msw / _gdi_wrap.cpp
index adb6eba7293aac4258013b87bb85a0c018e5cba1..5accca24e51dd953748ce104dbb3f37e0f192841 100644 (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);
         }