Fix for Standard WinCE SDK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-10-09 20:34:56 +00:00
parent e761df38aa
commit 02538f2d7a

View 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();