X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18f42b94df62068a19258b96ac7f569d4d3ba400..0681e07a14b413b426366005f1c24f88b8702733:/samples/typetest/typetest.cpp diff --git a/samples/typetest/typetest.cpp b/samples/typetest/typetest.cpp index 61a6de06df..0f3a339c0b 100644 --- a/samples/typetest/typetest.cpp +++ b/samples/typetest/typetest.cpp @@ -25,7 +25,7 @@ #include "typetest.h" -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -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