]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/taskbarpriv.h
fixed DLL compilation warning
[wxWidgets.git] / include / wx / gtk / taskbarpriv.h
index 03d2093f7e8ef92730831e28cc2b100356096885..4c76862609499d1df0ed0c85f67195c67dc7fa3d 100644 (file)
 #ifndef _WX_TASKBARPRIV_H_
 #define _WX_TASKBARPRIV_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "taskbarpriv.h"
-#endif
-
 #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 +34,6 @@ public:
 #endif // wxUSE_MENUS_NATIVE
 };
 
+#endif // __WXGTK20__
+#endif // GTK_CHECK_VERSION(2, 1, 0)
 #endif // _WX_TASKBARPRIV_H_