Mark the Slice... button as the default one (just cosmetics)
This commit is contained in:
parent
555c23069d
commit
aa98a9deb2
@ -118,6 +118,7 @@ sub new {
|
|||||||
$buttons_sizer = Wx::BoxSizer->new(wxHORIZONTAL);
|
$buttons_sizer = Wx::BoxSizer->new(wxHORIZONTAL);
|
||||||
|
|
||||||
my $slice_button = Wx::Button->new($self, -1, "Slice...");
|
my $slice_button = Wx::Button->new($self, -1, "Slice...");
|
||||||
|
$slice_button->SetDefault();
|
||||||
$buttons_sizer->Add($slice_button, 0);
|
$buttons_sizer->Add($slice_button, 0);
|
||||||
EVT_BUTTON($self, $slice_button, sub { $self->do_slice });
|
EVT_BUTTON($self, $slice_button, sub { $self->do_slice });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user