diff options
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) { |