]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/app.h
allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
[wxWidgets.git] / include / wx / mgl / app.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: app.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
52750c2e 6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 7// Licence: wxWindows licence
32b8ec41
VZ
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_APP_H__
11#define __WX_APP_H__
12
32b8ec41
VZ
13#include "wx/frame.h"
14#include "wx/icon.h"
15
16//-----------------------------------------------------------------------------
17// classes
18//-----------------------------------------------------------------------------
19
7bdc1879
VS
20class WXDLLEXPORT wxApp;
21class WXDLLEXPORT wxLog;
ef344ff8 22class WXDLLEXPORT wxEventLoop;
32b8ec41
VZ
23
24//-----------------------------------------------------------------------------
25// wxApp
26//-----------------------------------------------------------------------------
27
28class WXDLLEXPORT wxApp: public wxAppBase
29{
30public:
7bdc1879
VS
31 wxApp();
32 ~wxApp();
32b8ec41
VZ
33
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(). */
7bdc1879 38 virtual bool OnInitGui();
32b8ec41
VZ
39
40 // override base class (pure) virtuals
05e2b077 41 virtual bool Initialize(int& argc, wxChar **argv);
94826170 42 virtual void CleanUp();
752464f9
VS
43
44 virtual void Exit();
45 virtual void WakeUpIdle();
e1218bd6
VS
46 virtual bool Yield(bool onlyIfNeeded = FALSE);
47
fedec981
VZ
48 virtual wxVideoMode GetDisplayMode() const { return m_displayMode; }
49 virtual bool SetDisplayMode(const wxVideoMode& mode);
634f6a1f 50
32b8ec41
VZ
51private:
52 DECLARE_DYNAMIC_CLASS(wxApp)
53 DECLARE_EVENT_TABLE()
1bf77ee5 54
fedec981 55 wxVideoMode m_displayMode;
32b8ec41
VZ
56};
57
32b8ec41 58#endif // __WX_APP_H__
6abf9dac 59