--- np2/macosx/toolwin.cpp 2003/11/03 17:36:24 1.2 +++ np2/macosx/toolwin.cpp 2003/11/05 15:12:17 1.3 @@ -12,6 +12,9 @@ #include "soundmng.h" #include "fdefine.h" +//for 10.2 +//#define JAGUAR + enum { IDC_TOOLHDDACC = 0, IDC_TOOLFDD1ACC, @@ -441,6 +444,8 @@ static void toolwindestroy(void) { static pascal OSStatus cfWinproc(EventHandlerCallRef myHandler, EventRef event, void* userData) { OSStatus err = eventNotHandledErr; HICommand cmd; + ControlRef sub; + int i; if (GetEventClass(event)==kEventClassCommand && GetEventKind(event)==kEventCommandProcess ) { GetEventParameter(event, kEventParamDirectObject, typeHICommand, NULL, sizeof(HICommand), NULL, &cmd); @@ -497,6 +502,17 @@ static pascal OSStatus cfWinproc(EventHa err=noErr; break; + case kEventWindowDrawContent: + case kEventWindowShown: + for (i=0; i