summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-06-12 18:23:51 +0200
committerGitHub <noreply@github.com>2023-06-12 18:23:51 +0200
commit6c1a7d2ec932bc5786fd96ad4e36149d9f9a30af (patch)
treef1baa6d439863c530eaec126a0f918c5fb7a2836 /lib
parentaee7e2f626574e4751f197c35268684cbf5ddee0 (diff)
wxpython version (#2360)
update windows and linux wxpython version to 4.2.1
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/lettering.py6
-rw-r--r--lib/extensions/params.py7
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/extensions/lettering.py b/lib/extensions/lettering.py
index c0072644..fec48100 100644
--- a/lib/extensions/lettering.py
+++ b/lib/extensions/lettering.py
@@ -100,12 +100,6 @@ class LetteringFrame(wx.Frame):
self.load_settings()
self.apply_settings()
- def InitLocale(self):
- # This is necessary because of https://github.com/inkstitch/inkstitch/issues/1186
- if sys.platform.startswith('win'):
- import locale
- locale.setlocale(locale.LC_ALL, "C")
-
def load_settings(self):
"""Load the settings saved into the SVG group element"""
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 12d38232..540cc7bb 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -472,13 +472,6 @@ class ParamsTab(ScrolledPanel):
class SettingsFrame(wx.Frame):
def __init__(self, *args, **kwargs):
- # This is necessary because of https://github.com/inkstitch/inkstitch/issues/1186
- if sys.platform.startswith('win'):
- import locale
- locale.setlocale(locale.LC_ALL, "C")
- lc = wx.Locale()
- lc.Init(wx.LANGUAGE_DEFAULT)
-
self.tabs_factory = kwargs.pop('tabs_factory', [])
self.cancel_hook = kwargs.pop('on_cancel', None)
self.metadata = kwargs.pop('metadata', [])