X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b6a582bef796b43ad4cf0a96bd40bfd631460c6..5bf3b6fe48580853044132c381d3548535ca7ad1:/src/unix/threadpsx.cpp diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 9e8e6d1165..2775f9576e 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -720,7 +720,7 @@ public: wxThreadState GetState() const { return m_state; } void SetState(wxThreadState state) { -#ifdef __WXDEBUG__ +#if wxUSE_LOG_TRACE static const wxChar *stateNames[] = { _T("NEW"), @@ -731,7 +731,7 @@ public: wxLogTrace(TRACE_THREADS, _T("Thread %p: %s => %s."), GetId(), stateNames[m_state], stateNames[state]); -#endif // __WXDEBUG__ +#endif // wxUSE_LOG_TRACE m_state = state; }