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