many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -64,13 +64,13 @@ const wxChar *wxTextFile::GetEOL(wxTextFileType type)
|
||||
{
|
||||
switch ( type ) {
|
||||
default:
|
||||
wxFAIL_MSG(_T("bad file type in wxTextFile::GetEOL."));
|
||||
wxFAIL_MSG(T("bad file type in wxTextFile::GetEOL."));
|
||||
// fall through nevertheless - we must return something...
|
||||
|
||||
case wxTextFileType_None: return _T("");
|
||||
case wxTextFileType_Unix: return _T("\n");
|
||||
case wxTextFileType_Dos: return _T("\r\n");
|
||||
case wxTextFileType_Mac: return _T("\r");
|
||||
case wxTextFileType_None: return T("");
|
||||
case wxTextFileType_Unix: return T("\n");
|
||||
case wxTextFileType_Dos: return T("\r\n");
|
||||
case wxTextFileType_Mac: return T("\r");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user