1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/palmos/taskbar.h
3 // Purpose: Defines wxTaskBarIcon class.
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
17 // private helper class:
18 class WXDLLIMPEXP_ADV wxTaskBarIconWindow
;
20 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
22 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon
)
25 virtual ~wxTaskBarIcon();
28 inline bool IsOk() const { return true; }
29 inline bool IsIconInstalled() const { return m_iconAdded
; }
32 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
33 bool RemoveIcon(void);
34 bool PopupMenu(wxMenu
*menu
); //, int x, int y);
38 friend class wxTaskBarIconWindow
;
39 long WindowProc(unsigned int msg
, unsigned int wParam
, long lParam
);
40 void RegisterWindowMessages();
44 wxTaskBarIconWindow
*m_win
;
47 wxString m_strTooltip
;