From: Vadim Zeitlin Date: Sun, 11 May 2003 22:41:23 +0000 (+0000) Subject: moved missing constants definitions to their right place in wx/msw/missing.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c4e54c6d80844bc0cd3b34a011b04f0c497bf570 moved missing constants definitions to their right place in wx/msw/missing.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 09eaa8d6d7..489140ee53 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -249,5 +249,13 @@ struct HH_AKLINK #define QS_ALLPOSTMESSAGE 0x0100 #endif +#ifndef WS_EX_CLIENTEDGE + #define WS_EX_CLIENTEDGE 0x00000200L +#endif + +#ifndef ENDSESSION_LOGOFF + #define ENDSESSION_LOGOFF 0x80000000 +#endif + #endif // _WX_MISSING_H_ diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 7f26ece1cb..d1f5d61b8c 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -183,22 +183,6 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT; extern LONG APIENTRY _EXPORT wxSubclassedGenericControlProc(WXHWND hWnd, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); -// --------------------------------------------------------------------------- -// constants which might miss from some compilers' headers -// --------------------------------------------------------------------------- - -#if !defined(__WIN32__) && !defined(WS_EX_CLIENTEDGE) - #define WS_EX_CLIENTEDGE 0 -#endif - -#if defined(__WIN32__) && !defined(WS_EX_CLIENTEDGE) - #define WS_EX_CLIENTEDGE 0x00000200L -#endif - -#ifndef ENDSESSION_LOGOFF - #define ENDSESSION_LOGOFF 0x80000000 -#endif - // --------------------------------------------------------------------------- // useful macros and functions // ---------------------------------------------------------------------------