]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/taskbar.h
Replace wxComboBox::IsEmpty() with Is{List,Text}Empty().
[wxWidgets.git] / include / wx / gtk / taskbar.h
CommitLineData
a1c6f069
PC
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/gtk/taskbar.h
3// Purpose: wxTaskBarIcon class for GTK2
4// Author: Paul Cornett
5// Created: 2009-02-08
6// RCS-ID: $Id$
7// Copyright: (c) 2009 Paul Cornett
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_GTK_TASKBARICON_H_
12#define _WX_GTK_TASKBARICON_H_
13
14class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
15{
16public:
17 wxTaskBarIcon();
18 ~wxTaskBarIcon();
19 virtual bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxString());
20 virtual bool RemoveIcon();
21 virtual bool PopupMenu(wxMenu* menu);
22 bool IsOk() const { return true; }
23 bool IsIconInstalled() const;
24
25 class Private;
26
27private:
28 Private* m_priv;
29
30 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
31 DECLARE_NO_COPY_CLASS(wxTaskBarIcon)
32};
33
34#endif // _WX_GTK_TASKBARICON_H_