Had missed one LPSTR.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 1999-06-16 06:50:28 +00:00
parent 2df98b2377
commit e66474166b

View File

@ -77,7 +77,7 @@ int wxDirDialog::ShowModal(void)
return wxID_CANCEL;
// Allocate a buffer to receive browse information.
if ((lpBuffer = (LPSTR) pMalloc->Alloc(MAX_PATH)) == NULL)
if ((lpBuffer = (LPTSTR) pMalloc->Alloc(MAX_PATH)) == NULL)
{
pMalloc->Release();
return wxID_CANCEL;