#pragma hdrstop
#endif //__BORLANDC__
-#ifndef WX_PRECOMP
- #include "wx/defs.h"
-#endif
-
#if wxUSE_CONFIG && ((wxUSE_FILE && wxUSE_TEXTFILE) || defined(wxCONFIG_WIN32_NATIVE))
#include "wx/app.h"
bool wxConfigBase::Write(const wxString& key, double val)
{
wxString str;
- str.Printf(_T("%f"), val);
+ str.Printf(T("%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 == T('\0') || *pc == wxCONFIG_PATH_SEPARATOR ) {
+ if ( strCurrent == T(".") ) {
// ignore
}
- else if ( strCurrent == _T("..") ) {
+ else if ( strCurrent == T("..") ) {
// 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 == T('\0') )
return;
}
else