From f7026c41c5587717a6978501d8a3e645629d4358 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 8 Dec 2014 18:23:37 +0100 Subject: [PATCH] Show button icons with wxWidgets 3.x.x too. #2372 --- lib/Slic3r/GUI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm index 969c7fa406..d089bbf297 100644 --- a/lib/Slic3r/GUI.pm +++ b/lib/Slic3r/GUI.pm @@ -59,7 +59,7 @@ our $Settings = { }, }; -our $have_button_icons = &Wx::wxVERSION_STRING =~ / 2\.9\.[1-9]/; +our $have_button_icons = &Wx::wxVERSION_STRING =~ / (?:2\.9\.[1-9]|3\.)/; our $small_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); $small_font->SetPointSize(11) if !&Wx::wxMSW; our $medium_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);