]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/testing.h
removing outdated code
[wxWidgets.git] / include / wx / testing.h
index 6a729209cc55def5447ab045eebde4e6b3bb6eaa..fce2c508ba73e70b3da5aea203590602e31e5c72 100644 (file)
@@ -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