From 98216d409fb8f0b95f5bf01e59ae36c2b0a90210 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 19 May 1999 22:44:58 +0000 Subject: [PATCH] file which undefs symbols ocnflicting with windows.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/winundef.h | 64 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h new file mode 100644 index 0000000000..78a3fb53df --- /dev/null +++ b/include/wx/msw/winundef.h @@ -0,0 +1,64 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: winundef.h +// Purpose: undefine the common symbols #define'd by +// Author: Vadim Zeitlin +// Modified by: +// Created: 16.05.99 +// RCS-ID: $Id$ +// Copyright: (c) wxWindows team +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_WINUNDEF_H_ +#define _WX_WINUNDEF_H_ + +// windows.h #defines the following identifiers which are also used in wxWin +#ifdef GetCharWidth + #undef GetCharWidth +#endif + +#ifdef FindWindow + #undef FindWindow +#endif + +#ifdef GetClassName + #undef GetClassName +#endif + +#ifdef GetClassInfo + #undef GetClassInfo +#endif + +#ifdef LoadAccelerators + #undef LoadAccelerators +#endif + +#ifdef GetWindowProc + #undef GetWindowProc +#endif + +#ifdef DrawText + #undef DrawText +#endif + +#ifdef StartDoc + #undef StartDoc +#endif + +#ifdef GetFirstChild + #undef GetFirstChild +#endif + +#ifdef GetNextChild + #undef GetNextChild +#endif + +#ifdef GetNextSibling + #undef GetNextSibling +#endif + +#ifdef GetObject + #undef GetObject +#endif + +#endif // _WX_WINUNDEF_H_ -- 2.45.2