]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed unresolved references with GTK+ 2.0
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 23 Sep 2004 14:03:58 +0000 (14:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 23 Sep 2004 14:03:58 +0000 (14:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/taskbarx11.cpp

index cf64c408a6715b52cd1967a3150f6b4582c509a8..cf94b215837d56a4b98e12ccc9658a1300b8301a 100644 (file)
 // ----------------------------------------------------------------------------
 
 #ifdef __WXGTK20__
-    #include "wx/gtk/taskbarpriv.h"
-#else
+    #include <gtk/gtk.h>
+    #if GTK_CHECK_VERSION(2,1,0)
+        #include "wx/gtk/taskbarpriv.h"
+        #define TASKBAR_ICON_AREA_BASE_INCLUDED
+    #endif
+#endif
+
+#ifndef TASKBAR_ICON_AREA_BASE_INCLUDED
     class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxFrame
     {
     public: