1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/mac/taskbarosx.h
3 // Purpose: Defines wxTaskBarIcon class for OSX
8 // Copyright: (c) Ryan Norton, 2003
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
15 class WXDLLIMPEXP_FWD_CORE wxIcon
;
16 class WXDLLIMPEXP_FWD_CORE wxMenu
;
18 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
20 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon
)
22 // type of taskbar item to create (currently only DOCK is implemented)
23 enum wxTaskBarIconType
34 wxTaskBarIcon(wxTaskBarIconType iconType
= DEFAULT_TYPE
);
35 virtual ~wxTaskBarIcon();
37 bool IsOk() const { return true; }
39 bool IsIconInstalled() const;
40 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
42 bool PopupMenu(wxMenu
*menu
);
45 class wxTaskBarIconImpl
* m_impl
;
46 friend class wxTaskBarIconImpl
;