X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/671c43ff32fa79fdb2ab059c6084ec7dc0130dea..89352653828ae50feab93f5e0fce628ea840927e:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index b19d4d14d7..3ea852db01 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1406,7 +1406,8 @@ enum wxBorder wxBORDER_SIMPLE = 0x02000000, wxBORDER_RAISED = 0x04000000, wxBORDER_SUNKEN = 0x08000000, - wxBORDER_DOUBLE = 0x10000000, + wxBORDER_DOUBLE = 0x10000000, /* deprecated */ + wxBORDER_THEME = wxBORDER_DEFAULT, /* a mask to extract border style from the combination of flags */ wxBORDER_MASK = 0x1f200000 @@ -2944,35 +2945,8 @@ typedef const void* WXWidget; /* included before or after wxWidgets classes, and therefore must be */ /* disabled here before any significant wxWidgets headers are included. */ #ifdef __WXMSW__ -#ifdef GetClassInfo -#undef GetClassInfo -#endif - -#ifdef GetClassName -#undef GetClassName -#endif - -#ifdef DrawText -#undef DrawText -#endif - -#ifdef GetCharWidth -#undef GetCharWidth -#endif - -#ifdef StartDoc -#undef StartDoc -#endif - -#ifdef FindWindow -#undef FindWindow -#endif - -#ifdef FindResource -#undef FindResource -#endif -#endif - /* __WXMSW__ */ +#include "wx/msw/winundef.h" +#endif /* __WXMSW__ */ /* include the feature test macros */