This commit is contained in:
dougt%netscape.com 2000-05-17 23:00:19 +00:00
Родитель 68cac0b082
Коммит 8293d5fb8d
1 изменённых файлов: 7 добавлений и 10 удалений

Просмотреть файл

@ -186,7 +186,7 @@ static void DoIdleProcessing()
{ {
PR_Sleep(10); PR_Sleep(10);
} }
extern short SIOUXHandleOneEvent(EventRecord *userevent);
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
static OSErr HandleOneEvent() static OSErr HandleOneEvent()
{ {
@ -206,6 +206,8 @@ static OSErr HandleOneEvent()
case kHighLevelEvent: case kHighLevelEvent:
DoHighLevelEvent(&theEvent); DoHighLevelEvent(&theEvent);
break; break;
default:
SIOUXHandleOneEvent(&theEvent);
} }
} }
else else
@ -259,16 +261,11 @@ void main(void)
OSErr err; OSErr err;
char *argv[] = { NULL, NULL }; char *argv[] = { NULL, NULL };
#if 0
InitializeSIOUX(true);
printf("Welcome...\n");
#else
// initialize QuickDraw globals. This is the only Toolbox init that we // initialize QuickDraw globals. This is the only Toolbox init that we
// should do for an FBA // should do for an FBA
InitGraf(&qd.thePort); //InitGraf(&qd.thePort);
InitializeSIOUX(true);
MemoryInit(10); MemoryInit(10);
#endif // DEBUG
// initialize application globals // initialize application globals