bool wxConfigBase::Write(const wxString& key, double val)
{
wxString str;
- str.Printf(_T("%f"), val);
+ str.Printf(wxT("%f"), val);
return Write(key, str);
}
wxString strCurrent;
const wxChar *pc = sz;
for ( ;; ) {
- if ( *pc == _T('\0') || *pc == wxCONFIG_PATH_SEPARATOR ) {
- if ( strCurrent == _T(".") ) {
+ if ( *pc == wxT('\0') || *pc == wxCONFIG_PATH_SEPARATOR ) {
+ if ( strCurrent == wxT(".") ) {
// ignore
}
- else if ( strCurrent == _T("..") ) {
+ else if ( strCurrent == wxT("..") ) {
// go up one level
if ( aParts.IsEmpty() )
wxLogWarning(_("'%s' has extra '..', ignored."), sz);
//else:
// could log an error here, but we prefer to ignore extra '/'
- if ( *pc == _T('\0') )
+ if ( *pc == wxT('\0') )
return;
}
else