-struct wxPyTState {
- PyThreadState* newState;
- PyThreadState* prevState;
-
- wxPyTState() : newState(NULL), prevState(NULL) {}
-};
-
-
-wxPyTState* wxPyBeginBlockThreads();
-void wxPyEndBlockThreads(wxPyTState* state);
-
-
-//----------------------------------------------------------------------
-// Handle wxInputStreams by Joerg Baumann
-// See stream.i for implementations
-
-// list class for return list of strings, e.g. readlines()
-WX_DECLARE_LIST(wxString, wxStringPtrList);
-
+// if we want to handle threads and Python threads are available...
+#if defined(WXP_USE_THREAD) && defined(WITH_THREAD)
+#define WXP_WITH_THREAD
+#else // no Python threads...
+#undef WXP_WITH_THREAD
+#endif