From: Robin Dunn Date: Tue, 9 Apr 2002 22:42:09 +0000 (+0000) Subject: Include wx/object.h to get the global memory operators if defined. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/18b940873741226ae03137cba08f19086d7a7dc4 Include wx/object.h to get the global memory operators if defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/scintilla/include/Platform.h b/contrib/src/stc/scintilla/include/Platform.h index dc8c9dc935..0984ea66c7 100644 --- a/contrib/src/stc/scintilla/include/Platform.h +++ b/contrib/src/stc/scintilla/include/Platform.h @@ -44,6 +44,11 @@ #endif +#if PLAT_WX +#include // For the global memory operators, if needed. +#endif + + // Underlying the implementation of the platform classes are platform specific types. // Sometimes these need to be passed around by client code so they are defined here diff --git a/src/stc/scintilla/include/Platform.h b/src/stc/scintilla/include/Platform.h index dc8c9dc935..0984ea66c7 100644 --- a/src/stc/scintilla/include/Platform.h +++ b/src/stc/scintilla/include/Platform.h @@ -44,6 +44,11 @@ #endif +#if PLAT_WX +#include // For the global memory operators, if needed. +#endif + + // Underlying the implementation of the platform classes are platform specific types. // Sometimes these need to be passed around by client code so they are defined here