On 01/15/13 23:44, Johan Vromans wrote:
Dave Hayes <d...@jetcafe.org> writes:
Ok...so I had a different idea. I made the help window so it will show
and hide on clicking the button repeatedly. But now...well see the
attached example.
Click the help button repeatedly. The 2nd time you Show() this window,
it goes right over the dialog box. The 1st and Nth times (where N !=
2) it goes where I told it to. What did I do wrong here?
With CitrusPerl 5.16.1 and wxWidgets 2.8 I see this behaviour. With
CitrusPerl 5.16.1 and wxWidgets 2.9 the program window and dialog window
are displayed in the top left of the screen, and the help window is
placed just right of it, at all clicks.
So it may be a bug in Wx 2.8.
As a datapoint, I'm using Perl 5.14.2 on FreeBSD at the moment. There
shouldn't be too much different in the perls, given that you can
reproduce the bug on a different OS with a different perl...
Thank you very much for the assistance.
--
Dave Hayes - Consultant - Altadena CA, USA - d...@jetcafe.org
>>>> *The opinions expressed above are entirely my own* <<<<
Nasrudin loaded his donkey with wood for the fire and
instead of sitting in its saddle, sat astride one of the
logs. "Why don't you sit in the saddle?" someone asked.
"What? And add my weight to what the poor animal has to
carry? My weight is on the _wood_ and it is going to stay
there."