]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/taskbarpriv.h
reverted r51340: don't use wxWeakRef in the library code as long as not all supported...
[wxWidgets.git] / include / wx / gtk / taskbarpriv.h
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
12 #ifndef _WX_GTK_TASKBARPRIV_H_
13 #define _WX_GTK_TASKBARPRIV_H_
14
15 #include "wx/toplevel.h"
16
17 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
18 {
19 public:
20 wxTaskBarIconAreaBase();
21
22 // Returns true if SYSTRAY protocol is supported by the desktop
23 bool IsProtocolSupported();
24
25 wxEvtHandler *m_invokingWindow;
26
27 protected:
28 #if wxUSE_MENUS_NATIVE
29 virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
30 #endif // wxUSE_MENUS_NATIVE
31 };
32
33 #endif // _WX_GTK_TASKBARPRIV_H_