X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a71d815bbe669ebb9bdb9409926a272c37a5a9aa..bc55e31bdc7fbf6f1006f298ed8310e7972984e9:/src/msw/dirdlg.cpp diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index f5288c4597..5f2f111abb 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -24,9 +24,9 @@ #pragma hdrstop #endif -#if wxUSE_DIRDLG && (!defined(__WXWINCE__) || defined(__HANDHELDPC__)) +#if wxUSE_DIRDLG -#if !defined(__GNUWIN32_OLD__) && wxUSE_OLE +#if wxUSE_OLE && !defined(__GNUWIN32_OLD__) && (!defined(__WXWINCE__) || (defined(__HANDHELDPC__) && (_WIN32_WCE >= 500))) #ifndef WX_PRECOMP #include "wx/utils.h" @@ -240,9 +240,7 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData) return 0; } - -#else - #include "../generic/dirdlgg.cpp" #endif // compiler/platform on which the code here compiles -#endif // wxUSE_DIRDLG && !(__SMARTPHONE__ && __WXWINCE__) +#endif // wxUSE_DIRDLG +