1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
13 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
14 #pragma interface "app.h"
20 //-----------------------------------------------------------------------------
22 //-----------------------------------------------------------------------------
24 class WXDLLEXPORT wxApp
;
25 class WXDLLEXPORT wxLog
;
26 class WXDLLEXPORT wxEventLoop
;
28 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 class WXDLLEXPORT wxApp
: public wxAppBase
38 /* override for altering the way wxGTK intializes the GUI
39 * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
40 * default. when overriding this method, the code in it is likely to be
41 * platform dependent, otherwise use OnInit(). */
42 virtual bool OnInitGui();
44 // override base class (pure) virtuals
45 virtual bool Initialize(int& argc
, wxChar
**argv
);
46 virtual void CleanUp();
49 virtual void WakeUpIdle();
50 virtual bool Yield(bool onlyIfNeeded
= FALSE
);
52 virtual wxVideoMode
GetDisplayMode() const { return m_displayMode
; }
53 virtual bool SetDisplayMode(const wxVideoMode
& mode
);
56 DECLARE_DYNAMIC_CLASS(wxApp
)
59 wxVideoMode m_displayMode
;
62 #endif // __WX_APP_H__