From: Mattia B. <mb...@ds...> - 2002-08-17 11:54:39
|
> TipProvider works nicely. A few questions though. > > The delete function for TipProvider doesn't seem to be implemented(?). > Is it not needed in wxPerl? Forgot. there will be a ->Destroy method in the next release. > 2) How does "#if wxUSE_STARTUP_TIPS" work in wxPerl? Compiling wxperl w/o wxTipWindow & co. is not (currently) possible, hence you don't need that. > Is it up to you to store the startup status in a config file, and then > query the status inside OnInit or MyFrame? If by startup status you mean the currently shown tip, and the status of the "show tips at atartup" flag, then yes. > 3) What about the checkbox for "show at startup". It seems checked on > every call to the TipProvider, even if the object was not deleted. How > do you control that checkbox? Pass a false value (typically 0), as the third parameter to Wx::ShowTip. All of this rigorously untested :-) HTH Mattia |