X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/203b65dd29ad224968b9d7dbb227cecaeec5568c..bcd846ea7191d33d86e28ee1927b461c54d2fb8f:/src/gtk/dcmemory.cpp diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index ee801a6f56..768465ba8c 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -29,6 +29,8 @@ wxMemoryDC::wxMemoryDC() : wxWindowDC() #ifdef __WXGTK20__ m_context = gdk_pango_context_get(); + // Note: The Sun customised version of Pango shipping with Solaris 10 + // crashes if the language is left NULL (see bug 1374114) pango_context_set_language( m_context, gtk_get_default_language() ); m_layout = pango_layout_new( m_context ); m_fontdesc = pango_font_description_copy( pango_context_get_font_description( m_context ) );