]>
Commit | Line | Data |
---|---|---|
22cf5eef SC |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/mac/apptrait.h | |
3 | // Purpose: standard implementations of wxAppTraits for MacOS | |
4 | // Author: Vadim Zeitlin | |
5 | // Modified by: Stefan Csomor | |
6 | // Created: 23.06.2003 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org> | |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_MAC_APPTRAIT_H_ | |
13 | #define _WX_MAC_APPTRAIT_H_ | |
14 | ||
15 | // ---------------------------------------------------------------------------- | |
16 | // wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase | |
20 | { | |
21 | public: | |
2cf38c97 SC |
22 | // other miscellaneous helpers |
23 | // --------------------------- | |
24 | ||
609533d5 | 25 | virtual wxToolkitInfo& GetToolkitInfo(); |
22cf5eef SC |
26 | }; |
27 | ||
28 | #if wxUSE_GUI | |
29 | ||
30 | class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase | |
31 | { | |
32 | public: | |
2cf38c97 SC |
33 | // other miscellaneous helpers |
34 | // --------------------------- | |
35 | ||
324899f6 | 36 | virtual wxToolkitInfo& GetToolkitInfo(); |
22cf5eef SC |
37 | }; |
38 | ||
39 | #endif // wxUSE_GUI | |
40 | ||
41 | #endif // _WX_MAC_APPTRAIT_H_ | |
42 |