]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
added some trivial macros for exception handling
[wxWidgets.git] / include / wx / platform.h
index 3a761c91f3dd6af4965faeb259d003b30c141a18..d8195ab78ec9680f0a81a2f86b7bd1c9b1d5c1de 100644 (file)
     #define __X__
 #endif
 
+#ifdef __SC__
+    #ifdef __DMC__
+         #define __DIGITALMARS__
+    #else
+         #define __SYMANTEC__
+    #endif
+#endif
+
 /*
    This macro can be used to test the gcc version and can be used like this:
 
  */
 #if defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
     defined( __CYGWIN__ ) || \
-    (defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__DIGITALMARS__)
+    (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
     #include "wx/msw/gccpriv.h"
 #else
     #undef wxCHECK_W32API_VERSION
     #define wxCHECK_W32API_VERSION(maj, min) (0)
 #endif
 
-#ifdef __SC__
-    #ifdef __DMC__
-         #define __DIGITALMARS__
-    #else
-         #define __SYMANTEC__
-    #endif
-#endif
-
 #if defined (__WXMSW__)
     #if !defined(__WATCOMC__)
         #define wxHAVE_RAW_BITMAP
     #define wxUSE_HOTKEY 0
 #endif
 
+#if !defined(wxUSE_WXDIB) && defined(__WXMSW__)
+    #define wxUSE_WXDIB 1
+#endif
+
 #endif /* _WX_PLATFORM_H_ */