Set Wx app icon
This commit is contained in:
parent
e4e970f7e3
commit
770b94cb30
@ -19,7 +19,8 @@ sub OnInit {
|
||||
|
||||
my $frame = Wx::Frame->new( undef, -1, 'Slic3r', [-1, -1], Wx::wxDefaultSize,
|
||||
wxDEFAULT_FRAME_STYLE ^ (wxRESIZE_BORDER | wxMAXIMIZE_BOX) );
|
||||
#$frame->SetIcon(Wx::Icon->new("$FindBin::Bin/var/Slic3r.png", &Wx::wxBITMAP_TYPE_ANY) );
|
||||
Wx::Image::AddHandler(Wx::PNGHandler->new);
|
||||
$frame->SetIcon(Wx::Icon->new("$FindBin::Bin/var/Slic3r_128px.png", &Wx::wxBITMAP_TYPE_PNG) );
|
||||
|
||||
my $panel = Slic3r::GUI::SkeinPanel->new($frame);
|
||||
my $box = Wx::BoxSizer->new(wxVERTICAL);
|
||||
|
BIN
var/Slic3r_128px.png
Normal file
BIN
var/Slic3r_128px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue
Block a user