]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/taskbarpriv.h
use wxRound(x) instead of int( x+0.5 )
[wxWidgets.git] / include / wx / gtk / taskbarpriv.h
index 117e4cd04bc689d83445fd34395a8b322645e638..242d3c6a8933209640efdc26dd5676bb80ed710e 100644 (file)
@@ -9,15 +9,10 @@
 // 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"
 
 class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxTopLevelWindow
 {
@@ -25,7 +20,14 @@ 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 void DoPopupMenuUpdateUI(wxMenu* menu);
+#endif // wxUSE_MENUS_NATIVE
 };
 
-#endif // _WX_TASKBARPRIV_H_
+#endif // _WX_GTK_TASKBARPRIV_H_