#undef wxHAS_RAW_KEY_CODES
#endif
+// taskbar is only implemented in wxMSW and X11 ports
+#if defined(__WXMSW__) || \
+ defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__X11__)
+ #define wxHAS_TASK_BAR_ICON
+#else
+ #undef wxHAS_TASK_BAR_ICON
+#endif
+
#endif // _WX_FEATURES_H_
#ifndef _WX_TASKBAR_H_BASE_
#define _WX_TASKBAR_H_BASE_
+#include "wx/defs.h"
+
+#ifdef wxHAS_TASK_BAR_ICON
+
#include "wx/event.h"
// ----------------------------------------------------------------------------
#include "wx/unix/taskbarx11.h"
#endif
-#if !defined(__WXCOCOA__) // && !defined(__WXOS2__) etc...
// ----------------------------------------------------------------------------
// wxTaskBarIcon events
// ----------------------------------------------------------------------------
#define EVT_TASKBAR_RIGHT_DCLICK(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_TASKBAR_RIGHT_DCLICK, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL),
#endif
- // !defined(__WXCOCOA__)
+ // wxHAS_TASK_BAR_ICON
+
#endif
// _WX_TASKBAR_H_BASE_