X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324899f6c5fa0e052dc718b9b37fc6f557dc78ba..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/mac/apptrait.h?ds=sidebyside diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h index 9fb81de3ff..e3ff75ce83 100644 --- a/include/wx/mac/apptrait.h +++ b/include/wx/mac/apptrait.h @@ -1,42 +1,5 @@ -/////////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/apptrait.h -// Purpose: standard implementations of wxAppTraits for MacOS -// Author: Vadim Zeitlin -// Modified by: Stefan Csomor -// Created: 23.06.2003 -// RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin -// Licence: wxWindows licence -/////////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_MAC_APPTRAIT_H_ -#define _WX_MAC_APPTRAIT_H_ - -// ---------------------------------------------------------------------------- -// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase -// ---------------------------------------------------------------------------- - -class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase -{ -public: - // other miscellaneous helpers - // --------------------------- - - virtual owxToolkitInfo& GetToolkitInfo(); -}; - -#if wxUSE_GUI - -class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase -{ -public: - // other miscellaneous helpers - // --------------------------- - - virtual wxToolkitInfo& GetToolkitInfo(); -}; - -#endif // wxUSE_GUI - -#endif // _WX_MAC_APPTRAIT_H_ - +#ifdef __WXMAC_CLASSIC__ +#include "wx/mac/classic/apptrait.h" +#else +#include "wx/mac/carbon/apptrait.h" +#endif \ No newline at end of file