Browse Source

Fix windows build error for missing path separator definitions.

* Use wxFileName::GetPathSeparator() instead of redefining them.
pull/1/head
Wayne Stambaugh 12 years ago
parent
commit
34dda6a1b0
  1. 3
      common/systemdirsappend.cpp

3
common/systemdirsappend.cpp

@ -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 );

Loading…
Cancel
Save