X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..94e2ed3b8db0220160c0b939782cd46914ec073a:/include/wx/dirdlg.h?ds=sidebyside diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index 4e93c93c65..6ac8eb2c0c 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -1,6 +1,8 @@ #ifndef _WX_DIRDLG_H_BASE_ #define _WX_DIRDLG_H_BASE_ +#if wxUSE_DIRDLG + // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -22,7 +24,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #elif defined(__WXQT__) #include "wx/qt/dirdlg.h" #elif defined(__WXMAC__) -#ifdef __WXMAC_X__ +#ifdef __DARWIN__ #include "wx/generic/dirdlgg.h" #else #include "wx/mac/dirdlg.h" @@ -33,5 +35,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #include "wx/stubs/dirdlg.h" #endif +#endif // wxUSE_DIRDLG + #endif // _WX_DIRDLG_H_BASE_