X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e57ca641bf20456d33c9a885945230ecf17d261..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/thread.h diff --git a/interface/wx/thread.h b/interface/wx/thread.h index 63eb7a1ef6..0854cb5576 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -277,7 +277,7 @@ public: Example: @code - wxDECLARE_EVENT(wxEVT_COMMAND_MYTHREAD_UPDATE, wxThreadEvent); + wxDECLARE_EVENT(myEVT_THREAD_UPDATE, wxThreadEvent); class MyFrame : public wxFrame, public wxThreadHelper { @@ -310,9 +310,9 @@ public: wxDECLARE_EVENT_TABLE(); }; - wxDEFINE_EVENT(wxEVT_COMMAND_MYTHREAD_UPDATE, wxThreadEvent) + wxDEFINE_EVENT(myEVT_THREAD_UPDATE, wxThreadEvent) wxBEGIN_EVENT_TABLE(MyFrame, wxFrame) - EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_MYTHREAD_UPDATE, MyFrame::OnThreadUpdate) + EVT_THREAD(wxID_ANY, myEVT_THREAD_UPDATE, MyFrame::OnThreadUpdate) EVT_CLOSE(MyFrame::OnClose) wxEND_EVENT_TABLE()