X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e9670446ab3bb894f2898167d7fd070af98fcaf..2524f1ce36c16bb6253e9d5ce156996290b830dc:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 3a761c91f3..d8195ab78e 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -280,6 +280,14 @@ #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: @@ -300,21 +308,13 @@ */ #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 @@ -357,5 +357,9 @@ #define wxUSE_HOTKEY 0 #endif +#if !defined(wxUSE_WXDIB) && defined(__WXMSW__) + #define wxUSE_WXDIB 1 +#endif + #endif /* _WX_PLATFORM_H_ */