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:
@@ -77,7 +77,7 @@ int wxDirDialog::ShowModal(void)
|
|||||||
return wxID_CANCEL;
|
return wxID_CANCEL;
|
||||||
|
|
||||||
// Allocate a buffer to receive browse information.
|
// 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();
|
pMalloc->Release();
|
||||||
return wxID_CANCEL;
|
return wxID_CANCEL;
|
||||||
|
Reference in New Issue
Block a user