>
> >>            if(startBtn->label() =3D=3D "Continue")
>
> Sorry for bursting in here after not reading the start of this thread. =
> The call above compares pointers, not text! This comparison is extremely =
> unlikely to ever succeed, and depends on compiler optimization.
>
> This would be better:
> >>     if(strcmp(startBtn->label(), "Continue")=3D=3D0)
>
>

yes point taken, i did not check anything in the docs for that one, just wrote 
it in, i will change, but it does compile and run without issue, compiled with 
gcc and all warnings -w ? i have never knuckled down and done any command line 
stuff since i used Pascal, also tested on a couple of machines one on Win7 
other win 2000 - ouch
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to