diff options
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; } |