X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/dirdlg.h diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index 4e93c93c65..00a314639b 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 // ---------------------------------------------------------------------------- @@ -19,10 +21,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #include "wx/generic/dirdlgg.h" #elif defined(__WXGTK__) #include "wx/generic/dirdlgg.h" -#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 +33,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #include "wx/stubs/dirdlg.h" #endif +#endif // wxUSE_DIRDLG + #endif // _WX_DIRDLG_H_BASE_