From: Vadim Zeitlin Date: Wed, 19 May 1999 22:44:58 +0000 (+0000) Subject: file which undefs symbols ocnflicting with windows.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/98216d409fb8f0b95f5bf01e59ae36c2b0a90210 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 --- 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_