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:
parent
7de1a0d196
commit
9f7a07ab9f
@ -70,6 +70,14 @@ bool TestApp::OnInit()
|
|||||||
{
|
{
|
||||||
cout << "Test program for wxWidgets\n"
|
cout << "Test program for wxWidgets\n"
|
||||||
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
|
<< "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();
|
return wxAppConsole::OnInit();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user