diff options
-rw-r--r-- | include/Platform.h | 6 | ||||
-rw-r--r-- | src/Style.cxx | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/Platform.h b/include/Platform.h index c4a1a0b40..4ef7e2aab 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -271,9 +271,6 @@ struct FontParameters { class Font { protected: FontID fid; -#if PLAT_WX - int ascent; -#endif // Private so Font objects can not be copied Font(const Font &); Font &operator=(const Font &); @@ -287,9 +284,6 @@ 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; }; diff --git a/src/Style.cxx b/src/Style.cxx index 10fc0d2bf..ba3f97c3d 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -163,8 +163,5 @@ void Style::ClearTo(const Style &source) { void Style::Copy(Font &font_, const FontMeasurements &fm_) { font.MakeAlias(font_); -#if PLAT_WX - font.SetAscent(fm_.ascent); -#endif (FontMeasurements &)(*this) = fm_; } |