]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_pen.i
Added autoconf makefiles for FoldBar extended samples
[wxWidgets.git] / wxPython / src / _pen.i
index 860f18c9870dee1df7350b884fc5d61aaaa3dd26..e0fca1cb17ca0907d1ff6b6cc25cb7cd3ac1a8d1 100644 (file)
@@ -56,7 +56,7 @@ public:
         PyObject* GetDashes() {
             wxDash* dashes;
             int count = self->GetDashes(&dashes);
-            bool blocked = wxPyBeginBlockThreads();
+            wxPyBlock_t blocked = wxPyBeginBlockThreads();
             PyObject* retval = PyList_New(0);
             for (int x=0; x<count; x++) {
                 PyObject* pyint = PyInt_FromLong(dashes[x]);
@@ -68,7 +68,7 @@ public:
         }
 
         void _SetDashes(PyObject* _self, PyObject* pyDashes) {
-            bool blocked = wxPyBeginBlockThreads();
+            wxPyBlock_t blocked = wxPyBeginBlockThreads();
             int size = PyList_Size(pyDashes);
             wxDash* dashes = (wxDash*)byte_LIST_helper(pyDashes);