X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be8098689121d2352751c51005c133797d77ecea..a84ece11fffdde5d1bbd254ba58ac3cee79c2e77:/docs/latex/wx/conditn.tex diff --git a/docs/latex/wx/conditn.tex b/docs/latex/wx/conditn.tex index bb71a7e7d7..44ba439509 100644 --- a/docs/latex/wx/conditn.tex +++ b/docs/latex/wx/conditn.tex @@ -53,7 +53,7 @@ private: int main() { wxMutex mutex; - wxCondition condition(&mutex); + wxCondition condition(mutex); for ( int i = 0; i < 10; i++ ) { @@ -90,9 +90,10 @@ None. \membersection{wxCondition::wxCondition}\label{wxconditionconstr} -\func{}{wxCondition}{\param{wxMutex }{*mutex}} +\func{}{wxCondition}{\param{wxMutex\& }{mutex}} -Default and only constructor. The {\it mutex} must be non {\tt NULL}. +Default and only constructor. The {\it mutex} must be locked by the caller +before calling \helpref{Wait}{wxconditionwait} function. \membersection{wxCondition::\destruct{wxCondition}}