#include "wx/confbase.h"
#if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE
-# ifdef __WIN32__
-# include "wx/msw/regconf.h"
-#else
-# include "wx/msw/iniconf.h"
-# endif
+# ifdef __WIN32__
+# include "wx/msw/regconf.h"
+# else
+# include "wx/msw/iniconf.h"
+# endif
+#elif defined(__WXPALMOS__) && wxUSE_CONFIG_NATIVE
+# include "wx/palmos/prefconf.h"
#else
# include "wx/fileconf.h"
#endif