[futurebasic] [FB] window problem with FB 5.7.6

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2013 : Group Archive : Group : All Groups

From: Patrick GRIMONT <pgrimont@...>
Date: Thu, 27 Jun 2013 18:04:02 +0200
Dear FBphiles,

I had a program (named Clean&Extract) which compiled well with FB 5.4.8. 
and which fails to compile with FB 5.7.6.

The offending line is:
appearance window 1 ,"Genome",(0,0)-(500,700), _kDocumentWindowClass, ¬
                     _kWindowStandardDocumentAttributes 
_kWindowLiveResizeAttribute

and the error is:
Error: gcc:  [FB line: 135 in Clean&Extract]
'kWindowStandardDocumentAttributeskWindowLiveResizeAttribute' undeclared 
(first use in this function)
(Each undeclared identifier is reported only once
for each function it appears in.) in fn 'main' [line 141 of 
_2_Clean_Extract,Clean_Extract.m]
   FBAppearanceWindow( 1, PSstrcpy( STACK_PUSH, "\pGenome" ), &(Rect){0, 
0, 700, 500}, kDocumentWindowClass, 
kWindowStandardDocumentAttributeskWindowLiveResizeAttribute, 0 );

MacBook pro with MacOS 10.5.8

Is there some Include or toolbox declaration missing on top of my 
program (and not needed with 5.4.8) ?

Thank you for any suggestion

Patrick