Mark the Slice... button as the default one (just cosmetics)

This commit is contained in:
Alessandro Ranellucci 2012-02-20 12:52:40 +01:00
parent 555c23069d
commit aa98a9deb2

View File

@ -118,6 +118,7 @@ sub new {
$buttons_sizer = Wx::BoxSizer->new(wxHORIZONTAL);
my $slice_button = Wx::Button->new($self, -1, "Slice...");
$slice_button->SetDefault();
$buttons_sizer->Add($slice_button, 0);
EVT_BUTTON($self, $slice_button, sub { $self->do_slice });