>>              if(startBtn->label() == "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")==0)


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to