diff --git a/customtkinter/__init__.py b/customtkinter/__init__.py index 891807c..133517a 100644 --- a/customtkinter/__init__.py +++ b/customtkinter/__init__.py @@ -24,7 +24,7 @@ def enable_macos_darkmode(): os.system("defaults write -g NSRequiresAquaSystemAppearance -bool No") sys.stderr.write("WARNING (customtkinter.enable_macos_darkmode): " + - "This command forces macOS dark-mode on all programs." + + "This command forces macOS dark-mode on all programs. " + "This can cause bugs on some other programs.\n" + "Disable it by calling customtkinter.disable_macos_darkmode() at the end of the program.\n") else: @@ -69,7 +69,7 @@ def update_appearance_mode(): if isinstance(AppearanceModeTracker.system_mode_listener, SystemAppearanceModeListenerNoThread): AppearanceModeTracker.system_mode_listener.update() else: - sys.stderr.write("WARNING (customtkinter.update_theme): no need to call update_theme, because " + + sys.stderr.write("WARNING (customtkinter.update_theme): no need to call update_appearance_mode, because " + "customtkinter is constantly searching for a mode change in a background thread.\n") diff --git a/customtkinter/customtkinter_checkbox.py b/customtkinter/customtkinter_checkbox.py index 684f206..46fab71 100644 --- a/customtkinter/customtkinter_checkbox.py +++ b/customtkinter/customtkinter_checkbox.py @@ -80,10 +80,12 @@ class CTkCheckBox(tkinter.Frame): self.canvas = tkinter.Canvas(master=self, highlightthicknes=0, width=self.width, - height=self.height, - cursor="pointinghand") + height=self.height) self.canvas.pack(side='left') + if sys.platform == "darwin" and self.state == tkinter.NORMAL: + self.canvas.configure(cursor="pointinghand") + if self.hover is True: self.canvas.bind("", self.on_enter) self.canvas.bind("", self.on_leave)