X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d996ed1c44a591c610e51d58d0bf9f802fac165..04a429cb8a929cd56401e47a9a7d115cc3533353:/include/wx/dirdlg.h?ds=sidebyside diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index 7298d81612..4e93c93c65 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -10,7 +10,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr; WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #if defined(__WXMSW__) -#if defined(__WIN16__) || (defined(__GNUWIN32__)&&!defined(wxUSE_NORLANDER_HEADERS)) || defined(__SALFORDC__) +#if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__) #include "wx/generic/dirdlgg.h" #else #include "wx/msw/dirdlg.h" @@ -22,7 +22,11 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #elif defined(__WXQT__) #include "wx/qt/dirdlg.h" #elif defined(__WXMAC__) +#ifdef __WXMAC_X__ +#include "wx/generic/dirdlgg.h" +#else #include "wx/mac/dirdlg.h" +#endif #elif defined(__WXPM__) #include "wx/os2/dirdlg.h" #elif defined(__WXSTUBS__)