]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/typetest.cpp
wxTextStream now interprets 1,1 as 1.1 (European formating).
[wxWidgets.git] / samples / typetest / typetest.cpp
index 44abbdc4c47746fc55b0dc4281f867dc3b55897e..639e063fdbc35afcd74e84511a78303f5a5065fd 100644 (file)
@@ -188,7 +188,7 @@ void MyApp::DoStreamDemo(wxCommandEvent& WXUNUSED(event))
 
     wxFileInputStream file_input( "test_wx.dat" );
     wxBufferedInputStream buf_input( file_input );
-    wxTextInputStream text_input( buf_input );
+    wxTextInputStream text_input( file_input );
 
     text_input >> si;
     tmp.Printf( _T("Signed int: %d\n"), si );