X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d4eef0b9f61adad1f42ace436225ff508c6ea3..230c90774f48fd3ba9a9f1c3af5354fbad94843f:/include/wx/gtk/taskbarpriv.h diff --git a/include/wx/gtk/taskbarpriv.h b/include/wx/gtk/taskbarpriv.h index 117e4cd04b..ac656ef5d7 100644 --- a/include/wx/gtk/taskbarpriv.h +++ b/include/wx/gtk/taskbarpriv.h @@ -12,13 +12,13 @@ #ifndef _WX_TASKBARPRIV_H_ #define _WX_TASKBARPRIV_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "taskbarpriv.h" -#endif - #include "wx/toplevel.h" #include "wx/bitmap.h" +#ifdef __WXGTK20__ +#include +#if GTK_CHECK_VERSION(2, 1, 0) + class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow { public: @@ -26,6 +26,15 @@ public: // 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_TASKBARPRIV_H_