#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
-
// ----------------------------------------------------------------------------
// wxTaskBarIcon events
// ----------------------------------------------------------------------------
#define EVT_TASKBAR_LEFT_DCLICK(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_TASKBAR_LEFT_DCLICK, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL),
#define EVT_TASKBAR_RIGHT_DCLICK(fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_TASKBAR_RIGHT_DCLICK, -1, -1, (wxObjectEventFunction) (wxEventFunction) &fn, NULL),
+#endif
+ // wxHAS_TASK_BAR_ICON
+
#endif
// _WX_TASKBAR_H_BASE_