- static void CommonInit(void);
- static void CommonCleanUp(void);
-
- bool ProcessIdle(void);
- void DeletePendingObjects(void);
-
- bool m_initialized;
- bool m_exitOnFrameDelete;
- bool m_wantDebugOutput;
- wxWindow *m_topWindow;
-
- gint m_idleTag;
-
- int argc;
- char **argv;
+ inline void SetExitOnFrameDelete( bool flag ) { m_exitOnFrameDelete = flag; }
+ inline bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; }
+
+ void SetPrintMode( int WXUNUSED(mode) ) {}
+ int GetPrintMode() const { return wxPRINT_POSTSCRIPT; }
+
+ /* override this function to create default log target of arbitrary
+ * user-defined classv (default implementation creates a wxLogGui object) */
+ virtual wxLog *CreateLogTarget();
+
+ // implementation
+
+ static bool Initialize();
+ static bool InitialzeVisual();
+ static void CleanUp();
+
+ bool ProcessIdle();
+ void DeletePendingObjects();
+
+ bool m_initialized;
+ bool m_exitOnFrameDelete;
+ bool m_wantDebugOutput;
+ wxWindow *m_topWindow;