X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bd3b8eca1d6ef2749797f34216493fce0edd8d6..558820fd083635d3e1dc026a56b2f14870cb5c38:/include/wx/gtk/taskbarpriv.h diff --git a/include/wx/gtk/taskbarpriv.h b/include/wx/gtk/taskbarpriv.h index 03d2093f7e..58a4381952 100644 --- a/include/wx/gtk/taskbarpriv.h +++ b/include/wx/gtk/taskbarpriv.h @@ -9,15 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#ifndef _WX_TASKBARPRIV_H_ -#define _WX_TASKBARPRIV_H_ - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "taskbarpriv.h" -#endif +#ifndef _WX_GTK_TASKBARPRIV_H_ +#define _WX_GTK_TASKBARPRIV_H_ #include "wx/toplevel.h" -#include "wx/bitmap.h" + +#include +#if GTK_CHECK_VERSION(2, 1, 0) class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow { @@ -26,12 +24,16 @@ public: // Returns true if SYSTRAY protocol is supported by the desktop bool IsProtocolSupported(); - + + virtual bool IsDecorCacheable() const; + wxEvtHandler *m_invokingWindow; - + +protected: #if wxUSE_MENUS_NATIVE virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); #endif // wxUSE_MENUS_NATIVE }; -#endif // _WX_TASKBARPRIV_H_ +#endif // GTK_CHECK_VERSION(2, 1, 0) +#endif // _WX_GTK_TASKBARPRIV_H_