No changes, just fix a typo in a comment in wxMarkupText code

Also remove a couple of trailing spaces.
This commit is contained in:
Vadim Zeitlin 2017-02-23 01:15:55 +01:00 committed by Václav Slavík
parent a145d759ea
commit 0e2f6f6ec0

View File

@ -263,14 +263,14 @@ public:
const wxSize extent = m_dc.GetTextExtent(text);
// DrawItemText() ignores background color, so render it outselves
// DrawItemText() ignores background color, so render it ourselves
if ( m_dc.GetBackgroundMode() == wxSOLID )
{
#if wxUSE_GRAPHICS_CONTEXT
// Prefer to use wxGraphicsContext because it supports alpha channel; fall back to wxDC
if ( !m_gc )
m_gc.reset(wxGraphicsContext::CreateFromUnknownDC(m_dc));
if ( m_gc )
{
m_gc->SetBrush(wxBrush(m_dc.GetTextBackground()));