]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/apptrait.h
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / include / wx / os2 / apptrait.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/apptrait.h
3 // Purpose: class implementing wxAppTraits for OS/2
4 // Author: Stefan Neis
5 // Modified by:
6 // Created: 22.09.2003
7 // RCS-ID: $Id$
8 // Copyright: (c) 2003 Stefan Neis <Stefan.Neis@t-online.de>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_OS2_APPTRAIT_H_
13 #define _WX_OS2_APPTRAIT_H_
14
15 // ----------------------------------------------------------------------------
16 // wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17 // ----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
20 {
21 public:
22 virtual wxToolkitInfo& GetToolkitInfo();
23 };
24
25 #if wxUSE_GUI
26
27 class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
28 {
29 public:
30 virtual wxToolkitInfo& GetToolkitInfo();
31
32 // wxThread helpers
33 // ----------------
34
35 // Initialize PM facilities to enable GUI access
36 virtual void InitializeGui(unsigned long &ulHab);
37
38 // Clean up message queue.
39 virtual void TerminateGui(unsigned long ulHab);
40 };
41
42 #endif // wxUSE_GUI
43
44 #endif // _WX_OS2_APPTRAIT_H_