Dash:
[t2-trunk.git] / package / x11 / wxwidgets24 / pango.patch
blobcebb4f744e34e798fb8c2056c3d3b9f6a99ef5f4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../wxwidgets24/pango.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 diff -ur wxPythonSrc-2.4.2.4_orig/src/gtk/dcclient.cpp wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp
17 --- wxPythonSrc-2.4.2.4_orig/src/gtk/dcclient.cpp 2003-04-19 22:22:59.000000000 +0200
18 +++ wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp 2005-09-11 02:30:52.000000000 +0200
19 @@ -1774,9 +1774,9 @@
21 if (m_owner)
23 - if (m_font.GetNoAntiAliasing())
24 - m_context = m_owner->GtkGetPangoX11Context();
25 - else
26 + //if (m_font.GetNoAntiAliasing())
27 + // m_context = m_owner->GtkGetPangoX11Context();
28 + //else
29 m_context = m_owner->GtkGetPangoDefaultContext();
32 diff -ur wxPythonSrc-2.4.2.4_orig/src/gtk/window.cpp wxPythonSrc-2.4.2.4/src/gtk/window.cpp
33 --- wxPythonSrc-2.4.2.4_orig/src/gtk/window.cpp 2003-09-20 00:32:24.000000000 +0200
34 +++ wxPythonSrc-2.4.2.4/src/gtk/window.cpp 2005-09-11 02:32:45.000000000 +0200
35 @@ -4015,10 +4015,7 @@
37 PangoContext *wxWindowGTK::GtkGetPangoX11Context()
39 - if (!m_x11Context)
40 - m_x11Context = pango_x_get_context( gdk_display );
42 - return m_x11Context;
43 + return gtk_widget_get_pango_context(m_widget);
45 #endif