git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53857
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#pragma hdrstop
#endif
+#if wxUSE_WXVSNPRINTF
+
#ifndef WX_PRECOMP
#include "wx/wx.h"
#include "wx/wxchar.h"
DoMisc(5, wxT("%%%%%"), 6, wxT("%%%%%%%%%%"));
DoMisc(6, wxT("%%%%12"), 7, wxT("%%%%%%%%%d"), 12);
}
+
+#endif // wxUSE_WXVSNPRINTF
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
-
#if wxUSE_GUI
// create a hidden parent window to be used as parent for the GUI controls
new wxFrame(NULL, wxID_ANY, "Hidden wx test frame");