X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fa72bd2a637cee761c56e2ce61cec3e43c62765..c59112bba521ed133ba22df39b93f2d8eaf9d885:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 8861bd816c..bfd2341e2d 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// File: taskbar.cpp +// File: src/gtk/taskbar.cpp // Purpose: wxTaskBarIcon (src/unix/taskbarx11.cpp) helper for GTK2 // Author: Vaclav Slavik // Modified by: @@ -12,10 +12,15 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_TASKBARICON + #include "wx/gtk/taskbarpriv.h" -#include "wx/log.h" -#include "wx/frame.h" -#include "wx/menu.h" + +#ifndef WX_PRECOMP + #include "wx/log.h" + #include "wx/frame.h" + #include "wx/menu.h" +#endif #include @@ -141,3 +146,5 @@ bool wxTaskBarIconAreaBase::DoPopupMenu( wxMenu *menu, int x, int y ) #endif // __WXGTK20__ #endif // GTK_CHECK_VERSION(2, 1, 0) + +#endif // wxUSE_TASKBARICON