Ignore:
Timestamp:
Jan 26, 2010, 8:26:42 AM (14 years ago)
Author:
ronosman
Message:

Re-upload management dialog : add wxSTAY_ON_TOP attribute to make it always visible.

File:
1 edited

Legend:

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

    r4475 r4750  
    2626             wxID_OK
    2727             wxGREEN
     28             wxSTAY_ON_TOP
    2829         /;
    2930#use base qw/Wx::Dialog Class::Accessor::Fast Uploader::GUI::DlgCommon/;
     
    3233                    EVT_UPDATE_UI
    3334                    EVT_BUTTON
    34                                         EVT_CLOSE
     35                    EVT_CLOSE
    3536                /;
    3637
     
    4344
    4445
    45     my $self = $class->SUPER::new( undef, -1, $params->{title}, wxDefaultPosition, wxDefaultSize);
     46    my $self = $class->SUPER::new( undef, -1, $params->{title}, wxDefaultPosition, wxDefaultSize, wxSTAY_ON_TOP);
    4647    # load controls
    4748    eval {
    4849      &main::Reupload($self, 1);
    4950
    50             $self->properties(
    51             $params->{properties}
     51        $self->properties(
     52            $params->{properties}
    5253        );
    5354        $self->InitLabels();
     
    5556        $self->_initEventHandlers();
    5657
    57                 if($@){
    58                         Wx::LogMessage("Error during dialogbox initialization");
    59                 }
    60         };
     58        if($@){
     59            Wx::LogMessage("Error during dialogbox initialization");
     60        }
     61    };
    6162
    6263    $self;   
     
    8182sub OnClose {
    8283    my ( $self, $event ) = @_;
    83        
    84         $self->_close;
     84   
     85    $self->_close;
    8586}
    8687
     
    8990
    9091    $self->GetProperties();
    91                
     92       
    9293    $self->Destroy;
    9394}
Note: See TracChangeset for help on using the changeset viewer.