]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/chkconf.h
create stock GDI objects on demand; use const with GDI objects appropriately (patch...
[wxWidgets.git] / include / wx / os2 / chkconf.h
index 924d2f0d45365f30d7cbd5c0fc94dd352baae562..ef8d72b1eaf3378ddbc4d99f02739df156c88539 100644 (file)
 #ifndef _WX_OS2_CHKCONF_H_
 #define _WX_OS2_CHKCONF_H_
 
-#ifdef __WATCOMC__
+/*
+   wxDisplay is not implemented for OS/2, use stub common version instead.
+ */
+#if wxUSE_DISPLAY
+#   undef wxUSE_DISPLAY
+#   define wxUSE_DISPLAY 0
+#endif /* wxUSE_DISPLAY */
 
 /* Watcom builds for OS/2 port are setup.h driven and setup.h is
    automatically generated from include/wx/setup_inc.h so we have
    to disable here features not supported currently or enable
    features required */
-
-#if wxUSE_DISPLAY
-#   undef wxUSE_DISPLAY
-#   define wxUSE_DISPLAY 0
-#endif /* wxUSE_DISPLAY */
+#ifdef __WATCOMC__
 
 #if wxUSE_STACKWALKER
 #   undef wxUSE_STACKWALKER