diff --git a/include/wx/display.h b/include/wx/display.h index 0714805e5c..835a233b23 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -12,7 +12,7 @@ #ifndef _WX_DISPLAY_H_BASE_ #define _WX_DISPLAY_H_BASE_ -#ifdef wxUSE_DISPLAY +#if wxUSE_DISPLAY #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "displaybase.h" diff --git a/setup.h_vms b/setup.h_vms index 2801e72fda..e3f32117d2 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -434,7 +434,7 @@ /* * Use wxDisplay class */ -#define wxUSE_DISPLAY ! +#define wxUSE_DISPLAY 1 /* * Use this control diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index e8072554a7..8797f81ecb 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -30,7 +30,7 @@ #include "wx/display.h" -#ifdef wxUSE_DISPLAY +#if wxUSE_DISPLAY #include "wx/arrimpl.cpp" WX_DEFINE_OBJARRAY(wxArrayVideoModes);