Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -316,7 +316,11 @@ int setdrive(int drive)
|
||||
newdrive[1] = ':';
|
||||
newdrive[2] = '\0';
|
||||
#if defined(__WXMSW__)
|
||||
#ifdef __WIN16__
|
||||
if (wxSetWorkingDirectory(newdrive))
|
||||
#else
|
||||
if (SetCurrentDirectory((LPSTR)newdrive))
|
||||
#endif
|
||||
#else
|
||||
// VA doesn't know what LPSTR is and has its own set
|
||||
if (DosSetCurrentDir((PSZ)newdrive))
|
||||
|
Reference in New Issue
Block a user