From: John L. <jr...@us...> - 2007-03-15 14:21:23
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4972/wxbind/include Modified Files: wxbinddefs.h Log Message: hack for wxFILE_SEP_PATH being a wxChar wxT('') and not a wxChar* wxT("") Index: wxbinddefs.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/include/wxbinddefs.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wxbinddefs.h 21 May 2006 19:16:59 -0000 1.2 --- wxbinddefs.h 15 Mar 2007 14:21:19 -0000 1.3 *************** *** 16,19 **** --- 16,32 ---- // ---------------------------------------------------------------------------- + // Convert from wxWidgets wxT('') to wxT(""), a string. Copied from wx/filefn.h + + // platform independent versions + #if defined(__UNIX__) && !defined(__OS2__) + // CYGWIN also uses UNIX settings + #define wxLua_FILE_SEP_PATH wxT("/") + #elif defined(__MAC__) + #define wxLua_FILE_SEP_PATH wxT(":") + #else // Windows and OS/2 + #define wxLua_FILE_SEP_PATH wxT("\\") + #endif // Unix/Windows + + // ---------------------------------------------------------------------------- // WXDLLIMPEXP macros // ---------------------------------------------------------------------------- |