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
This commit is contained in:
@@ -442,7 +442,7 @@ public:
|
|||||||
void FunctionInAWorkerThread(const wxString& str)
|
void FunctionInAWorkerThread(const wxString& str)
|
||||||
{
|
{
|
||||||
wxThreadEvent evt;
|
wxThreadEvent evt;
|
||||||
evt->SetString(str);
|
evt.SetString(str);
|
||||||
|
|
||||||
// wxThreadEvent::Clone() makes sure that the internal wxString
|
// wxThreadEvent::Clone() makes sure that the internal wxString
|
||||||
// member is not shared by other wxString instances:
|
// member is not shared by other wxString instances:
|
||||||
|
Reference in New Issue
Block a user