1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/gtk/taskbarpriv.h
3 // Purpose: wxTaskBarIcon (src/unix/taskbarx11.cpp) helper for GTK2
4 // Author: Vaclav Slavik
8 // Copyright: (c) Vaclav Slavik, 2004
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_GTK_TASKBARPRIV_H_
13 #define _WX_GTK_TASKBARPRIV_H_
15 #include "wx/toplevel.h"
18 #include <gtk/gtkversion.h>
19 #if GTK_CHECK_VERSION(2, 1, 0)
21 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase
: public wxTopLevelWindow
24 wxTaskBarIconAreaBase();
26 // Returns true if SYSTRAY protocol is supported by the desktop
27 bool IsProtocolSupported();
29 wxEvtHandler
*m_invokingWindow
;
32 #if wxUSE_MENUS_NATIVE
33 virtual bool DoPopupMenu( wxMenu
*menu
, int x
, int y
);
34 #endif // wxUSE_MENUS_NATIVE
38 #endif // GTK_CHECK_VERSION(2, 1, 0)
39 #endif // _WX_GTK_TASKBARPRIV_H_