X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a097cd6c452e52ae2f7c6c44a234e2367db0dab..4fa0a5b44341885a0886f2ae6723d2441bd1f62f:/src/msw/dirdlg.cpp?ds=inline 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