#ifndef _WX_TASKBAR_H_BASE_
#define _WX_TASKBAR_H_BASE_
+#include "wx/defs.h"
+
+#ifdef wxHAS_TASK_BAR_ICON
+
#include "wx/event.h"
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxTaskBarIconBase : public wxEvtHandler
{
+public:
+ wxTaskBarIconBase() { }
+
+private:
+ DECLARE_NO_COPY_CLASS(wxTaskBarIconBase)
};
#include "wx/unix/taskbarx11.h"
#endif
-
// ----------------------------------------------------------------------------
// wxTaskBarIcon events
// ----------------------------------------------------------------------------
}
virtual wxEvent *Clone() const { return new wxTaskBarIconEvent(*this); }
+
+private:
+ DECLARE_NO_ASSIGN_CLASS(wxTaskBarIconEvent)
};
BEGIN_DECLARE_EVENT_TYPES()
#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_