diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-04 00:52:23 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-04 00:52:23 +0000 |
commit | 3a1bf865b6c1b6b7c096eaf6dab91a465319488a (patch) | |
tree | 3495061e6af6b819b075b6fdaae66dc115bf187e /src/dialog.cpp | |
parent | 98164e7547f7ea21204e69885158cd0494e08c5d (diff) |
Added DataX
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r-- | src/dialog.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp index 7a26a16..d8bea39 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -104,6 +104,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); + } +} + + +// ------------------------------------------------------------ +// BOOL Dialog::InstanceProc(HWND wnd, UINT msg, WPARAM wp, LPARAM lp) { |