]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for GTK+ < 2.10
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Feb 2009 21:17:02 +0000 (21:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Feb 2009 21:17:02 +0000 (21:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/taskbar.h
src/gtk/taskbar.cpp

index fdc2ea0f3a0b4f9344a112445897addf67240ce5..062c3c3306e2e18259ff0e066bb6c5c6666ece3f 100644 (file)
@@ -65,7 +65,7 @@ private:
     #include "wx/palmos/taskbar.h"
 #elif defined(__WXMSW__)
     #include "wx/msw/taskbar.h"
-#elif defined(__WXGTK20__)
+#elif defined(__WXGTK210__)
     #include "wx/gtk/taskbar.h"
 #elif defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__)
     #include "wx/unix/taskbarx11.h"
index 87af558886fcd67f62512dfaaefaf6466c059a68..f3069bb79ec623b86328684d864a5888e8c5aea7 100644 (file)
@@ -12,7 +12,7 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#if wxUSE_TASKBARICON
+#if wxUSE_TASKBARICON && defined(__WXGTK210__)
 
 #include "wx/taskbar.h"