]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_datetime.i
add default action methods
[wxWidgets.git] / wxPython / src / _datetime.i
index 9441f8ee1e782903d80c182e00f9617c3603557e..4bba1d2124c447e3a3d8a82beec2960906cc7527 100644 (file)
@@ -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));