Compatibility changes

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marc Flerackers
2002-11-14 15:48:57 +00:00
parent 16cedc602f
commit f45d1cc7e4
4 changed files with 28 additions and 36 deletions
-19
View File
@@ -301,25 +301,6 @@ void BControl::KeyDown(const char *bytes, int32 numBytes)
{
switch (bytes[0])
{
case B_UP_ARROW:
message->ReplaceInt64("when", (int64)system_time());
message->ReplaceInt32("key", 38);
message->ReplaceInt32("raw_char", B_TAB);
message->ReplaceInt32("modifiers", B_SCROLL_LOCK | B_SHIFT_KEY);
message->ReplaceInt8("byte", B_TAB);
message->ReplaceString("bytes", "");
Looper()->PostMessage(message);
break;
case B_DOWN_ARROW:
message->ReplaceInt64("when", (int64)system_time());
message->ReplaceInt32("key", 38);
message->ReplaceInt32("raw_char", B_TAB);
message->ReplaceInt8("byte", B_TAB);
message->ReplaceString("bytes", "");
Looper()->PostMessage(message);
break;
case B_ENTER:
case B_SPACE:
if (Value())