git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18906
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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 );
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 );