X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7af285d1ab87e908454bfabbbe063ab1756912b..3b96ea1ac54b735c3a018980cd2ac652c30aa129:/docs/latex/wx/conditn.tex?ds=sidebyside diff --git a/docs/latex/wx/conditn.tex b/docs/latex/wx/conditn.tex index cf3a6df608..84510e7ee4 100644 --- a/docs/latex/wx/conditn.tex +++ b/docs/latex/wx/conditn.tex @@ -44,8 +44,8 @@ public: // tell the other(s) thread(s) that we're about to terminate: we must // lock the mutex first or we might signal the condition before the // waiting threads start waiting on it! - wxMutexLocker lock(m_mutex); - m_condition.Broadcast(); // same as Signal() here -- one waiter only + wxMutexLocker lock(*m_mutex); + m_condition->Broadcast(); // same as Signal() here -- one waiter only return 0; }