From 4f179a5197331fc432ce2d660fa6b3d60c69a99e Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Thu, 28 Jun 2012 23:20:10 +0200 Subject: [PATCH] Explicitly set top level window (to ensure the wizard is not assumed to be the top level window) --- lib/Slic3r/GUI.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm index e33319234..7f1787ad3 100644 --- a/lib/Slic3r/GUI.pm +++ b/lib/Slic3r/GUI.pm @@ -56,6 +56,7 @@ sub OnInit { my $frame = Wx::Frame->new(undef, -1, 'Slic3r', [-1, -1], [760,520], wxDEFAULT_FRAME_STYLE); $frame->SetIcon(Wx::Icon->new("$Slic3r::var/Slic3r_128px.png", &Wx::wxBITMAP_TYPE_PNG) ); $frame->{skeinpanel} = Slic3r::GUI::SkeinPanel->new($frame); + $self->SetTopWindow($frame); # status bar $frame->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($frame, -1);