static
wxFloat64 TestFloatRW(wxFloat64 fValue)
{
- wxFileOutputStream* pFileOutput = new wxFileOutputStream( _T("mytext.dat") );
+ wxFileOutputStream* pFileOutput = new wxFileOutputStream( wxT("mytext.dat") );
wxDataOutputStream* pDataOutput = new wxDataOutputStream( *pFileOutput );
*pDataOutput << fValue;
delete pDataOutput;
delete pFileOutput;
- wxFileInputStream* pFileInput = new wxFileInputStream( _T("mytext.dat") );
+ wxFileInputStream* pFileInput = new wxFileInputStream( wxT("mytext.dat") );
wxDataInputStream* pDataInput = new wxDataInputStream( *pFileInput );
wxFloat64 fInFloat;
ValueArray InValues(Size);
{
- wxFileOutputStream FileOutput( _T("mytext.dat") );
+ wxFileOutputStream FileOutput( wxT("mytext.dat") );
wxDataOutputStream DataOutput( FileOutput );
(DataOutput.*pfnWriter)(Values, Size);
}
{
- wxFileInputStream FileInput( _T("mytext.dat") );
+ wxFileInputStream FileInput( wxT("mytext.dat") );
wxDataInputStream DataInput( FileInput );
(DataInput.*pfnReader)(&*InValues.begin(), InValues.size());
T InValue;
{
- wxFileOutputStream FileOutput( _T("mytext.dat") );
+ wxFileOutputStream FileOutput( wxT("mytext.dat") );
wxDataOutputStream DataOutput( FileOutput );
DataOutput << Value;
}
{
- wxFileInputStream FileInput( _T("mytext.dat") );
+ wxFileInputStream FileInput( wxT("mytext.dat") );
wxDataInputStream DataInput( FileInput );
DataInput >> InValue;