]> git.saurik.com Git - wxWidgets.git/commitdiff
Added "stand-ins" for a couple of Pango (Owen Taylor's multilingual text
authorOve Kaaven <ovek@arcticnet.no>
Wed, 19 Jul 2000 09:32:26 +0000 (09:32 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Wed, 19 Jul 2000 09:32:26 +0000 (09:32 +0000)
rendering engine, used by gtk+ 1.3 widgets) types, and added
GTK_OBJECT_GET_CLASS macro for backwards compatibility with gtk+ 1.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 6f4be1ef8d8fa6931646f23f56cd43b4630f07c2..4b7e2f1df9e1c5bf6b232f57799ed4d4264d9005 100644 (file)
@@ -1925,6 +1925,17 @@ typedef struct _GtkItemFactory    GtkItemFactory;
 typedef struct _GtkSelectionData  GtkSelectionData;
 
 typedef GtkWidget *WXWidget;
+
+#ifndef __WXGTK20__
+#define GTK_OBJECT_GET_CLASS(object) (GTK_OBJECT(object)->klass)
+#endif
+
+#ifdef __WXGTK20__
+/* Stand-ins for Pango types */
+typedef struct _PangoContext         PangoContext;
+typedef struct _PangoLayout          PangoLayout;
+typedef struct _PangoFontDescription PangoFontDescription;
+#endif
 #endif // GTK
 
 // This is required because of clashing macros in windows.h, which may be