X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cf38c97836a8269a47847b73afcda347f863e04..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/include/wx/mac/apptrait.h?ds=sidebyside diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h index e6d6bdfed9..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 int GetOSVersion(int *verMaj, int *verMin); -}; - -#if wxUSE_GUI - -class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase -{ -public: - // other miscellaneous helpers - // --------------------------- - - virtual int GetOSVersion(int *verMaj, int *verMin); -}; - -#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