Prevent BTextControl from eating scripting messages it doesn't handle (though it doesn't currently handle any). Updated TODO note to clarify this. Fixes ticket #3494.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29360 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-02-28 19:59:16 +00:00
parent afd265501f
commit 4438cb3b69

View File

@ -547,8 +547,12 @@ BTextControl::MessageReceived(BMessage *msg)
switch(msg->what) {
case B_SET_PROPERTY:
case B_GET_PROPERTY:
// TODO
break;
// TODO: implement these.
// fall through and pass to BControl
// until implemented - note that we will still
// need to pass these up the chain for any scripting
// messages we don't handle ourselves regardless.
default:
BControl::MessageReceived(msg);
break;