diff options
| author | nyamatongwe <devnull@localhost> | 2011-06-06 08:11:18 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-06-06 08:11:18 +1000 |
| commit | a1c03d5935c15a8d5ea29fba20569900f1693b45 (patch) | |
| tree | 4715f64a59524bc48d3b52f46590a530f9a40683 /src/Style.cxx | |
| parent | 7124cd54e16e94df1a179d24121bfd8be84d4f4d (diff) | |
| download | scintilla-mirror-a1c03d5935c15a8d5ea29fba20569900f1693b45.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_; } |
