From: Robin Dunn Date: Fri, 15 Apr 2005 18:55:16 +0000 (+0000) Subject: No longer a need for changing the names to protect against multiple definitions. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e4f39334abbf32f08c80865f4e78284c442b7f4b No longer a need for changing the names to protect against multiple definitions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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"