diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index f3f6771ae7..ef68c99252 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -28,7 +28,7 @@ #pragma hdrstop #endif -#if wxUSE_DIRDLG +#if wxUSE_DIRDLG && !defined(__SMARTPHONE__) #if defined(__WIN95__) && !defined(__GNUWIN32_OLD__) && wxUSE_OLE @@ -289,4 +289,4 @@ static void ItemListFree(LPITEMIDLIST pidl) #include "../generic/dirdlgg.cpp" #endif // compiler/platform on which the code here compiles -#endif // wxUSE_DIRDLG +#endif // wxUSE_DIRDLG && !defined(__SMARTPHONE__)