Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class App : public wxApp {
- public:
- virtual bool OnInit(void);
- virtual int OnRun(void);
- virtual int OnExit(void);
- };
- bool App::OnInit(void) {
- _CrtSetDbgFlag(_CrtSetDbgFlag(0)|_CRTDBG_LEAK_CHECK_DF);
- volatile int* ints = new int[64];
- return wxApp::OnInit();
- }
- int App::OnRun(void) {
- //return wxApp::OnRun();
- return EXIT_SUCCESS;
- }
- int App::OnExit(void) {
- return wxApp::OnExit();
- }
- IMPLEMENT_APP(App)
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement