diff options
| author | nyamatongwe <unknown> | 2001-02-05 04:39:42 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-02-05 04:39:42 +0000 |
| commit | 34f0652dfc2dc6a9d983f3c93718aa278db67695 (patch) | |
| tree | abedd8d80bacfd6f5c9e754109c8687ab98d10ec /gtk/PlatGTK.cxx | |
| parent | 42498c7486b343ea84ca1f677934f9c6095b8071 (diff) | |
| download | scintilla-mirror-34f0652dfc2dc6a9d983f3c93718aa278db67695.tar.gz | |
Patch from John to make GTK+ version build on Win32.
Modified by me to avoid pointless warnings and print error message if try
to build with Borland C++.
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index bb1e1c291..a9b24ad23 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -14,6 +14,12 @@ #include "ScintillaWidget.h" #include "Scintilla.h" +/* Use fast way of getting char data on win32 to work around problems + with gdk_string_extents. */ +#ifdef G_OS_WIN32 +#define FAST_WAY +#endif + Point Point::FromLong(long lpoint) { return Point( Platform::LowShortFromLong(lpoint), |
