+// Universal and non-port related switches with need for generic implementation
+#if defined(__WXUNIVERSAL__)
+ #include "wx/generic/dirdlgg.h"
+ #define wxDirDialog wxGenericDirDialog
+#elif defined(__WXMSW__) && (!wxUSE_OLE || \
+ (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
+ #include "wx/generic/dirdlgg.h"
+ #define wxDirDialog wxGenericDirDialog
+#elif defined(__WXMSW__) && defined(__WXWINCE__) && !defined(__HANDHELDPC__)
+ #include "wx/generic/dirdlgg.h" // MS PocketPC or MS Smartphone
+ #define wxDirDialog wxGenericDirDialog
+#elif defined(__WXMSW__)
+ #include "wx/msw/dirdlg.h" // Native MSW
+#elif defined(__WXGTK20__)
+ #include "wx/gtk/dirdlg.h" // Native GTK for gtk2.4
+#elif defined(__WXGTK__)
+ #include "wx/generic/dirdlgg.h"
+ #define wxDirDialog wxGenericDirDialog
+#elif defined(__WXMAC__)
+ #include "wx/mac/dirdlg.h" // Native Mac
+#elif defined(__WXCOCOA__)
+ #include "wx/cocoa/dirdlg.h" // Native Cocoa