]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/taskbarpriv.h
Blind wxTinderbox fix.
[wxWidgets.git] / include / wx / gtk / taskbarpriv.h
CommitLineData
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
12#ifndef _WX_TASKBARPRIV_H_
13#define _WX_TASKBARPRIV_H_
14
33d4eef0
VS
15#include "wx/toplevel.h"
16#include "wx/bitmap.h"
17
d6439608
RD
18#ifdef __WXGTK20__
19#include <gtk/gtkversion.h>
20#if GTK_CHECK_VERSION(2, 1, 0)
21
33d4eef0
VS
22class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
23{
24public:
25 wxTaskBarIconAreaBase();
26
27 // Returns true if SYSTRAY protocol is supported by the desktop
28 bool IsProtocolSupported();
0bd3b8ec
RR
29
30 wxEvtHandler *m_invokingWindow;
6f02a879
VZ
31
32protected:
0bd3b8ec
RR
33#if wxUSE_MENUS_NATIVE
34 virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
35#endif // wxUSE_MENUS_NATIVE
33d4eef0
VS
36};
37
d6439608
RD
38#endif // __WXGTK20__
39#endif // GTK_CHECK_VERSION(2, 1, 0)
33d4eef0 40#endif // _WX_TASKBARPRIV_H_