]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_bitmap.i
Add wx.menuBar.UpdateMenus
[wxWidgets.git] / wxPython / src / _bitmap.i
index bd0600d824ed4b9e2ba683e7b831e6b7e9e9b669..93fa2a2b9320fe80e44cdccd0f6f4748cffb4371 100644 (file)
@@ -150,8 +150,8 @@ bit depths, the behaviour is platform dependent.", "");
         
         %RenameCtor(BitmapFromBits, 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);
         }