give an error if wxMotif is built in Unicode mode (to prevent bug reports like 1177193); moved wxMotif-specific checks in its own wx/motif/chkconf.h; moved wxMac stuff remaining in wx/chkconf.h to wx/mac/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,28 @@
|
||||
#ifdef __WXMAC_CLASSIC__
|
||||
#include "wx/mac/classic/chkconf.h"
|
||||
#else
|
||||
#include "wx/mac/carbon/chkconf.h"
|
||||
/*
|
||||
* Name: wx/mac/chkconf.h
|
||||
* Purpose: Mac-specific config settings checks
|
||||
* Author: Vadim Zeitlin
|
||||
* Modified by:
|
||||
* Created: 2005-04-05 (extracted from wx/chkconf.h)
|
||||
* RCS-ID: $Id$
|
||||
* Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
* Licence: wxWindows licence
|
||||
*/
|
||||
|
||||
/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
# if !TARGET_CARBON
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_UNICODE is only supported for Carbon Targets."
|
||||
# else
|
||||
# define wxUSE_UNICODE 0
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC_CLASSIC__
|
||||
# include "wx/mac/classic/chkconf.h"
|
||||
#else
|
||||
# include "wx/mac/carbon/chkconf.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user