From 8e21028fa5e1040000792de3aa2ab773f66d8725 Mon Sep 17 00:00:00 2001 From: "Juraj K." <140317448+mostypc123@users.noreply.github.com> Date: Sat, 2 Nov 2024 12:30:34 +0100 Subject: [PATCH 1/3] Update tools.py --- tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools.py b/tools.py index acfee9d..c89b399 100644 --- a/tools.py +++ b/tools.py @@ -1,5 +1,6 @@ import wx import subprocess +import pywinstyles class Tool: def __init__(self, name, command): @@ -9,6 +10,7 @@ def __init__(self, name, command): class ToolRunnerApp(wx.Frame): def __init__(self, parent, title): super(ToolRunnerApp, self).__init__(parent, title=title, size=(400, 300)) + pywinstyles.apply_style(self, "win7") # Define tools with the filenames to execute self.tools = [ From a4282f7a0a8e5adb74f4f203a8224c22f4f2451f Mon Sep 17 00:00:00 2001 From: "Juraj K." <140317448+mostypc123@users.noreply.github.com> Date: Sat, 2 Nov 2024 12:32:01 +0100 Subject: [PATCH 2/3] Update map_of_marks.py --- tools/map_of_marks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/map_of_marks.py b/tools/map_of_marks.py index 387b380..4d18e0b 100644 --- a/tools/map_of_marks.py +++ b/tools/map_of_marks.py @@ -1,5 +1,6 @@ import wx import pyperclip +import pywinstyles # List of symbols to display in the GUI symbols = [ @@ -13,6 +14,7 @@ class SymbolCopyApp(wx.Frame): def __init__(self, *args, **kw): super(SymbolCopyApp, self).__init__(*args, **kw) + pywinstyles.apply_style(self, "win7") self.InitUI() From 298707f0c737fb0609e382aebf7feb4ca4aa2bb8 Mon Sep 17 00:00:00 2001 From: "Juraj K." <140317448+mostypc123@users.noreply.github.com> Date: Sat, 2 Nov 2024 12:33:34 +0100 Subject: [PATCH 3/3] Update md_preview.py --- tools/md_preview.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/md_preview.py b/tools/md_preview.py index bf246b4..5dc330c 100644 --- a/tools/md_preview.py +++ b/tools/md_preview.py @@ -3,6 +3,7 @@ import markdown import json import matplotlib.pyplot as plt +import pywinstyles """ I know that this is not called XediX, and it is @@ -14,6 +15,7 @@ class XediX(wx.Frame): def __init__(self, *args, **kw): super(XediX, self).__init__(*args, **kw) + pywinstyles.apply_style(self, "win7") self.SetTitle("Preview") self.SetSize(800, 600)