Ignore:
Timestamp:
Dec 16, 2009, 9:20:29 PM (14 years ago)
Author:
ronosman
Message:

Feature 1332 added : new list and thumbnail display mode for photo selection.

File:
1 edited

Legend:

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

    r4490 r4504  
    7171    $self->_init_panel;
    7272    $self->_init_properties($params);
    73 printf("%s, %s\n", $self, $self->GetId);
     73
    7474    $self->Refresh;
    7575
     
    164164    my ( $self, $choices ) = @_;
    165165
     166        $self->listchoices->Freeze;
    166167    $self->listchoices->Clear;
    167168    $self->id_lookup({});
     
    181182        $row++;
    182183    }@{$choices};
     184        $self->listchoices->Thaw;
    183185
    184186}
     
    205207   
    206208    my $choices = $self->choices->();
     209    $self->listchoices->Freeze;
    207210    map {
    208211        $self->listchoices->Check($row, 0) ;   
    209212        $row++;
    210213    }@$choices;
    211 
    212        
     214    $self->listchoices->Thaw;
    213215}
    214216
     
    220222    push @$selection, $self->id_from_name->{$selected} if defined $selected;
    221223
     224    $self->listchoices->Freeze;
    222225    map {
    223226        $self->listchoices->Check(
     
    228231    }
    229232    @{$selection};     
     233    $self->listchoices->Thaw;
    230234}
    231235
Note: See TracChangeset for help on using the changeset viewer.