X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..75b6c4ce9236da28f349c3393b8436903d92815f:/include/wx/gtk/taskbarpriv.h diff --git a/include/wx/gtk/taskbarpriv.h b/include/wx/gtk/taskbarpriv.h index d50e861f46..242d3c6a89 100644 --- a/include/wx/gtk/taskbarpriv.h +++ b/include/wx/gtk/taskbarpriv.h @@ -14,26 +14,20 @@ #include "wx/toplevel.h" -#ifdef __WXGTK20__ -#include -#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(); - + static bool IsProtocolSupported(); + wxEvtHandler *m_invokingWindow; protected: #if wxUSE_MENUS_NATIVE - virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); + virtual void DoPopupMenuUpdateUI(wxMenu* menu); #endif // wxUSE_MENUS_NATIVE }; -#endif // __WXGTK20__ -#endif // GTK_CHECK_VERSION(2, 1, 0) #endif // _WX_GTK_TASKBARPRIV_H_