X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..c4e43bea7b24f7b7f58e3f87786490cd81abf0a7:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 9d9232d7c9..bfd2341e2d 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -12,15 +12,16 @@ // 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 #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