Changeset 827


Ignore:
Timestamp:
11/08/08 15:27:46 (3 years ago)
Author:
hjansen
Message:
  • Fixed positioning of choice box
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Padre/Pod/Frame.pm

    r826 r827  
    4646    $but_s->Add( $forward ); 
    4747 
    48     # TODO: remove magic values and just add the Choice box after the buttons 
    4948    # TODO: update list when a file is opened 
    50     $choice = Wx::Choice->new( 
    51         $panel, 
    52         -1, 
    53         [ 175, 5 ], 
    54         [ -1, 32 ], 
    55         [ 
    56             Padre::DB->get_recent_pod 
    57         ] 
    58     ); 
     49    $choice = Wx::Choice->new( $panel, wxID_ANY, [ 0, 0 ], Wx::wxDefaultSize, scalar(Padre::DB->get_recent_pod), [ Padre::DB->get_recent_pod ] ); 
     50    $but_s->Add($choice); 
    5951    EVT_CHOICE( $panel, $choice, \&on_selection ); 
    6052 
Note: See TracChangeset for help on using the changeset viewer.