Re: XRC modify

2010-10-08 Thread Laslo Forro
Indeed. Thank you! On Sat, Oct 2, 2010 at 10:19 PM, herbert breunung deirdre_s...@web.dewrote: $cb-Clear(); $cb-Append($_) for @strings Am 02.10.2010 16:16, schrieb Laslo Forro: I am reading the material from the link, but I still can not find

wxMAC - SetFrontProcess / ForeGround Application

2010-10-08 Thread Mark Dootson
Hi, The changes to Wx that allow use with the standard Perl executable on Mac have caused me a few issues. Using a syntax editor ( I use Komodo but I would guess Padre etc will have the same problems ) is now impossible as any process spawned to check syntax is brought to the front and

Empty Wx::DatePickerCtrl

2010-10-08 Thread Steve Cookson
Hi Guys, I'd like to create an empty DatePickerCtrl which I understand I have to do with wxDefaultDateTime and wxDP_ALLOW_NONE. I see that wxDefaultDateTime is not exported. What is this? Is there some sort of anonymous array or hash I could pass instead of wxDefaultDateTime? Regards Steve

Re: Empty Wx::DatePickerCtrl

2010-10-08 Thread Mark Dootson
Hi, Wx::DateTime-new() will give you a default time - so: my $dpick = Wx::DatePickerCtrl-new( $parent, -1, Wx::DateTime-new(), wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE ); Regards Mark On 09/10/2010 00:32, Steve Cookson wrote: Hi Guys, I'd like to create

Re: Empty Wx::DatePickerCtrl

2010-10-08 Thread Jiří Pavlovský
On 9.10.2010 1:54, Mark Dootson wrote: Hi, Wx::DateTime-new() will give you a default time - so: That will give a today's date, not empty one which he wants. I don't knwo whether that is possible? I also ended up using Wx::DateTime-new()

Re: Empty Wx::DatePickerCtrl

2010-10-08 Thread Mark Dootson
Hi, Wx::DateTime-new() gives you the same as wxDefaultDateTime or wxInvalidDateTime, not the current datetime. What happens when you pass this to Wx::DatePickerCtrl is defined in the docs. i.e. Wx::DatePickerCtrl will convert to the current datetime. However, if you pass style

Re: Empty Wx::DatePickerCtrl

2010-10-08 Thread Mark Dootson
Hi, Checked out how this works across wxMSW, wxGTK and wxMAC. The following does what you want on all platforms: my $dpick = Wx::DatePickerCtrl-new( $parent, -1, Wx::DateTime-new(), wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE ); my $date = Wx::DateTime-new();