1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/unix/taskbarx11.h
3 // Purpose: Defines wxTaskBarIcon class for most common X11 desktops
4 // Author: Vaclav Slavik
8 // Copyright: (c) Vaclav Slavik, 2003
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_UNIX_TASKBAR_H_
13 #define _WX_UNIX_TASKBAR_H_
15 class WXDLLIMPEXP_FWD_ADV wxTaskBarIconArea
;
17 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
21 virtual ~wxTaskBarIcon();
25 bool IsIconInstalled() const;
28 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
30 bool PopupMenu(wxMenu
*menu
);
33 wxTaskBarIconArea
*m_iconWnd
;
36 void OnDestroy(wxWindowDestroyEvent
&);
38 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon
)
41 #endif // _WX_UNIX_TASKBAR_H_