applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,7 +125,7 @@ void MyApp::DoStreamDemo(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
textCtrl.WriteText( "Writing to ofstream and wxFileOutputStream:\n" );
|
||||
|
||||
ofstream std_file_output( "test_std.dat" );
|
||||
wxSTD ofstream std_file_output( "test_std.dat" );
|
||||
wxFileOutputStream file_output( wxString("test_wx.dat") );
|
||||
wxBufferedOutputStream buf_output( file_output );
|
||||
wxTextOutputStream text_output( buf_output );
|
||||
@@ -163,7 +163,7 @@ void MyApp::DoStreamDemo(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
textCtrl.WriteText( "\nReading from ifstream:\n" );
|
||||
|
||||
ifstream std_file_input( "test_std.dat" );
|
||||
wxSTD ifstream std_file_input( "test_std.dat" );
|
||||
|
||||
std_file_input >> si;
|
||||
tmp.Printf( _T("Signed int: %d\n"), si );
|
||||
|
Reference in New Issue
Block a user