X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cf38c97836a8269a47847b73afcda347f863e04..3e17bc3f7333addb73a2ba6fee52d19d47d77360:/include/wx/mac/apptrait.h diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h index e6d6bdfed9..fe7b4791a9 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_ - +#if __WXMAC_CLASSIC__ +#include "wx/mac/classic/apptrait.h" +#else +#include "wx/mac/carbon/apptrait.h" +#endif \ No newline at end of file