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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user