diff options
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), |