0416c41834
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
40 lines
1.0 KiB
C++
40 lines
1.0 KiB
C++
/////////////////////////////////////////////////////////////////////////
|
|
// 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_GTK_TASKBARPRIV_H_
|
|
#define _WX_GTK_TASKBARPRIV_H_
|
|
|
|
#include "wx/toplevel.h"
|
|
|
|
#ifdef __WXGTK20__
|
|
#include <gtk/gtkversion.h>
|
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
|
|
|
class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
|
|
{
|
|
public:
|
|
wxTaskBarIconAreaBase();
|
|
|
|
// Returns true if SYSTRAY protocol is supported by the desktop
|
|
bool IsProtocolSupported();
|
|
|
|
wxEvtHandler *m_invokingWindow;
|
|
|
|
protected:
|
|
#if wxUSE_MENUS_NATIVE
|
|
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
|
|
#endif // wxUSE_MENUS_NATIVE
|
|
};
|
|
|
|
#endif // __WXGTK20__
|
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
|
#endif // _WX_GTK_TASKBARPRIV_H_
|