Bracket vararg macro definition with wxHAS_VARIADIC_MACROS.

This should fix tests compilation with VC6.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-26 15:50:37 +00:00
parent 81d79e8988
commit e4f3b467b8

View File

@@ -387,6 +387,7 @@ private:
wxExpectModal<> for your dialog type and implement its OnInvoked() wxExpectModal<> for your dialog type and implement its OnInvoked()
method. method.
*/ */
#ifdef wxHAS_VARIADIC_MACROS
#define wxTEST_DIALOG(codeToRun, ...) \ #define wxTEST_DIALOG(codeToRun, ...) \
{ \ { \
wxTEST_DIALOG_HOOK_CLASS wx_hook; \ wxTEST_DIALOG_HOOK_CLASS wx_hook; \
@@ -394,7 +395,7 @@ private:
codeToRun; \ codeToRun; \
wx_hook.CheckUnmetExpectations(); \ wx_hook.CheckUnmetExpectations(); \
} }
#endif /* wxHAS_VARIADIC_MACROS */
#endif // !WXBUILDING #endif // !WXBUILDING