aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-06 08:11:18 +1000
committernyamatongwe <devnull@localhost>2011-06-06 08:11:18 +1000
commita1c03d5935c15a8d5ea29fba20569900f1693b45 (patch)
tree4715f64a59524bc48d3b52f46590a530f9a40683 /include/Platform.h
parent7124cd54e16e94df1a179d24121bfd8be84d4f4d (diff)
downloadscintilla-mirror-a1c03d5935c15a8d5ea29fba20569900f1693b45.tar.gz
Fix problem compiling on wxWidgets. Bug #3306156.
From Morten MacFly.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index fd36a322e..1e9aeda44 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -301,6 +301,9 @@ public:
FontID GetID() { return fid; }
// Alias another font - caller guarantees not to Release
void SetID(FontID fid_) { fid = fid_; }
+#if PLAT_WX
+ void SetAscent(int ascent_) { ascent = ascent_; }
+#endif
friend class Surface;
friend class SurfaceImpl;
};