mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 06:44:56 +08:00
Only call wxWidgets method wxApp::SetAppDisplayName for wxWidgets 3.0
and newer.
This commit is contained in:
parent
d530bdba67
commit
12b7818caa
@ -92,7 +92,7 @@ sub OnInit {
|
|||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
|
|
||||||
$self->SetAppName('Slic3r');
|
$self->SetAppName('Slic3r');
|
||||||
$self->SetAppDisplayName('Slic3r Prusa Edition');
|
$self->SetAppDisplayName('Slic3r Prusa Edition') if (Wx::wxVERSION >= 3.000000);
|
||||||
Slic3r::debugf "wxWidgets version %s, Wx version %s\n", &Wx::wxVERSION_STRING, $Wx::VERSION;
|
Slic3r::debugf "wxWidgets version %s, Wx version %s\n", &Wx::wxVERSION_STRING, $Wx::VERSION;
|
||||||
|
|
||||||
$self->{notifier} = Slic3r::GUI::Notifier->new;
|
$self->{notifier} = Slic3r::GUI::Notifier->new;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user