From 33142e628461898ccc488fa5eb90db26514a258d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 17 Jan 2014 14:32:51 +0000 Subject: [PATCH] Fix syntax error in the QueueEvent() documentation example. Use ".", not "->", on the object. Closes #15881. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/event.h b/interface/wx/event.h index 191fd45884..cb4a6720d1 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -442,7 +442,7 @@ public: void FunctionInAWorkerThread(const wxString& str) { wxThreadEvent evt; - evt->SetString(str); + evt.SetString(str); // wxThreadEvent::Clone() makes sure that the internal wxString // member is not shared by other wxString instances: