X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..b466e85a7e81db84545bc44c83cbe4ccacd4fe8e:/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_