From ff67d5860d2177ad5d4f66c13bb748ef975af88d Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Wed, 19 Jul 2000 09:45:24 +0000 Subject: [PATCH] May as well also add a GTK_CLASS_TYPE macro for compatibility. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/defs.h b/include/wx/defs.h index 4b7e2f1df9..22a59d3d5b 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1928,6 +1928,7 @@ typedef GtkWidget *WXWidget; #ifndef __WXGTK20__ #define GTK_OBJECT_GET_CLASS(object) (GTK_OBJECT(object)->klass) +#define GTK_CLASS_TYPE(klass) ((klass)->type) #endif #ifdef __WXGTK20__ -- 2.45.2