From 5713d17ab0eb4f2047fc68d0b2acbae7f8753d8e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 12 Jan 2021 02:30:33 +0100 Subject: [PATCH] Clarify asynchronous nature of wxWebRequest::Cancel() in the docs --- interface/wx/webrequest.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/webrequest.h b/interface/wx/webrequest.h index 7973e1f197..c4b086131d 100644 --- a/interface/wx/webrequest.h +++ b/interface/wx/webrequest.h @@ -196,6 +196,10 @@ public: /** Cancel an active request. + + Note that cancelling is asynchronous, so the application needs to wait + until the request state becomes @c State_Cancelled to know when the + request was really cancelled. */ void Cancel();