]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/taskbar.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / palmos / taskbar.cpp
index c6e8d52f8fc1c8fc47753c4ebaa0a8a6e954e503..5bdb1f85510ec0e043e7d507ed669944ed0475d2 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////
-// File:        taskbar.cpp
+// File:        src/palmos/taskbar.cpp
 // Purpose:     Implements wxTaskBarIcon class for manipulating icons on
 //              the task bar.
 // Author:      Julian Smart
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#if wxUSE_TASKBARICON
+
 #ifndef WX_PRECOMP
-#include "wx/defs.h"
-#include "wx/window.h"
-#include "wx/frame.h"
-#include "wx/utils.h"
-#include "wx/menu.h"
+    #include "wx/window.h"
+    #include "wx/frame.h"
+    #include "wx/utils.h"
+    #include "wx/menu.h"
 #endif
 
 #if defined(__WIN95__)
@@ -108,3 +109,4 @@ long wxTaskBarIcon::WindowProc(unsigned int msg,
 
 #endif // __WIN95__
 
+#endif // wxUSE_TASKBARICON