X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6af507f77e563a71f8935f67c9c8a9054309d26d..687dcff3a46a55c11851b1cabdbbbef5492a2f5f:/include/wx/taskbar.h diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index fc989414c4..3c829f61a5 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -1,6 +1,10 @@ #ifndef _WX_TASKBAR_H_BASE_ #define _WX_TASKBAR_H_BASE_ +#include "wx/defs.h" + +#ifdef wxHAS_TASK_BAR_ICON + #include "wx/event.h" // ---------------------------------------------------------------------------- @@ -18,9 +22,10 @@ class WXDLLEXPORT wxTaskBarIconBase : public wxEvtHandler #if defined(__WXMSW__) #include "wx/msw/taskbar.h" +#elif defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) + #include "wx/unix/taskbarx11.h" #endif - // ---------------------------------------------------------------------------- // wxTaskBarIcon events // ---------------------------------------------------------------------------- @@ -55,5 +60,8 @@ END_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_