diff --git a/include/wx/testing.h b/include/wx/testing.h index a67585a130..6a729209cc 100644 --- a/include/wx/testing.h +++ b/include/wx/testing.h @@ -201,6 +201,7 @@ protected: int m_id; }; +#if wxUSE_FILEDLG template<> class wxExpectModal : public wxExpectModalBase @@ -222,6 +223,7 @@ protected: int m_id; }; +#endif // Implementation of wxModalDialogHook for use in testing, with // wxExpectModal and the wxTEST_DIALOG() macro. It is not intended for