]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_image.i
When drawing a solid page background, don't use theme painting
[wxWidgets.git] / wxPython / src / _image.i
index e58431f96d923892c477eca661272aa3e43abc77..658da260035a92cb50ca983f601c29cddbfd83da 100644 (file)
@@ -306,7 +306,7 @@ The method will then fill up the whole image with the colour given.", "");
             unsigned char* buffer;
             int size;
 
-            bool blocked = wxPyBeginBlockThreads();
+            wxPyBlock_t blocked = wxPyBeginBlockThreads();
             if (!PyArg_Parse(data, "t#", &buffer, &size))
                 goto done;
 
@@ -360,7 +360,7 @@ The method will then fill up the whole image with the colour given.", "");
             unsigned char* buffer;
             int size;
 
-            bool blocked = wxPyBeginBlockThreads();
+            wxPyBlock_t blocked = wxPyBeginBlockThreads();
             if (!PyArg_Parse(data, "t#", &buffer, &size))
                 goto done;