X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..7eb872f4d67141f723745f04b478dda03907d4b6:/src/msw/dirdlg.cpp?ds=sidebyside diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 30a877ce83..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 @@ -226,7 +226,7 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData) // // wParam = TRUE => lParam is a string and not a PIDL #ifndef __WXWINCE__ - SendMessage(hwnd, BFFM_SETSELECTION, TRUE, pData); + ::SendMessage(hwnd, BFFM_SETSELECTION, TRUE, pData); #endif break; @@ -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__)