2004-05-31 18:17:09 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
// File: wx/gtk/taskbarpriv.h
|
|
|
|
// Purpose: wxTaskBarIcon (src/unix/taskbarx11.cpp) helper for GTK2
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2004/05/29
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Vaclav Slavik, 2004
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_TASKBARPRIV_H_
|
|
|
|
#define _WX_TASKBARPRIV_H_
|
|
|
|
|
|
|
|
#include "wx/toplevel.h"
|
|
|
|
#include "wx/bitmap.h"
|
|
|
|
|
2005-02-17 23:06:08 -05:00
|
|
|
#ifdef __WXGTK20__
|
|
|
|
#include <gtk/gtkversion.h>
|
|
|
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
|
|
|
|
2004-05-31 18:17:09 -04:00
|
|
|
class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxTaskBarIconAreaBase();
|
|
|
|
|
|
|
|
// Returns true if SYSTRAY protocol is supported by the desktop
|
|
|
|
bool IsProtocolSupported();
|
2005-01-23 17:39:03 -05:00
|
|
|
|
|
|
|
wxEvtHandler *m_invokingWindow;
|
|
|
|
|
|
|
|
#if wxUSE_MENUS_NATIVE
|
|
|
|
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
|
|
|
|
#endif // wxUSE_MENUS_NATIVE
|
2004-05-31 18:17:09 -04:00
|
|
|
};
|
|
|
|
|
2005-02-17 23:06:08 -05:00
|
|
|
#endif // __WXGTK20__
|
|
|
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
2004-05-31 18:17:09 -04:00
|
|
|
#endif // _WX_TASKBARPRIV_H_
|