warn if wxVsnprintf() is not being used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-02-11 02:27:29 +00:00
parent 7de1a0d196
commit 9f7a07ab9f

View File

@ -70,6 +70,14 @@ bool TestApp::OnInit()
{
cout << "Test program for wxWidgets\n"
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
#if !wxUSE_WXVSNPRINTF
cout << "\n";
cout << "WARNING: VsnprintfTestCase will test the system vsnprintf() function\n";
cout << " instead of the wxWidgets wxVsnprintf_ implementation!" << std::endl;
cout << "\n";
#endif
return wxAppConsole::OnInit();
};