Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2235,7 +2235,7 @@ void wxFileHistory::AddFilesToMenu(wxMenu* menu)
|
||||
|
||||
bool wxTransferFileToStream(const wxString& filename, wxSTD ostream& stream)
|
||||
{
|
||||
wxFFile file(filename, _T("rb"));
|
||||
wxFFile file(filename, wxT("rb"));
|
||||
if ( !file.IsOpened() )
|
||||
return false;
|
||||
|
||||
@@ -2259,7 +2259,7 @@ bool wxTransferFileToStream(const wxString& filename, wxSTD ostream& stream)
|
||||
|
||||
bool wxTransferStreamToFile(wxSTD istream& stream, const wxString& filename)
|
||||
{
|
||||
wxFFile file(filename, _T("wb"));
|
||||
wxFFile file(filename, wxT("wb"));
|
||||
if ( !file.IsOpened() )
|
||||
return false;
|
||||
|
||||
@@ -2282,7 +2282,7 @@ bool wxTransferStreamToFile(wxSTD istream& stream, const wxString& filename)
|
||||
|
||||
bool wxTransferFileToStream(const wxString& filename, wxOutputStream& stream)
|
||||
{
|
||||
wxFFile file(filename, _T("rb"));
|
||||
wxFFile file(filename, wxT("rb"));
|
||||
if ( !file.IsOpened() )
|
||||
return false;
|
||||
|
||||
@@ -2306,7 +2306,7 @@ bool wxTransferFileToStream(const wxString& filename, wxOutputStream& stream)
|
||||
|
||||
bool wxTransferStreamToFile(wxInputStream& stream, const wxString& filename)
|
||||
{
|
||||
wxFFile file(filename, _T("wb"));
|
||||
wxFFile file(filename, wxT("wb"));
|
||||
if ( !file.IsOpened() )
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user