projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable new events for VC9 too, it fails when linking in DLL build (#10000)
[wxWidgets.git]
/
tests
/
strings
/
vsnprintf.cpp
diff --git
a/tests/strings/vsnprintf.cpp
b/tests/strings/vsnprintf.cpp
index 61b9abae3f00f5ca234038e614cabfad2952161f..015480e869961796ce1a3fafdeca9582a627323d 100644
(file)
--- a/
tests/strings/vsnprintf.cpp
+++ b/
tests/strings/vsnprintf.cpp
@@
-19,6
+19,10
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
+#include "wx/crt.h"
+
+#if wxUSE_WXVSNPRINTF
+
#ifndef WX_PRECOMP
#include "wx/wx.h"
#include "wx/wxchar.h"
#ifndef WX_PRECOMP
#include "wx/wx.h"
#include "wx/wxchar.h"
@@
-549,3
+553,5
@@
void VsnprintfTestCase::Miscellaneous()
DoMisc(5, wxT("%%%%%"), 6, wxT("%%%%%%%%%%"));
DoMisc(6, wxT("%%%%12"), 7, wxT("%%%%%%%%%d"), 12);
}
DoMisc(5, wxT("%%%%%"), 6, wxT("%%%%%%%%%%"));
DoMisc(6, wxT("%%%%12"), 7, wxT("%%%%%%%%%d"), 12);
}
+
+#endif // wxUSE_WXVSNPRINTF