]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/taskbarpriv.h
Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on...
[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_TASKBARPRIV_H_
13 #define _WX_TASKBARPRIV_H_
14
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "taskbarpriv.h"
17 #endif
18
19 #include "wx/toplevel.h"
20 #include "wx/bitmap.h"
21
22 #ifdef __WXGTK20__
23 #include <gtk/gtkversion.h>
24 #if GTK_CHECK_VERSION(2, 1, 0)
25
26 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
27 {
28 public:
29 wxTaskBarIconAreaBase();
30
31 // Returns true if SYSTRAY protocol is supported by the desktop
32 bool IsProtocolSupported();
33
34 wxEvtHandler *m_invokingWindow;
35
36 #if wxUSE_MENUS_NATIVE
37 virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
38 #endif // wxUSE_MENUS_NATIVE
39 };
40
41 #endif // __WXGTK20__
42 #endif // GTK_CHECK_VERSION(2, 1, 0)
43 #endif // _WX_TASKBARPRIV_H_