diff options
| author | Ian C <ianc@noddybox.co.uk> | 2005-04-11 00:03:53 +0000 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2005-04-11 00:03:53 +0000 |
| commit | f8ba03594573e8487927c236180ad5895e73db17 (patch) | |
| tree | 7ca7b24be4ce8adb411bd74ec4c5fd27c8a360c7 /src/control.cpp | |
| parent | 517295ea0928dfd2bd30d997949c472f68d22e06 (diff) | |
Some changes and added RadioButton
Diffstat (limited to 'src/control.cpp')
| -rw-r--r-- | src/control.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/control.cpp b/src/control.cpp index fa8e2e7..6464ee1 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -67,6 +67,7 @@ BOOL Control::ProcessMessage(UINT msg, WPARAM wp, LPARAM lp) WORD hi=HIWORD(wp); CallbackList::const_iterator i; + int ret=FALSE; for(i=m_cblist.begin();i!=m_cblist.end();++i) { @@ -79,12 +80,12 @@ BOOL Control::ProcessMessage(UINT msg, WPARAM wp, LPARAM lp) Window *owner=details.owner; W32DLibCallback cb=details.cb; - return (owner->*cb)(msg,wp,lp); + ret|=(owner->*cb)(msg,wp,lp); } } } - return FALSE; + return ret; } |
