]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/test.cpp
warn if wxVsnprintf() is not being used
[wxWidgets.git] / tests / test.cpp
index b26e73317f0e682dd3cf0ae5d457f2aa50581537..38c9175f9bd5903d6704d7bcc2359a09b0cb007d 100644 (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();
 };