A fix for when wxPython is compiled with no threads

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-14 18:46:47 +00:00
parent 80f7e6500b
commit 00ca6262d1
3 changed files with 12 additions and 0 deletions

View File

@@ -145,7 +145,11 @@ IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEnc
bool wxThread_IsMain() {
#ifdef WXP_WITH_THREAD
return wxThread::IsMain();
#else
return TRUE;
#endif
}
class wxPyTipProvider : public wxTipProvider {