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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "taskbarosx.h"
19 class WXDLLEXPORT wxIcon
;
20 class WXDLLEXPORT wxMenu
;
22 class WXDLLEXPORT wxTaskBarIcon
: public wxTaskBarIconBase
25 //type of taskbar item to create (currently only DOCK is implemented)
26 enum wxTaskBarIconType
33 wxTaskBarIcon(const wxTaskBarIconType
& nType
= DOCK
);
34 virtual ~wxTaskBarIcon();
37 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
39 bool PopupMenu(wxMenu
*menu
);
42 wxTaskBarIconType m_nType
;
44 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon
)