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:
@@ -36,7 +36,7 @@
|
||||
|
||||
MyFrame *frame = NULL;
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
wxIMPLEMENT_APP(MyApp);
|
||||
|
||||
// For drawing lines in a canvas
|
||||
long xpos = -1;
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
#endif // wxUSE_SOUND
|
||||
};
|
||||
|
||||
DECLARE_APP(MyApp)
|
||||
wxDECLARE_APP(MyApp);
|
||||
|
||||
class MyCanvas: public wxScrolledWindow
|
||||
{
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
void OnActivate(wxActivateEvent& event);
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
#define JOYTEST_QUIT 1
|
||||
|
||||
Reference in New Issue
Block a user