rearrainge the #includes and etc. to avoid a name conflict with some

CoreFoundation headers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-30 18:39:54 +00:00
parent f474cc8ca4
commit f9ee2e2742
12 changed files with 74 additions and 30 deletions

View File

@@ -6,6 +6,9 @@
#include <ctype.h>
#define Point macPoint // These names are also defined by some mac headers so
#define Style macStyle // change their names, and then undef before we need them
#include <wx/wx.h>
#include <wx/encconv.h>
#include <wx/listctrl.h>
@@ -13,11 +16,15 @@
#include <wx/image.h>
#include <wx/imaglist.h>
#undef Point
#undef Style
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
}