mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
Explicitly set top level window (to ensure the wizard is not assumed to be the top level window)
This commit is contained in:
@@ -56,6 +56,7 @@ sub OnInit {
|
|||||||
my $frame = Wx::Frame->new(undef, -1, 'Slic3r', [-1, -1], [760,520], wxDEFAULT_FRAME_STYLE);
|
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->SetIcon(Wx::Icon->new("$Slic3r::var/Slic3r_128px.png", &Wx::wxBITMAP_TYPE_PNG) );
|
||||||
$frame->{skeinpanel} = Slic3r::GUI::SkeinPanel->new($frame);
|
$frame->{skeinpanel} = Slic3r::GUI::SkeinPanel->new($frame);
|
||||||
|
$self->SetTopWindow($frame);
|
||||||
|
|
||||||
# status bar
|
# status bar
|
||||||
$frame->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($frame, -1);
|
$frame->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($frame, -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user