From a1c03d5935c15a8d5ea29fba20569900f1693b45 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 6 Jun 2011 08:11:18 +1000 Subject: Fix problem compiling on wxWidgets. Bug #3306156. From Morten MacFly. --- include/Platform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/Platform.h') 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; }; -- cgit v1.2.3