]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dirdlg.cpp
Make it LPNM_UPDOWN, not LPNMUPDOWN, in Borland C++
[wxWidgets.git] / src / msw / dirdlg.cpp
index 3c20ff18199d9508503126618b11e6c8109d9ee6..4be95f9efe7c7f9fba64c757cdd2694de8d1ab30 100644 (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;