X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b7a7b8cd6e2e711097a754c19054302a8632c1a..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/testing.h diff --git a/include/wx/testing.h b/include/wx/testing.h index 6a729209cc..fce2c508ba 100644 --- a/include/wx/testing.h +++ b/include/wx/testing.h @@ -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