Ignore:
Timestamp:
May 28, 2009, 9:28:28 PM (15 years ago)
Author:
ronosman
Message:

Feature 1015 added : save current image selection and reload preview when pLoader starts.

File:
1 edited

Legend:

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

    r3359 r3362  
    3939             wxLIST_NEXT_ALL
    4040             wxLIST_STATE_SELECTED
    41              wxLIST_STATE_DONTCARE
     41             wxLIST_STATE_DONTCARE
     42             wxLIST_STATE_FOCUSED
    4243         /;
    4344use Wx::Event qw/
     
    154155}
    155156
     157sub SelectItem {
     158    my ( $self, $index ) = @_;
    156159
     160    $self->SetItemState(
     161        $index,
     162        wxLIST_STATE_SELECTED,
     163        wxLIST_STATE_SELECTED
     164    ); 
     165}
    157166
    1581671;
Note: See TracChangeset for help on using the changeset viewer.