- void OnIdle(wxIdleEvent& event);
- void OnEndSession(wxCloseEvent& event);
- void OnQueryEndSession(wxCloseEvent& event);
-
- // Generic
- virtual bool OnInit() { return FALSE; };
-
- // No specific tasks to do here.
- virtual bool OnInitGui() { return TRUE; }
-
- // Called to set off the main loop
- virtual int OnRun() { return MainLoop(); };
- virtual int OnExit() { return 0; }
-
- // called when a fatal exception occurs, this function should take care not
- // to do anything which might provoke a nested exception!
- virtual void OnFatalException() { }
-
- void SetPrintMode(int mode) { m_printMode = mode; }
- int GetPrintMode() const { return m_printMode; }
-
- void SetExitOnFrameDelete(bool flag) { m_exitOnFrameDelete = flag; }
- bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; }