]>
Commit | Line | Data |
---|---|---|
33d4eef0 VS |
1 | ///////////////////////////////////////////////////////////////////////// |
2 | // File: wx/gtk/taskbarpriv.h | |
3 | // Purpose: wxTaskBarIcon (src/unix/taskbarx11.cpp) helper for GTK2 | |
4 | // Author: Vaclav Slavik | |
5 | // Modified by: | |
6 | // Created: 2004/05/29 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Vaclav Slavik, 2004 | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////// | |
11 | ||
0416c418 PC |
12 | #ifndef _WX_GTK_TASKBARPRIV_H_ |
13 | #define _WX_GTK_TASKBARPRIV_H_ | |
33d4eef0 | 14 | |
33d4eef0 | 15 | #include "wx/toplevel.h" |
33d4eef0 | 16 | |
d6439608 RD |
17 | #ifdef __WXGTK20__ |
18 | #include <gtk/gtkversion.h> | |
19 | #if GTK_CHECK_VERSION(2, 1, 0) | |
20 | ||
33d4eef0 VS |
21 | class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow |
22 | { | |
23 | public: | |
24 | wxTaskBarIconAreaBase(); | |
25 | ||
26 | // Returns true if SYSTRAY protocol is supported by the desktop | |
27 | bool IsProtocolSupported(); | |
0bd3b8ec RR |
28 | |
29 | wxEvtHandler *m_invokingWindow; | |
6f02a879 VZ |
30 | |
31 | protected: | |
0bd3b8ec RR |
32 | #if wxUSE_MENUS_NATIVE |
33 | virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); | |
34 | #endif // wxUSE_MENUS_NATIVE | |
33d4eef0 VS |
35 | }; |
36 | ||
d6439608 RD |
37 | #endif // __WXGTK20__ |
38 | #endif // GTK_CHECK_VERSION(2, 1, 0) | |
0416c418 | 39 | #endif // _WX_GTK_TASKBARPRIV_H_ |