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:
@@ -107,7 +107,7 @@ private:
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_APP_CONSOLE(MyApp)
|
||||
wxIMPLEMENT_APP_CONSOLE(MyApp);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MyApp
|
||||
|
@@ -131,13 +131,13 @@ protected:
|
||||
MyServer m_server;
|
||||
};
|
||||
|
||||
DECLARE_APP(MyApp)
|
||||
wxDECLARE_APP(MyApp);
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_APP_CONSOLE(MyApp)
|
||||
wxIMPLEMENT_APP_CONSOLE(MyApp);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MyApp
|
||||
|
@@ -42,7 +42,7 @@
|
||||
// wxWin macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(wxID_EXIT, MyFrame::OnExit)
|
||||
|
@@ -43,7 +43,7 @@
|
||||
// wxWin macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_CLOSE( MyFrame::OnClose )
|
||||
|
@@ -32,7 +32,7 @@ protected:
|
||||
MyFrame *m_frame;
|
||||
};
|
||||
|
||||
DECLARE_APP(MyApp)
|
||||
wxDECLARE_APP(MyApp);
|
||||
|
||||
// Define a new frame
|
||||
class MyFrame : public wxFrame
|
||||
|
Reference in New Issue
Block a user