From 3a1bf865b6c1b6b7c096eaf6dab91a465319488a Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 4 Apr 2005 00:52:23 +0000 Subject: Added DataX --- src/dialog.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/dialog.cpp') diff --git a/src/dialog.cpp b/src/dialog.cpp index 7a26a16..d8bea39 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -102,6 +102,28 @@ void Dialog::SetMenuProc(Window *owner, W32DLibCallback callback) } +// ------------------------------------------------------------ +// +void Dialog::SetData() +{ + for(ControlSet::iterator i=m_cset.begin();i!=m_cset.end();++i) + { + (*i)->DoDataExchange(true); + } +} + + +// ------------------------------------------------------------ +// +void Dialog::GetData() +{ + for(ControlSet::iterator i=m_cset.begin();i!=m_cset.end();++i) + { + (*i)->DoDataExchange(false); + } +} + + // ------------------------------------------------------------ // -- cgit v1.2.3