1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/palmos/taskbar.h
3 // Purpose: Defines wxTaskBarIcon class for manipulating icons on the
5 // Author: Julian Smart
6 // Modified by: Vaclav Slavik
9 // Copyright: (c) Julian Smart
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////
16 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
17 #pragma interface "taskbar.h"
22 // private helper class:
23 class WXDLLIMPEXP_ADV wxTaskBarIconWindow
;
25 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
27 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon
)
30 virtual ~wxTaskBarIcon();
33 inline bool IsOk() const { return true; }
34 inline bool IsIconInstalled() const { return m_iconAdded
; }
37 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
38 bool RemoveIcon(void);
39 bool PopupMenu(wxMenu
*menu
); //, int x, int y);
43 friend class wxTaskBarIconWindow
;
44 long WindowProc(unsigned int msg
, unsigned int wParam
, long lParam
);
45 void RegisterWindowMessages();
49 wxTaskBarIconWindow
*m_win
;
52 wxString m_strTooltip
;