provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -1125,7 +1125,7 @@ static inline bool WriteAsciiString(wxOutputStream& ostr, const wxString& s)
 | 
			
		||||
    wxCharBuffer name(s.mb_str());
 | 
			
		||||
    ostr.Write(name, strlen(name));
 | 
			
		||||
#else
 | 
			
		||||
    ostr.Write(s, s.length());
 | 
			
		||||
    ostr.Write(s.mb_str(), s.length());
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    return ostr.IsOk();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user