/[pcsx2_0.9.7]/trunk/common/include/Utilities/Path.h
ViewVC logotype

Diff of /trunk/common/include/Utilities/Path.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/common/include/Utilities/Path.h	2010/12/23 11:48:33	279
+++ trunk/common/include/Utilities/Path.h	2010/12/23 12:02:12	280
@@ -102,6 +102,7 @@
 
 	wxFileName operator+( const wxFileName& right ) const	{ return Combine( right ); }
 	wxDirName operator+( const wxDirName& right )  const	{ return Combine( right ); }
+	wxFileName operator+( const wxString& right )  const	{ return Combine( wxFileName(right) ); }
 
 	bool operator==(const wxDirName& filename) const { return SameAs(filename); }
 	bool operator!=(const wxDirName& filename) const { return !SameAs(filename); }
@@ -122,7 +123,7 @@
 // --------------------------------------------------------------------------------------
 // Cross-platform utilities for manipulation of paths and filenames.  Mostly these fall
 // back on wxWidgets APIs internally, but are still helpful because some of wx's file stuff
-// has minor glitches, or requies sloppy wxFileName typecasting.
+// has minor glitches, or requires sloppy wxFileName typecasting.
 //
 namespace Path
 {

 

  ViewVC Help
Powered by ViewVC 1.1.22