- // 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; }
-
- /** 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;
-
- inline void SetPrintMode(int mode) { m_printMode = mode; }
- inline int GetPrintMode() const { return m_printMode; }
-
- inline void SetExitOnFrameDelete(bool flag) { m_exitOnFrameDelete = flag; }
- inline bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; }
-
- inline wxString GetAppName() const {
- if (m_appName != "")
- return m_appName;
- else return m_className;
- }