Applied patch [ 673055 ] Text rendering in wxGTK 2.4.0 and GTK2 fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
82e5f91bff
commit
85b7bb3557
@ -394,6 +394,14 @@ void wxWindowDC::SetUpDC()
|
||||
m_bgGC = wxGetPoolGC( m_window, wxBG_COLOUR );
|
||||
}
|
||||
|
||||
#ifdef __WXGTK20__
|
||||
if (m_isMemDC)
|
||||
{
|
||||
m_context = gdk_pango_context_get();
|
||||
m_fontdesc = pango_context_get_font_description(m_context);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* background colour */
|
||||
m_backgroundBrush = *wxWHITE_BRUSH;
|
||||
m_backgroundBrush.GetColour().CalcPixel( m_cmap );
|
||||
|
@ -394,6 +394,14 @@ void wxWindowDC::SetUpDC()
|
||||
m_bgGC = wxGetPoolGC( m_window, wxBG_COLOUR );
|
||||
}
|
||||
|
||||
#ifdef __WXGTK20__
|
||||
if (m_isMemDC)
|
||||
{
|
||||
m_context = gdk_pango_context_get();
|
||||
m_fontdesc = pango_context_get_font_description(m_context);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* background colour */
|
||||
m_backgroundBrush = *wxWHITE_BRUSH;
|
||||
m_backgroundBrush.GetColour().CalcPixel( m_cmap );
|
||||
|
Loading…
Reference in New Issue
Block a user