From 21da24e37223068e1a614314476c996b9d5a63ae Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 27 Mar 2015 17:59:40 +0100 Subject: [PATCH] Typo --- lib/Slic3r/GUI/AboutDialog.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GUI/AboutDialog.pm b/lib/Slic3r/GUI/AboutDialog.pm index b64bbea40..815da9e15 100644 --- a/lib/Slic3r/GUI/AboutDialog.pm +++ b/lib/Slic3r/GUI/AboutDialog.pm @@ -3,7 +3,7 @@ use strict; use warnings; use utf8; -use Wx qw(:font :html :misc :sizer :systemsettings); +use Wx qw(:font :html :misc :dialog :sizer :systemsettings); use Wx::Event qw(EVT_HTML_LINK_CLICKED); use Wx::Print; use Wx::Html; @@ -12,7 +12,7 @@ use base 'Wx::Dialog'; sub new { my $class = shift; my ($parent) = @_; - my $self = $class->SUPER::new($parent, -1, 'About Slic3r', wxDefaultPosition, [600, 300]); + my $self = $class->SUPER::new($parent, -1, 'About Slic3r', wxDefaultPosition, [600, 300], &Wx::wxCLOSE_BOX); $self->SetBackgroundColour(Wx::wxWHITE); my $hsizer = Wx::BoxSizer->new(wxHORIZONTAL);