Don't use printf() with non-literal string as format.
Replace calls to printf() with puts() in the typetest sample. See #14311. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d87098c062
commit
a0b13884b4
@ -892,10 +892,10 @@ void MyApp::DoUnicodeDemo(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
printf( "\n\nConversion with wxConvLocal:\n" );
|
||||
wxConvCurrent = &wxConvLocal;
|
||||
printf( (const char*) str.mbc_str() );
|
||||
puts( str.mbc_str() );
|
||||
printf( "\n\nConversion with wxConvLibc:\n" );
|
||||
wxConvCurrent = &wxConvLibc;
|
||||
printf( (const char*) str.mbc_str() );
|
||||
puts( str.mbc_str() );
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user