X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a097cd6c452e52ae2f7c6c44a234e2367db0dab..4b2424bcadbc87babd3367d243b957e49333eeae:/src/msw/dirdlg.cpp diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index eed2987eac..30d39f5902 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -16,6 +16,7 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- + #ifdef __GNUG__ #pragma implementation "dirdlg.h" #endif @@ -27,7 +28,11 @@ #pragma hdrstop #endif -#if defined(__WIN95__) && !defined(__GNUWIN32_OLD__) +#include "wx/setup.h" + +#if wxUSE_DIRDLG + +#if defined(__WIN95__) && !defined(__GNUWIN32_OLD__) && wxUSE_OLE #ifndef WX_PRECOMP #include "wx/utils.h" @@ -189,3 +194,5 @@ static void ItemListFree(LPITEMIDLIST pidl) #else #include "../generic/dirdlgg.cpp" #endif // compiler/platform on which the code here compiles + +#endif // wxUSE_DIRDLG