]> git.saurik.com Git - wxWidgets.git/commitdiff
Avoid wxTaskBarIconAreaBase::DoPopupMenu unresolved symbol in GTK < 2.1 builds
authorRobin Dunn <robin@alldunn.com>
Fri, 18 Feb 2005 04:06:08 +0000 (04:06 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 18 Feb 2005 04:06:08 +0000 (04:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/taskbarpriv.h
include/wx/gtk1/taskbarpriv.h

index 03d2093f7e8ef92730831e28cc2b100356096885..e2bb1da53b56dfb932bc4d006c45a940500fd495 100644 (file)
 #include "wx/toplevel.h"
 #include "wx/bitmap.h"
 
+#ifdef __WXGTK20__
+#include <gtk/gtkversion.h>
+#if GTK_CHECK_VERSION(2, 1, 0)
+
 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
 {
 public:
@@ -34,4 +38,6 @@ public:
 #endif // wxUSE_MENUS_NATIVE
 };
 
+#endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)
 #endif // _WX_TASKBARPRIV_H_
index 03d2093f7e8ef92730831e28cc2b100356096885..e2bb1da53b56dfb932bc4d006c45a940500fd495 100644 (file)
 #include "wx/toplevel.h"
 #include "wx/bitmap.h"
 
+#ifdef __WXGTK20__
+#include <gtk/gtkversion.h>
+#if GTK_CHECK_VERSION(2, 1, 0)
+
 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
 {
 public:
@@ -34,4 +38,6 @@ public:
 #endif // wxUSE_MENUS_NATIVE
 };
 
+#endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)
 #endif // _WX_TASKBARPRIV_H_