From 571b406bd60c4e7a308b26b250b6cba82c3f06c2 Mon Sep 17 00:00:00 2001 From: Pavel Karoukin Date: Sun, 27 Dec 2015 11:26:11 -0600 Subject: [PATCH] @farhaven: There's one more wxCLOSE in lib/Slic3r/GUI/Projector.pm, that one should probably be changed as well. --- lib/Slic3r/GUI/Projector.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Projector.pm b/lib/Slic3r/GUI/Projector.pm index af12b6b8c..28f4419e4 100644 --- a/lib/Slic3r/GUI/Projector.pm +++ b/lib/Slic3r/GUI/Projector.pm @@ -375,7 +375,7 @@ sub new { } { - my $buttons = $self->CreateStdDialogButtonSizer(wxCLOSE); + my $buttons = $self->CreateStdDialogButtonSizer(wxOK); EVT_BUTTON($self, wxID_CLOSE, sub { $self->_close; });