]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/taskbar.h
No real changes, just make wxWindow::CanScroll() virtual.
[wxWidgets.git] / include / wx / gtk / taskbar.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/taskbar.h
3 // Purpose: wxTaskBarIcon class for GTK2
4 // Author: Paul Cornett
5 // Created: 2009-02-08
6 // Copyright: (c) 2009 Paul Cornett
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_TASKBARICON_H_
11 #define _WX_GTK_TASKBARICON_H_
12
13 class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
14 {
15 public:
16 wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE);
17 ~wxTaskBarIcon();
18 virtual bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxString());
19 virtual bool RemoveIcon();
20 virtual bool PopupMenu(wxMenu* menu);
21 bool IsOk() const { return true; }
22 bool IsIconInstalled() const;
23
24 class Private;
25
26 private:
27 Private* m_priv;
28
29 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
30 DECLARE_NO_COPY_CLASS(wxTaskBarIcon)
31 };
32
33 #endif // _WX_GTK_TASKBARICON_H_