-#if defined(__WXPALMOS__)
- #include "wx/palmos/icon.h"
-#elif defined(__WXMSW__)
+
+// a more readable way to tell
+#define wxICON_SCREEN_DEPTH (-1)
+
+
+// the wxICON_DEFAULT_TYPE (the wxIcon equivalent of wxBITMAP_DEFAULT_TYPE)
+// constant defines the default argument value for wxIcon ctor and wxIcon::LoadFile()
+// functions.
+
+#if defined(__WXMSW__)
+ #define wxICON_DEFAULT_TYPE wxBITMAP_TYPE_ICO_RESOURCE