1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/unix/taskbarx11.h
3 // Purpose: Defines wxTaskBarIcon class for most common X11 desktops
4 // Author: Vaclav Slavik
7 // Copyright: (c) Vaclav Slavik, 2003
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_UNIX_TASKBAR_H_
12 #define _WX_UNIX_TASKBAR_H_
14 class WXDLLIMPEXP_FWD_ADV wxTaskBarIconArea
;
16 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
20 virtual ~wxTaskBarIcon();
24 bool IsIconInstalled() const;
27 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
29 bool PopupMenu(wxMenu
*menu
);
32 wxTaskBarIconArea
*m_iconWnd
;
35 void OnDestroy(wxWindowDestroyEvent
&);
37 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon
)
40 #endif // _WX_UNIX_TASKBAR_H_