diff options
author | nyamatongwe <unknown> | 2011-06-06 08:11:18 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-06-06 08:11:18 +1000 |
commit | bd88866db20ffb28513e713957ba8c27e47a8a08 (patch) | |
tree | 1c29d44ec498937bfa25db155e3cee0aae64b18a /src/Style.cxx | |
parent | 4d97af95b345a9567734893b91413d1050a2c01f (diff) | |
download | scintilla-mirror-bd88866db20ffb28513e713957ba8c27e47a8a08.tar.gz |
Fix problem compiling on wxWidgets. Bug #3306156.
From Morten MacFly.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r-- | src/Style.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Style.cxx b/src/Style.cxx index ce1f0908e..fc250f0bc 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -142,5 +142,8 @@ 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_; } |