]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/taskbarx11.cpp
blind OS/2 compilation fix in wxSetWorkingDirectory()
[wxWidgets.git] / src / unix / taskbarx11.cpp
index e3ac3d59871b1ffddbeb835394d13e33a8dfd16f..c335b5d7af8cb777048571a1288da0faab813944 100644 (file)
@@ -21,6 +21,8 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_TASKBARICON
+
 #include "wx/taskbar.h"
 
 #ifndef  WX_PRECOMP
     #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/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 // wxUSE_TASKBARICON