diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index af915be587..f9fac1a844 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -6,9 +6,6 @@ #include -#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 #include #include @@ -16,9 +13,6 @@ #include #include -#undef Point -#undef Style - #include "Platform.h" #include "PlatWX.h" #include "wx/stc/stc.h" diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index f139054299..8e89374ab4 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -14,18 +14,12 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#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 #include #include #include #include -#undef Point -#undef Style - #include "ScintillaWX.h" #include "ExternalLexer.h" #include "wx/stc/stc.h" diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index 892f639501..ed561d51cd 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -17,18 +17,12 @@ #include -#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 #include #include #include #include -#undef Point -#undef Style - #include "wx/stc/stc.h" #include "ScintillaWX.h" diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index e07f6d5194..17143cf678 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -17,18 +17,12 @@ #include -#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 #include #include #include #include -#undef Point -#undef Style - #include "wx/stc/stc.h" #include "ScintillaWX.h" diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index af915be587..f9fac1a844 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -6,9 +6,6 @@ #include -#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 #include #include @@ -16,9 +13,6 @@ #include #include -#undef Point -#undef Style - #include "Platform.h" #include "PlatWX.h" #include "wx/stc/stc.h" diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index f139054299..8e89374ab4 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -14,18 +14,12 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#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 #include #include #include #include -#undef Point -#undef Style - #include "ScintillaWX.h" #include "ExternalLexer.h" #include "wx/stc/stc.h" diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 892f639501..ed561d51cd 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -17,18 +17,12 @@ #include -#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 #include #include #include #include -#undef Point -#undef Style - #include "wx/stc/stc.h" #include "ScintillaWX.h" diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index e07f6d5194..17143cf678 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -17,18 +17,12 @@ #include -#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 #include #include #include #include -#undef Point -#undef Style - #include "wx/stc/stc.h" #include "ScintillaWX.h"