CoreFoundation headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33191
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
12 files changed:
+#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>
#include <wx/wx.h>
#include <wx/encconv.h>
#include <wx/listctrl.h>
#include <wx/image.h>
#include <wx/imaglist.h>
#include <wx/image.h>
#include <wx/imaglist.h>
+#undef Point
+#undef Style
+
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
}
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
}
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
// 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 <wx/wx.h>
+#include <wx/textbuf.h>
+#include <wx/dataobj.h>
+#include <wx/clipbrd.h>
+#include <wx/dnd.h>
+
+#undef Point
+#undef Style
#include "ScintillaWX.h"
#include "ExternalLexer.h"
#include "wx/stc/stc.h"
#include "PlatWX.h"
#include "ScintillaWX.h"
#include "ExternalLexer.h"
#include "wx/stc/stc.h"
#include "PlatWX.h"
#ifdef __WXMSW__
// GetHwndOf()
#ifdef __WXMSW__
// GetHwndOf()
#include "Editor.h"
#include "ScintillaBase.h"
#include "Editor.h"
#include "ScintillaBase.h"
-#include <wx/wx.h>
-#include <wx/dataobj.h>
-#include <wx/clipbrd.h>
-#include <wx/dnd.h>
//----------------------------------------------------------------------
//----------------------------------------------------------------------
-#if PLAT_WX
-#include <wx/object.h> // 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
// 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
-#include "wx/stc/stc.h"
-#include "ScintillaWX.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/tokenzr.h>
#include <wx/wx.h>
#include <wx/tokenzr.h>
#include <wx/image.h>
#include <wx/file.h>
#include <wx/image.h>
#include <wx/file.h>
+#undef Point
+#undef Style
+
+#include "wx/stc/stc.h"
+#include "ScintillaWX.h"
//----------------------------------------------------------------------
//----------------------------------------------------------------------
SetCodePage(wxSTC_CP_UTF8);
#endif
SetCodePage(wxSTC_CP_UTF8);
#endif
+ SetBestFittingSize(size);
+
// Reduces flicker on GTK+/X11
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
// Reduces flicker on GTK+/X11
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
- SetBestFittingSize(size);
-#include "wx/stc/stc.h"
-#include "ScintillaWX.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/tokenzr.h>
#include <wx/wx.h>
#include <wx/tokenzr.h>
#include <wx/image.h>
#include <wx/file.h>
#include <wx/image.h>
#include <wx/file.h>
+#undef Point
+#undef Style
+
+#include "wx/stc/stc.h"
+#include "ScintillaWX.h"
//----------------------------------------------------------------------
//----------------------------------------------------------------------
#endif
SetBestFittingSize(size);
#endif
SetBestFittingSize(size);
+
+ // Reduces flicker on GTK+/X11
+ SetBackgroundStyle(wxBG_STYLE_CUSTOM);
+#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>
#include <wx/wx.h>
#include <wx/encconv.h>
#include <wx/listctrl.h>
#include <wx/image.h>
#include <wx/imaglist.h>
#include <wx/image.h>
#include <wx/imaglist.h>
+#undef Point
+#undef Style
+
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
#include "Platform.h"
#include "PlatWX.h"
#include "wx/stc/stc.h"
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
}
Point Point::FromLong(long lpoint) {
return Point(lpoint & 0xFFFF, lpoint >> 16);
}
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
// 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 <wx/wx.h>
+#include <wx/textbuf.h>
+#include <wx/dataobj.h>
+#include <wx/clipbrd.h>
+#include <wx/dnd.h>
+
+#undef Point
+#undef Style
#include "ScintillaWX.h"
#include "ExternalLexer.h"
#include "wx/stc/stc.h"
#include "PlatWX.h"
#include "ScintillaWX.h"
#include "ExternalLexer.h"
#include "wx/stc/stc.h"
#include "PlatWX.h"
#ifdef __WXMSW__
// GetHwndOf()
#ifdef __WXMSW__
// GetHwndOf()
#include "Editor.h"
#include "ScintillaBase.h"
#include "Editor.h"
#include "ScintillaBase.h"
-#include <wx/wx.h>
-#include <wx/dataobj.h>
-#include <wx/clipbrd.h>
-#include <wx/dnd.h>
//----------------------------------------------------------------------
//----------------------------------------------------------------------
-#if PLAT_WX
-#include <wx/object.h> // 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
// 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
-#include "wx/stc/stc.h"
-#include "ScintillaWX.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/tokenzr.h>
#include <wx/wx.h>
#include <wx/tokenzr.h>
#include <wx/image.h>
#include <wx/file.h>
#include <wx/image.h>
#include <wx/file.h>
+#undef Point
+#undef Style
+
+#include "wx/stc/stc.h"
+#include "ScintillaWX.h"
//----------------------------------------------------------------------
//----------------------------------------------------------------------
SetCodePage(wxSTC_CP_UTF8);
#endif
SetCodePage(wxSTC_CP_UTF8);
#endif
+ SetBestFittingSize(size);
+
// Reduces flicker on GTK+/X11
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
// Reduces flicker on GTK+/X11
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
- SetBestFittingSize(size);
-#include "wx/stc/stc.h"
-#include "ScintillaWX.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/tokenzr.h>
#include <wx/wx.h>
#include <wx/tokenzr.h>
#include <wx/image.h>
#include <wx/file.h>
#include <wx/image.h>
#include <wx/file.h>
+#undef Point
+#undef Style
+
+#include "wx/stc/stc.h"
+#include "ScintillaWX.h"
//----------------------------------------------------------------------
//----------------------------------------------------------------------
#endif
SetBestFittingSize(size);
#endif
SetBestFittingSize(size);
+
+ // Reduces flicker on GTK+/X11
+ SetBackgroundStyle(wxBG_STYLE_CUSTOM);