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:
parent
afd265501f
commit
4438cb3b69
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user