From bcfced3616c0ca77179f1ee69166eeb68d6c4b57 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 5 Dec 2004 18:56:29 +0000 Subject: [PATCH] Neither PocketPC nor SmartPhone have SHBrowseForFolder git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dirdlg.h | 4 ++-- src/msw/dirdlg.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index d2d38c0bdd..83c9ed5ea8 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -51,8 +51,8 @@ public: #include "wx/generic/dirdlgg.h" #define wxDirDialog wxGenericDirDialog -// MS Smartphone -#elif defined(__SMARTPHONE__) && defined(__WXWINCE__) +// MS PocketPC or MS Smartphone +#elif defined(__WXMSW__) && defined(__WXWINCE__) && !defined(__HANDHELDPC__) #include "wx/generic/dirdlgg.h" #define wxDirDialog wxGenericDirDialog diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 0bb55362d5..f011311407 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -28,7 +28,7 @@ #pragma hdrstop #endif -#if wxUSE_DIRDLG && !(defined(__SMARTPHONE__) && defined(__WXWINCE__)) +#if wxUSE_DIRDLG && (!defined(__WXWINCE__) || defined(__HANDHELDPC__)) #if defined(__WIN95__) && !defined(__GNUWIN32_OLD__) && wxUSE_OLE -- 2.45.2