From 7d4194184e83bbccf1a88325cca59d8d0d2faef1 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Wed, 16 Jun 1999 05:13:27 +0000 Subject: [PATCH] Suppose I should trust the headers in BC++5.02 more than BC++4.52 (since the headers on BC++4.52 appears incorrect/outdated, compilation will now fail on 4.52 in Unicode mode... but if you want Unicode, you use the newest software anyway, right?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dirdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 66ad5c708e..3c20ff1819 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -66,7 +66,7 @@ int wxDirDialog::ShowModal(void) if (m_parent) hWnd = (HWND) m_parent->GetHWND(); BROWSEINFO bi; - LPSTR lpBuffer; + LPTSTR lpBuffer; // LPITEMIDLIST pidlPrograms; // PIDL for Programs folder LPITEMIDLIST pidlBrowse; // PIDL selected by user LPMALLOC pMalloc = NULL; @@ -97,7 +97,7 @@ int wxDirDialog::ShowModal(void) bi.hwndOwner = hWnd; bi.pidlRoot = NULL; // pidlPrograms; bi.pszDisplayName = lpBuffer; - bi.lpszTitle = m_message.mb_str(); // BC++ 4.52 says LPSTR, not LPTSTR? + bi.lpszTitle = m_message; // BC++ 4.52 says LPSTR, not LPTSTR? bi.ulFlags = 0; bi.lpfn = NULL; bi.lParam = 0; -- 2.47.2