use "new" wx-prefixed macros in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,7 +169,7 @@ private:
|
||||
int m_numLines;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(MyFrame);
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -216,7 +216,7 @@ IMPLEMENT_APP(MyApp)
|
||||
// MyFrame
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(DebugRpt_Quit, MyFrame::OnQuit)
|
||||
EVT_MENU(DebugRpt_Crash, MyFrame::OnReportForCrash)
|
||||
EVT_MENU(DebugRpt_Current, MyFrame::OnReportForCurrent)
|
||||
@@ -225,7 +225,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(DebugRpt_About, MyFrame::OnAbout)
|
||||
|
||||
EVT_PAINT(MyFrame::OnPaint)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
MyFrame::MyFrame()
|
||||
: wxFrame(NULL, wxID_ANY, wxT("wxWidgets Debug Report Sample"),
|
||||
|
Reference in New Issue
Block a user