compilation fix for ANSI build (added #if wxUSE_UNICODE)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-04 20:35:42 +00:00
parent 479574aab2
commit 1a5cd56aac

View File

@@ -466,10 +466,12 @@ void VsnprintfTestCase::BigToSmallBuffer()
wchar_t bufw[1024], bufw2[16], bufw3[4], bufw4;
char bufa[1024], bufa2[16], bufa3[4], bufa4;
#if wxUSE_UNICODE
Misc(bufw, 1024);
Misc(bufw2, 16);
Misc(bufw3, 4);
Misc(&bufw4, 1);
#endif // wxUSE_UNICODE
Misc(bufa, 1024);
Misc(bufa2, 16);