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
This commit is contained in:
parent
f33fee2ae6
commit
7d4194184e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user