-#define USE_FILEDLG_GENERIC \
- ( \
- wxUSE_FILEDLG && \
- ( defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__) ) && \
- !defined(__WXUNIVERSAL__) \
- )
+#define USE_COLOURDLG_GENERIC \
+ ((USE_WXMSW || USE_WXMAC) && USE_GENERIC_DIALOGS && wxUSE_COLOURDLG)
+#define USE_DIRDLG_GENERIC \
+ ((USE_WXMSW || USE_WXMAC) && USE_GENERIC_DIALOGS && wxUSE_DIRDLG)
+#define USE_FILEDLG_GENERIC \
+ ((USE_WXMSW || USE_WXMAC || USE_WXPM) && USE_GENERIC_DIALOGS && wxUSE_FILEDLG)
+#define USE_FONTDLG_GENERIC \
+ ((USE_WXMSW || USE_WXPM) && USE_GENERIC_DIALOGS && wxUSE_FONTDLG)