X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a67a93b17c37c018f60e662645ee2a44ba4e58e..49a91764b57168d9f441578001b3206a7330ee70:/src/mac/utils.cpp diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 28c069a63a..1a71c0c784 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -104,7 +104,7 @@ bool wxGetUserName(char *buf, int maxSize) return TRUE; } -int wxKill(long pid, int sig) +int wxKill(long pid, wxSignal sig) { // TODO return 0; @@ -157,7 +157,8 @@ void wxDebugMsg(const char *fmt ...) vsprintf(buffer,fmt,ap) ; strcat(buffer,";g") ; - debugstr(buffer) ; + c2pstr(buffer) ; + DebugStr((unsigned char*) buffer) ; va_end(ap); } @@ -328,7 +329,7 @@ wxString wxMacFindFolder( short vol, FSSpec file ; if ( FSMakeFSSpec( vRefNum , dirID , "\p" , &file ) == noErr ) { - strDir = wxMacFSSpec2UnixFilename( &file ) + "/" ; + strDir = wxMacFSSpec2MacFilename( &file ) + ":" ; } } return strDir ;