Add missing semicolons to the example in wxThread documentation.
wxDEFINE_EVENT() needs a semicolon after it. Closes #16026. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
779af88f43
commit
37c6e7834c
@ -336,7 +336,7 @@ public:
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
wxDEFINE_EVENT(myEVT_THREAD_UPDATE, wxThreadEvent)
|
||||
wxDEFINE_EVENT(myEVT_THREAD_UPDATE, wxThreadEvent);
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_THREAD(wxID_ANY, myEVT_THREAD_UPDATE, MyFrame::OnThreadUpdate)
|
||||
EVT_CLOSE(MyFrame::OnClose)
|
||||
@ -791,8 +791,8 @@ enum wxThreadError
|
||||
EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_MYTHREAD_COMPLETED, MyFrame::OnThreadCompletion)
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
wxDEFINE_EVENT(wxEVT_COMMAND_MYTHREAD_COMPLETED, wxThreadEvent)
|
||||
wxDEFINE_EVENT(wxEVT_COMMAND_MYTHREAD_UPDATE, wxThreadEvent)
|
||||
wxDEFINE_EVENT(wxEVT_COMMAND_MYTHREAD_COMPLETED, wxThreadEvent);
|
||||
wxDEFINE_EVENT(wxEVT_COMMAND_MYTHREAD_UPDATE, wxThreadEvent);
|
||||
|
||||
void MyFrame::DoStartThread()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user