aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-06-06 08:11:18 +1000
committernyamatongwe <unknown>2011-06-06 08:11:18 +1000
commitbd88866db20ffb28513e713957ba8c27e47a8a08 (patch)
tree1c29d44ec498937bfa25db155e3cee0aae64b18a /include
parent4d97af95b345a9567734893b91413d1050a2c01f (diff)
downloadscintilla-mirror-bd88866db20ffb28513e713957ba8c27e47a8a08.tar.gz
Fix problem compiling on wxWidgets. Bug #3306156.
From Morten MacFly.
Diffstat (limited to 'include')
-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;
};