int m_id;
};
+#if wxUSE_FILEDLG
template<>
class wxExpectModal<wxFileDialog> : public wxExpectModalBase<wxFileDialog>
int m_id;
};
+#endif
// Implementation of wxModalDialogHook for use in testing, with
// wxExpectModal<T> and the wxTEST_DIALOG() macro. It is not intended for
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