X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e267406e113e2842201ca7049159c578d4988015..0f0298b10cc3d4f862e764fcabffce6f426c91a8:/src/unix/taskbarx11.cpp diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index db3cd49704..cf5e12e52a 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -21,6 +21,8 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef wxHAS_TASK_BAR_ICON + #include "wx/taskbar.h" #ifndef WX_PRECOMP @@ -28,12 +30,11 @@ #include "wx/frame.h" #include "wx/dcclient.h" #include "wx/statbmp.h" + #include "wx/sizer.h" + #include "wx/bitmap.h" + #include "wx/image.h" #endif -#include "wx/bitmap.h" -#include "wx/sizer.h" -#include "wx/image.h" - #ifdef __VMS #pragma message disable nosimpint #endif @@ -326,3 +327,5 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) m_iconWnd->PopupMenu(menu); return true; } + +#endif // wxHAS_TASK_BAR_ICON