From 00dacea7dedd014c800df635fbea7c9b0de158a7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Aug 2015 02:44:41 +0200 Subject: [PATCH] Correct the default value of wxThread::Wait() flags in the documentation. It is wxTHREAD_WAIT_DEFAULT, which can be/still is different from wxTHREAD_WAIT_BLOCK. --- interface/wx/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 5e6b0f29fb..fdeaf4a2da 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -1310,7 +1310,7 @@ public: See @ref thread_deletion for a broader explanation of this routine. */ - ExitCode Wait(wxThreadWait flags = wxTHREAD_WAIT_BLOCK); + ExitCode Wait(wxThreadWait flags = wxTHREAD_WAIT_DEFAULT); /** Give the rest of the thread's time-slice to the system allowing the other