Use wx-prefixed macros throughout the repository.
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE occurrences to use the wx-prefixed version of the macros.
This commit is contained in:
@@ -121,7 +121,7 @@ private:
|
||||
wxTimer mTimer;
|
||||
};
|
||||
|
||||
DECLARE_APP(Client);
|
||||
wxDECLARE_APP(Client);
|
||||
|
||||
class ThreadWorker : public wxThread
|
||||
{
|
||||
@@ -164,7 +164,7 @@ private:
|
||||
};
|
||||
|
||||
/******************* Implementation ******************/
|
||||
IMPLEMENT_APP_CONSOLE(Client);
|
||||
wxIMPLEMENT_APP_CONSOLE(Client);
|
||||
|
||||
#include <wx/listimpl.cpp>
|
||||
WX_DEFINE_LIST(TList);
|
||||
|
@@ -146,7 +146,7 @@ private:
|
||||
wxTimer mTimer;
|
||||
};
|
||||
|
||||
DECLARE_APP(Server);
|
||||
wxDECLARE_APP(Server);
|
||||
|
||||
// just some common things shared between ThreadWorker and EventWorker
|
||||
class WorkerBase
|
||||
@@ -201,7 +201,7 @@ private:
|
||||
};
|
||||
|
||||
/******************* Implementation ******************/
|
||||
IMPLEMENT_APP_CONSOLE(Server)
|
||||
wxIMPLEMENT_APP_CONSOLE(Server);
|
||||
|
||||
#include <wx/listimpl.cpp>
|
||||
WX_DEFINE_LIST(TList);
|
||||
|
@@ -171,7 +171,7 @@ wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_SOCKET(SOCKET_ID, MyFrame::OnSocketEvent)
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
// ==========================================================================
|
||||
// implementation
|
||||
|
@@ -142,7 +142,7 @@ wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_SOCKET(SOCKET_ID, MyFrame::OnSocketEvent)
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
|
||||
// ==========================================================================
|
||||
|
Reference in New Issue
Block a user