diff --git a/include/wx/msw/wince/missing.h b/include/wx/msw/wince/missing.h index 6ae6ab26b7..698fd43d12 100644 --- a/include/wx/msw/wince/missing.h +++ b/include/wx/msw/wince/missing.h @@ -119,5 +119,9 @@ bsearch(const void *key, const void *base, size_t num, size_t size, #define O_TEXT 0x4000 /* file mode is text (translated) */ #define O_BINARY 0x8000 /* file mode is binary (untranslated) */ +#ifndef SS_SUNKEN + #define SS_SUNKEN 0x00001000L +#endif + #endif // _WX_CE_MISSING_H_ diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index a06913774a..3b896d882f 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -32,10 +32,7 @@ #if wxUSE_STATLINE #include "wx/msw/private.h" - -#ifndef SS_SUNKEN - #define SS_SUNKEN 0x00001000L -#endif +#include "wx/msw/missing.h" // ============================================================================ // implementation