X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b020ec774b920b0e5d72f100456ebb8779d78b8..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_datetime.i diff --git a/wxPython/src/_datetime.i b/wxPython/src/_datetime.i index 9441f8ee1e..4bba1d2124 100644 --- a/wxPython/src/_datetime.i +++ b/wxPython/src/_datetime.i @@ -372,7 +372,7 @@ public: wxString am; wxString pm; wxDateTime::GetAmPmStrings(&am, &pm); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); PyTuple_SET_ITEM(tup, 0, wx2PyString(am)); PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));