]> git.saurik.com Git - wxWidgets.git/commitdiff
revert removal of gtk1 code from common file
authorPaul Cornett <paulcor@bullseye.com>
Mon, 29 May 2006 16:32:22 +0000 (16:32 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 29 May 2006 16:32:22 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index 9e8bc62c7c5837b766951c846ec59c9a8d9d85d2..c088059ccf2751602789f5bc456ec5dc0022d761 100644 (file)
 // For reporting compile- and runtime version of GTK+ in the ctrl+alt+mclick dialog.
 // The gtk includes don't pull any other headers in, at least not on my system - MR
 #ifdef __WXGTK__
-    #include <gtk/gtkversion.h>
+    #ifdef __WXGTK20__
+        #include <gtk/gtkversion.h>
+    #else
+        #include <gtk/gtkfeatures.h>
+    #endif
     extern const unsigned int gtk_major_version;
     extern const unsigned int gtk_minor_version;
     extern const unsigned int gtk_micro_version;