X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6af507f77e563a71f8935f67c9c8a9054309d26d..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/taskbar.h?ds=sidebyside diff --git a/include/wx/taskbar.h b/include/wx/taskbar.h index fc989414c4..54602ec390 100644 --- a/include/wx/taskbar.h +++ b/include/wx/taskbar.h @@ -18,9 +18,11 @@ 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 - +#if !defined(__WXCOCOA__) // && !defined(__WXOS2__) etc... // ---------------------------------------------------------------------------- // wxTaskBarIcon events // ---------------------------------------------------------------------------- @@ -55,5 +57,7 @@ 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 + // !defined(__WXCOCOA__) #endif // _WX_TASKBAR_H_BASE_