]> git.saurik.com Git - wxWidgets.git/commitdiff
Small speed up to fonts and support for scaling.
authorRobert Roebling <robert@roebling.de>
Sun, 26 Jan 2003 12:39:51 +0000 (12:39 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 26 Jan 2003 12:39:51 +0000 (12:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dcclient.h
include/wx/gtk/font.h
include/wx/gtk1/dcclient.h
include/wx/gtk1/font.h

index a9cb16b074d8d9db928b1fe7d82134ddfb31ebee..c2a6fa43c8f6c5d59561b20b978788a885f27753 100644 (file)
@@ -122,6 +122,7 @@ public:
     // PangoContext stuff for GTK 2.0
 #ifdef __WXGTK20__
     PangoContext *m_context;
+    PangoLayout *m_layout;
     PangoFontDescription *m_fontdesc;
 #endif
 
index bad03b9d6b64cd008e13e2582d7200c07f6a15b7..d66fbe1c1c97222377a609dcba549ea5961cacf1 100644 (file)
@@ -102,7 +102,9 @@ public:
     // implementation from now on
     void Unshare();
 
+#ifndef __WXGTK20__
     GdkFont* GetInternalFont(float scale = 1.0) const;
+#endif
 
     // no data :-)
 
index a9cb16b074d8d9db928b1fe7d82134ddfb31ebee..c2a6fa43c8f6c5d59561b20b978788a885f27753 100644 (file)
@@ -122,6 +122,7 @@ public:
     // PangoContext stuff for GTK 2.0
 #ifdef __WXGTK20__
     PangoContext *m_context;
+    PangoLayout *m_layout;
     PangoFontDescription *m_fontdesc;
 #endif
 
index bad03b9d6b64cd008e13e2582d7200c07f6a15b7..d66fbe1c1c97222377a609dcba549ea5961cacf1 100644 (file)
@@ -102,7 +102,9 @@ public:
     // implementation from now on
     void Unshare();
 
+#ifndef __WXGTK20__
     GdkFont* GetInternalFont(float scale = 1.0) const;
+#endif
 
     // no data :-)