]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/taskbarx11.cpp
added wxCSConv::IsOk() (patch 1637944)
[wxWidgets.git] / src / unix / taskbarx11.cpp
index db3cd49704fd4b539f94caaf0f779bae22b9574b..cf5e12e52ab8119d75514cc7f95c6f20b5f71766 100644 (file)
@@ -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
     #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