- // Called to set off the main loop
- virtual int OnRun() { return MainLoop(); };
- virtual int OnExit() { return 0; }
- /** Returns the standard icons for the msg dialogs, implemented in
- src/generic/msgdlgg.cpp and src/gtk/app.cpp. */
- virtual wxIcon GetStdIcon(int which) const;
-
- // 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; }