git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36378
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
-
- // Returns the X11 context which renders on the X11 client
- // side (which can be remote) and which usually is not
- // anti-aliased and is thus faster
- // MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
- // not depend on libpangox - which is completely deprecated.
- //BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
- PangoContext *GtkGetPangoX11Context();
- PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
#endif
#if wxUSE_TOOLTIPS
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
-
- // Returns the X11 context which renders on the X11 client
- // side (which can be remote) and which usually is not
- // anti-aliased and is thus faster
- // MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
- // not depend on libpangox - which is completely deprecated.
- //BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
- PangoContext *GtkGetPangoX11Context();
- PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
#endif
#if wxUSE_TOOLTIPS
{
PangoContext *oldContext = m_context;
{
PangoContext *oldContext = m_context;
- // We might want to use the X11 context for faster
- // rendering on screen.
- // MR: Lets not want to do this, as this introduces libpangox dependancy.
-#if 0
- if (m_font.GetNoAntiAliasing())
- m_context = m_owner->GtkGetPangoX11Context();
- else
-#endif
m_context = m_owner->GtkGetPangoDefaultContext();
// If we switch back/forth between different contexts
m_context = m_owner->GtkGetPangoDefaultContext();
// If we switch back/forth between different contexts
#ifdef __WXGTK20__
m_imData = NULL;
#ifdef __WXGTK20__
m_imData = NULL;
m_dirtyTabOrder = false;
#else
#ifdef HAVE_XIM
m_dirtyTabOrder = false;
#else
#ifdef HAVE_XIM
{
return gtk_widget_get_pango_context( m_widget );
}
{
return gtk_widget_get_pango_context( m_widget );
}
-
-// MR: Returns the same as GtkGetPangoDefaultContext until the symbol can be removed in 2.7.x
-PangoContext *wxWindowGTK::GtkGetPangoX11Context()
-{
- return gtk_widget_get_pango_context( m_widget );
-}
#endif
GtkRcStyle *wxWindowGTK::CreateWidgetStyle(bool forceStyle)
#endif
GtkRcStyle *wxWindowGTK::CreateWidgetStyle(bool forceStyle)
{
PangoContext *oldContext = m_context;
{
PangoContext *oldContext = m_context;
- // We might want to use the X11 context for faster
- // rendering on screen.
- // MR: Lets not want to do this, as this introduces libpangox dependancy.
-#if 0
- if (m_font.GetNoAntiAliasing())
- m_context = m_owner->GtkGetPangoX11Context();
- else
-#endif
m_context = m_owner->GtkGetPangoDefaultContext();
// If we switch back/forth between different contexts
m_context = m_owner->GtkGetPangoDefaultContext();
// If we switch back/forth between different contexts
#ifdef __WXGTK20__
m_imData = NULL;
#ifdef __WXGTK20__
m_imData = NULL;
m_dirtyTabOrder = false;
#else
#ifdef HAVE_XIM
m_dirtyTabOrder = false;
#else
#ifdef HAVE_XIM
{
return gtk_widget_get_pango_context( m_widget );
}
{
return gtk_widget_get_pango_context( m_widget );
}
-
-// MR: Returns the same as GtkGetPangoDefaultContext until the symbol can be removed in 2.7.x
-PangoContext *wxWindowGTK::GtkGetPangoX11Context()
-{
- return gtk_widget_get_pango_context( m_widget );
-}
#endif
GtkRcStyle *wxWindowGTK::CreateWidgetStyle(bool forceStyle)
#endif
GtkRcStyle *wxWindowGTK::CreateWidgetStyle(bool forceStyle)