]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/taskbar.cpp
GetLabelTop should return the stripped label, for compatibility.
[wxWidgets.git] / src / gtk / taskbar.cpp
index 9d9232d7c9b8f90b772f6a22b837e94ef462134b..bfd2341e2deb5c70276a3e5a12a1c9ae135270ac 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_TASKBARICON
+
 #include "wx/gtk/taskbarpriv.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/frame.h"
+    #include "wx/menu.h"
 #endif
 
-#include "wx/frame.h"
-#include "wx/menu.h"
-
 #include <gdk/gdkx.h>
 
 #ifdef __WXGTK20__
@@ -145,3 +146,5 @@ bool wxTaskBarIconAreaBase::DoPopupMenu( wxMenu *menu, int x, int y )
 
 #endif // __WXGTK20__
 #endif // GTK_CHECK_VERSION(2, 1, 0)
+
+#endif // wxUSE_TASKBARICON