Ignore:
Timestamp:
Dec 12, 2009, 12:48:34 AM (14 years ago)
Author:
ronosman
Message:

Feature 1318 added : new photo properties panel with Piwigo metadata and tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxChoiceFilteredPanel.pm

    r4094 r4475  
    6565
    6666
    67     my $self = $class->SUPER::new( $params->{parentwnd}, -1, wxDefaultPosition, wxDefaultSize );
     67    my $self = $class->SUPER::new( $params->{parentwnd}, $params->{id}||-1, wxDefaultPosition, wxDefaultSize );
    6868    $self->_init_panel;
    6969    $self->_init_properties($params);
    70 
     70printf("%s, %s\n", $self, $self->GetId);
    7171    $self->Refresh;
    7272
     
    8686       
    8787    $self->choices(
    88         $params->{choices}
     88        $params->{choices}|| sub { [] }
    8989    );
    9090
    9191    $self->selection(
    92         $params->{selection}
    93     );
    94 
    95     my $choices = $self->choices->() ||[];
     92        $params->{selection}|| sub{ [] }
     93    );
     94
     95    my $choices = $self->choices->();
    9696    $self->search_result(
    9797        []
     
    136136
    137137    $self->listchoices(
    138         Wx::CheckListBox->new( $self, -1, wxDefaultPosition, [320,300], [], 0 )
     138        Wx::CheckListBox->new( $self, -1, wxDefaultPosition, [320,200], [], 0 )
    139139    );
    140140    $vsizer->AddWindow( $self->listchoices, 0, wxALIGN_CENTER_VERTICAL|wxALL, 2 );
Note: See TracChangeset for help on using the changeset viewer.