]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for Standard WinCE SDK
authorJulian Smart <julian@anthemion.co.uk>
Sat, 9 Oct 2004 20:34:56 +0000 (20:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 9 Oct 2004 20:34:56 +0000 (20:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dirdlg.cpp

index 4c8cba7388963550c8fea40129e533ef54b1779f..0177d1d3abf889eba1ad68472eadc88383ec2b52 100644 (file)
@@ -140,7 +140,8 @@ int wxDirDialog::ShowModal()
     bi.hwndOwner      = parent ? GetHwndOf(parent) : NULL;
     bi.pidlRoot       = NULL;
     bi.pszDisplayName = NULL;
-#ifdef __WXWINCE__
+    // WinCE StandardSDK requires .c_str() form
+#if defined(__WXWINCE__) && (defined(__POCKETPC__) || defined(__SMARTPHONE__))
     bi.lpszTitle      = m_message.mb_str();
 #else
     bi.lpszTitle      = m_message.c_str();