From f2dc88a0508a801c68801af0e6bbeba9cf5dd5c0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Nov 2006 14:02:14 +0000 Subject: [PATCH] wxMGL/Unix compilation fix attempt git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/taskbarx11.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index 9535ee340e..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 @@ -325,3 +327,5 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) m_iconWnd->PopupMenu(menu); return true; } + +#endif // wxHAS_TASK_BAR_ICON -- 2.45.2