Reworked the undef stuff a little

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Brian Macy
1999-05-31 19:24:12 +00:00
parent db2d879ad4
commit 6bbd334480
2 changed files with 127 additions and 47 deletions

View File

@@ -26,45 +26,14 @@
// include the wx definitions
#ifdef WX_PRECOMP
#ifdef __WXMSW__
#include <windows.h>
#include "wx/msw/winundef.h"
#endif
#include "wx/wx.h"
// Comment this out if you don't mind slower compilation of the wxWindows
// library
#if !defined(__WXMAC__) && !defined(__SALFORDC__)
#include <windows.h>
#endif
#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
#ifdef LoadAccelerators
#undef LoadAccelerators
#endif
#endif // WX_PRECOMP