1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/apptrait.h
3 // Purpose: standard implementations of wxAppTraits for MacOS
4 // Author: Vadim Zeitlin
5 // Modified by: Stefan Csomor
8 // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MAC_APPTRAIT_H_
13 #define _WX_MAC_APPTRAIT_H_
15 // ----------------------------------------------------------------------------
16 // wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17 // ----------------------------------------------------------------------------
19 class WXDLLEXPORT wxConsoleAppTraits
: public wxConsoleAppTraitsBase
22 // no timer support in wxBase yet
24 virtual wxTimerImpl
*CreateTimerImpl(wxTimer
*timer
) { return NULL
; };
26 // other miscellaneous helpers
27 // ---------------------------
29 virtual wxToolkitInfo
& GetToolkitInfo();
34 class WXDLLEXPORT wxGUIAppTraits
: public wxGUIAppTraitsBase
38 virtual wxTimerImpl
*CreateTimerImpl(wxTimer
*timer
);
40 // other miscellaneous helpers
41 // ---------------------------
43 virtual wxToolkitInfo
& GetToolkitInfo();
48 #endif // _WX_MAC_APPTRAIT_H_