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:
@@ -42,11 +42,11 @@
|
||||
|
||||
// main program
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
// MyCanvas
|
||||
|
||||
IMPLEMENT_CLASS(MyCanvas, wxScrolledWindow)
|
||||
wxIMPLEMENT_CLASS(MyCanvas, wxScrolledWindow);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow)
|
||||
EVT_PAINT(MyCanvas::OnPaint)
|
||||
@@ -305,7 +305,7 @@ DragShape* MyCanvas::FindShape(const wxPoint& pt) const
|
||||
}
|
||||
|
||||
// MyFrame
|
||||
IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame )
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(MyFrame, wxFrame);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(MyFrame,wxFrame)
|
||||
EVT_MENU (wxID_ABOUT, MyFrame::OnAbout)
|
||||
|
Reference in New Issue
Block a user