Fix windows build error for missing path separator definitions.

* Use wxFileName::GetPathSeparator() instead of redefining them.
This commit is contained in:
Wayne Stambaugh 2014-03-20 14:07:19 -04:00
parent 223419a8f6
commit 34dda6a1b0
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
// bin_dir uses unix path separator. So to parse with wxFileName
// use windows separator, especially important for server inclusion:
// like: \\myserver\local_path .
bin_dir.Replace( UNIX_STRING_DIR_SEP, WIN_STRING_DIR_SEP );
bin_dir.Replace( wxFileName::GetPathSeparator( wxPATH_UNIX ),
wxFileName::GetPathSeparator( wxPATH_WIN ) );
#endif
wxFileName bin_fn( bin_dir, wxEmptyString );