X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5:/include/wx/region.h diff --git a/include/wx/region.h b/include/wx/region.h index 2cde039eb6..7dad80a147 100644 --- a/include/wx/region.h +++ b/include/wx/region.h @@ -1,24 +1,24 @@ #ifndef _WX_REGION_H_BASE_ #define _WX_REGION_H_BASE_ -#if defined(__PALMOS__) -#include "wx/palmos/region.h" +#include "wx/colour.h" + +#if defined(__WXPALMOS__) + #include "wx/palmos/region.h" #elif defined(__WXMSW__) -#include "wx/msw/region.h" -#elif defined(__WXMOTIF__) -#include "wx/x11/region.h" + #include "wx/msw/region.h" #elif defined(__WXGTK__) -#include "wx/gtk/region.h" -#elif defined(__WXX11__) -#include "wx/x11/region.h" + #include "wx/gtk/region.h" +#elif defined(__WXMOTIF__) || defined(__WXX11__) + #include "wx/x11/region.h" #elif defined(__WXMGL__) -#include "wx/mgl/region.h" + #include "wx/mgl/region.h" #elif defined(__WXMAC__) -#include "wx/mac/region.h" + #include "wx/mac/region.h" #elif defined(__WXCOCOA__) -#include "wx/cocoa/region.h" + #include "wx/cocoa/region.h" #elif defined(__WXPM__) -#include "wx/os2/region.h" + #include "wx/os2/region.h" #endif #endif