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_TASKBARPRIV_H_
13 #define _WX_TASKBARPRIV_H_
15 #include "wx/toplevel.h"
16 #include "wx/bitmap.h"
19 #include <gtk/gtkversion.h>
20 #if GTK_CHECK_VERSION(2, 1, 0)
22 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase
: public wxTopLevelWindow
25 wxTaskBarIconAreaBase();
27 // Returns true if SYSTRAY protocol is supported by the desktop
28 bool IsProtocolSupported();
30 wxEvtHandler
*m_invokingWindow
;
33 #if wxUSE_MENUS_NATIVE
34 virtual bool DoPopupMenu( wxMenu
*menu
, int x
, int y
);
35 #endif // wxUSE_MENUS_NATIVE
39 #endif // GTK_CHECK_VERSION(2, 1, 0)
40 #endif // _WX_TASKBARPRIV_H_