Changeset 4219


Ignore:
Timestamp:
04/28/09 10:09:26 (3 years ago)
Author:
jquelin
Message:

setting default dialog buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Dialog/PluginManager.pm

    r4218 r4219  
    287287    my $hbox2 = Wx::BoxSizer->new(Wx::wxHORIZONTAL); 
    288288    $vbox->Add( $hbox2, 0, Wx::wxALL | Wx::wxEXPAND, 1 ); 
    289     my $b1 = Wx::Button->new( $self, -1, 'Button 1' ); 
     289    my $b1 = Wx::Button->new( $self, Wx::wxID_OK, 'Button 1' ); 
    290290    my $b2 = Wx::Button->new( $self, -1, Wx::gettext('Preferences') ); 
    291     my $b3 = Wx::Button->new( $self, -1, Wx::gettext('Close') ); 
     291    my $b3 = Wx::Button->new( $self, Wx::wxID_CANCEL, Wx::gettext('Close') ); 
    292292    Wx::Event::EVT_BUTTON( $self, $b1, \&_on_button_clicked ); 
    293293    Wx::Event::EVT_BUTTON( $self, $b2, \&_on_butprefs_clicked ); 
Note: See TracChangeset for help on using the changeset viewer.