]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dirdlg.cpp
partially reverted Robert's changes, did it more cleanly
[wxWidgets.git] / src / msw / dirdlg.cpp
index 30a877ce8326ace3968a0f4e03c9cb46da709c76..ef68c99252f1206030b7cafe6821eb49321f6442 100644 (file)
@@ -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__)