summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IvyProbe/IvyProbeDlg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/IvyProbe/IvyProbeDlg.h b/IvyProbe/IvyProbeDlg.h
index bf59474..0823c38 100644
--- a/IvyProbe/IvyProbeDlg.h
+++ b/IvyProbe/IvyProbeDlg.h
@@ -9,6 +9,13 @@
#endif // _MSC_VER >= 1000
#include "Ivy.h"
+#ifdef USE_ETS
+#include "ETSLayout.h"
+#define MyDialog ETSLayoutDialog
+#else
+#define MyDialog CDialog
+#endif
+#include "HistoryEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
@@ -44,8 +51,9 @@ class CTestDlg : public MyDialog, public IvyApplicationCallback
public:
CTestDlg(CWnd* pParent = NULL); // standard constructor
+#ifdef USE_ETS
DECLARE_LAYOUT();
-
+#endif
CHistoryEdit m_text;
// Dialog Data
//{{AFX_DATA(CTestDlg)