]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/taskbarx11.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / unix / taskbarx11.h
1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/unix/taskbarx11.h
3 // Purpose: Defines wxTaskBarIcon class for most common X11 desktops
4 // Author: Vaclav Slavik
5 // Modified by:
6 // Created: 04/04/2003
7 // Copyright: (c) Vaclav Slavik, 2003
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_UNIX_TASKBAR_H_
12 #define _WX_UNIX_TASKBAR_H_
13
14 class WXDLLIMPEXP_FWD_ADV wxTaskBarIconArea;
15
16 class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
17 {
18 public:
19 wxTaskBarIcon();
20 virtual ~wxTaskBarIcon();
21
22 // Accessors:
23 bool IsOk() const;
24 bool IsIconInstalled() const;
25
26 // Operations:
27 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
28 bool RemoveIcon();
29 bool PopupMenu(wxMenu *menu);
30
31 protected:
32 wxTaskBarIconArea *m_iconWnd;
33
34 private:
35 void OnDestroy(wxWindowDestroyEvent&);
36
37 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
38 };
39
40 #endif // _WX_UNIX_TASKBAR_H_