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 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


Reply via email to