]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/taskbarpriv.h
routing native events first to the wx class and only if skipped call native handler
[wxWidgets.git] / include / wx / gtk / taskbarpriv.h
index d50e861f460113e58818e23d68bca123f3926fcc..242d3c6a8933209640efdc26dd5676bb80ed710e 100644 (file)
 
 #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();
-    
+    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_