compilation fixes for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-06-15 21:06:12 +00:00
parent 8c517ddd1a
commit 1318fabeb4
4 changed files with 39 additions and 16 deletions

View File

@@ -94,11 +94,10 @@ int wxDirDialog::ShowModal(void)
*/
// Fill in the BROWSEINFO structure.
wxWX2MBbuf message = m_message.mb_str();
bi.hwndOwner = hWnd;
bi.pidlRoot = NULL; // pidlPrograms;
bi.pszDisplayName = lpBuffer;
bi.lpszTitle = (const char*)message; // BC++ 4.52 says LPSTR, not LPTSTR?
bi.lpszTitle = m_message.mb_str(); // BC++ 4.52 says LPSTR, not LPTSTR?
bi.ulFlags = 0;
bi.lpfn = NULL;
bi.lParam = 0;