]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/chkconf.h
Implement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
[wxWidgets.git] / include / wx / mac / chkconf.h
index bfec9f32f960a61d000ea06952627a91a13c44f4..916c1625748da628bdf31b02b22cae35dc430974 100644 (file)
@@ -1,5 +1,34 @@
-#if __WXMAC_CLASSIC__
-#include "wx/mac/classic/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
+
+#if wxUSE_STACKWALKER
+    /* not supported under Mac */
+#   undef wxUSE_STACKWALKER
+#   define wxUSE_STACKWALKER 0
+#endif /* wxUSE_STACKWALKER */
+
+#ifdef __WXMAC_CLASSIC__
+#   include "wx/mac/classic/chkconf.h"
 #else
-#include "wx/mac/carbon/chkconf.h"
-#endif
\ No newline at end of file
+#   include "wx/mac/carbon/chkconf.h"
+#endif