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:
parent
2df98b2377
commit
e66474166b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user