1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/vidmode.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_FWD_CORE wxApp
;
22 class WXDLLIMPEXP_FWD_BASE wxLog
;
23 class WXDLLIMPEXP_FWD_CORE wxEventLoop
;
25 //-----------------------------------------------------------------------------
27 //-----------------------------------------------------------------------------
29 class WXDLLIMPEXP_CORE wxApp
: public wxAppBase
35 /* override for altering the way wxGTK intializes the GUI
36 * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
37 * default. when overriding this method, the code in it is likely to be
38 * platform dependent, otherwise use OnInit(). */
39 virtual bool OnInitGui();
41 // override base class (pure) virtuals
42 virtual bool Initialize(int& argc
, wxChar
**argv
);
43 virtual void CleanUp();
46 virtual void WakeUpIdle();
48 virtual wxVideoMode
GetDisplayMode() const { return m_displayMode
; }
49 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
52 DECLARE_DYNAMIC_CLASS(wxApp
)
54 virtual bool DoYield(bool onlyIfNeeded
, long eventsToProcess
);
56 wxVideoMode m_displayMode
;
59 #endif // __WX_APP_H__