]> git.saurik.com Git - wxWidgets.git/blobdiff - setup.h.in
always use wxString::operator[](size_t) - wxWin doesn't compile without it anyhow
[wxWidgets.git] / setup.h.in
index c47f9abb77d27aa37cccc287a236fd26a4216a45..46f64d1bab720b57e4d580dc97291147153a8625 100644 (file)
@@ -5,14 +5,19 @@
 #define __WX_SETUP_H__
 
 #ifdef __GNUG__
 #define __WX_SETUP_H__
 
 #ifdef __GNUG__
-    #pragma interface
+#pragma interface
 #endif
 
 #endif
 
-/* never undefine inline keyword for C++ compilation */
+/* never undefine inline or const keywords for C++ compilation */
 #ifndef __cplusplus
 #ifndef __cplusplus
+
 /* Define to empty if the keyword does not work.  */
 #undef const
 /* Define to empty if the keyword does not work.  */
 #undef const
-#endif
+
+/* Define as __inline if that's what the C compiler calls it.  */
+#undef inline
+
+#endif /* __cplusplus */
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef gid_t
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef gid_t
@@ -23,9 +28,6 @@
 /* Define if you have the vprintf function.  */
 #undef HAVE_VPRINTF
 
 /* Define if you have the vprintf function.  */
 #undef HAVE_VPRINTF
 
-/* Define as __inline if that's what the C compiler calls it.  */
-#undef inline
-
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef mode_t
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef mode_t
 
  */
 #define wxUSE_WCSRTOMBS 0
 
  */
 #define wxUSE_WCSRTOMBS 0
 
-/*
- * On some platforms overloading on size_t/int doesn't work, yet we'd like
- * to define both size_t and int version of wxString::operator[] because it
- * should really be size_t, but a lot of old, broken code uses int indices.
- */
-#define wxUSE_SIZE_T_STRING_OPERATOR 0
-
 /*
  * Use the new experimental implementation of wxString::Printf()?
  *
 /*
  * Use the new experimental implementation of wxString::Printf()?
  *
  * Use Apple Ieee-double converter
  */
 #define wxUSE_APPLE_IEEE 0
  * Use Apple Ieee-double converter
  */
 #define wxUSE_APPLE_IEEE 0
-/*
- * Compatibility with 1.66 API.
- * Level 0: no backward compatibility, all new features
- * Level 1: wxDC, OnSize (etc.) compatibility, but
- * some new features such as event tables
- */
-#define WXWIN_COMPATIBILITY 0
 /*
  * Compatibility with 2.0 API.
  */
 /*
  * Compatibility with 2.0 API.
  */