1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 class WXDLLEXPORT wxApp
;
21 class WXDLLEXPORT wxLog
;
22 class WXDLLEXPORT wxEventLoop
;
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
28 class WXDLLEXPORT wxApp
: public wxAppBase
34 /* override for altering the way wxGTK intializes the GUI
35 * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
36 * default. when overriding this method, the code in it is likely to be
37 * platform dependent, otherwise use OnInit(). */
38 virtual bool OnInitGui();
40 // override base class (pure) virtuals
41 virtual bool Initialize(int& argc
, wxChar
**argv
);
42 virtual void CleanUp();
45 virtual void WakeUpIdle();
46 virtual bool Yield(bool onlyIfNeeded
= FALSE
);
48 virtual wxVideoMode
GetDisplayMode() const { return m_displayMode
; }
49 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
52 DECLARE_DYNAMIC_CLASS(wxApp
)
55 wxVideoMode m_displayMode
;
58 #endif // __WX_APP_H__