]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/taskbarx11.h
No resize border on WinCE by default
[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 // RCS-ID: $Id$
8 // Copyright: (c) Vaclav Slavik, 2003
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
11
12 #ifndef _TASKBAR_H_
13 #define _TASKBAR_H_
14
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "taskbarx11.h"
17 #endif
18
19 class WXDLLEXPORT wxIcon;
20 class WXDLLEXPORT wxFrame;
21 class WXDLLEXPORT wxWindow;
22
23 class WXDLLIMPEXP_ADV wxTaskBarIconArea;
24
25 class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
26 {
27 public:
28 wxTaskBarIcon();
29 virtual ~wxTaskBarIcon();
30
31 // Accessors:
32 bool IsOk() const;
33 bool IsIconInstalled() const;
34
35 // Operations:
36 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
37 bool RemoveIcon();
38 bool PopupMenu(wxMenu *menu);
39
40 protected:
41 wxTaskBarIconArea *m_iconWnd;
42
43 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
44 };
45
46 #endif
47 // _TASKBAR_H_