Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-11-03 11:15:30 +0300
committerbubnikv <bubnikv@gmail.com>2016-11-03 11:15:30 +0300
commit12b7818caa436d6c84f8be0e5ec6273ff37ec128 (patch)
treee0dcfa3400ba5edc276b3c75e62b1ebc047f4061 /lib
parentd530bdba67d2a73abd512ea5f8f69ed181620289 (diff)
Only call wxWidgets method wxApp::SetAppDisplayName for wxWidgets 3.0
and newer.
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm
index 572b44f9e..087f13cc2 100644
--- a/lib/Slic3r/GUI.pm
+++ b/lib/Slic3r/GUI.pm
@@ -92,7 +92,7 @@ sub OnInit {
my ($self) = @_;
$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;
$self->{notifier} = Slic3r::GUI::Notifier->new;