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:
parent
81d79e8988
commit
e4f3b467b8
@ -387,6 +387,7 @@ private:
|
||||
wxExpectModal<> for your dialog type and implement its OnInvoked()
|
||||
method.
|
||||
*/
|
||||
#ifdef wxHAS_VARIADIC_MACROS
|
||||
#define wxTEST_DIALOG(codeToRun, ...) \
|
||||
{ \
|
||||
wxTEST_DIALOG_HOOK_CLASS wx_hook; \
|
||||
@ -394,7 +395,7 @@ private:
|
||||
codeToRun; \
|
||||
wx_hook.CheckUnmetExpectations(); \
|
||||
}
|
||||
|
||||
#endif /* wxHAS_VARIADIC_MACROS */
|
||||
|
||||
#endif // !WXBUILDING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user