From 7faa9591f499a5d10f7d3ef7b061c0fe5774c53f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 1 Feb 2002 01:18:46 +0000 Subject: [PATCH] fixed compile bug for when threads are turned off git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/helpers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 6a196331a3..13f93b78c3 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -223,11 +223,13 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args) void __wxCleanup() { wxEntryCleanup(); +#ifdef WXP_WITH_THREAD delete wxPyTMutex; wxPyTMutex = NULL; wxPyTStates->Empty(); delete wxPyTStates; wxPyTStates = NULL; +#endif } -- 2.45.2