Added "stand-ins" for a couple of Pango (Owen Taylor's multilingual text
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
This commit is contained in:
@@ -1925,6 +1925,17 @@ typedef struct _GtkItemFactory GtkItemFactory;
|
|||||||
typedef struct _GtkSelectionData GtkSelectionData;
|
typedef struct _GtkSelectionData GtkSelectionData;
|
||||||
|
|
||||||
typedef GtkWidget *WXWidget;
|
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
|
#endif // GTK
|
||||||
|
|
||||||
// This is required because of clashing macros in windows.h, which may be
|
// This is required because of clashing macros in windows.h, which may be
|
||||||
|
Reference in New Issue
Block a user