]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_listctrl.i
Added autoconf makefiles for FoldBar extended samples
[wxWidgets.git] / wxPython / src / _listctrl.i
index 861e1036215f59b9bb87815ad6e4fa790eaac37d..1505e755f973649a8e6bed99ca68876dd8cf4df3 100644 (file)
@@ -345,7 +345,7 @@ EVT_LIST_SET_INFO = wx._deprecated(EVT_LIST_SET_INFO)
     static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
         int retval = 0;
         PyObject* func = (PyObject*)funcPtr;
-        bool blocked = wxPyBeginBlockThreads();
+        wxPyBlock_t blocked = wxPyBeginBlockThreads();
 
         PyObject* args = Py_BuildValue("(ii)", item1, item2);
         PyObject* result = PyEval_CallObject(func, args);