Skip to content

Commit 6304c8a

Browse files
committed
typo
1 parent 13405db commit 6304c8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

larch/wxxas/xasgui.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""
55
import os
66
import sys
7+
78
import time
89
import copy
910
from pathlib import Path
@@ -834,9 +835,9 @@ def createMenus(self):
834835
def onSystemDarkMode(self, event=None):
835836
"""notify on light/dark mode change"""
836837
appear = wx.SystemSettings.GetAppearance()
837-
isdark = appear.isDark()
838+
isdark = appear.IsDark()
838839
# would set light/dark mode
839-
840+
840841
def onwxInspect(self, evt=None):
841842
"wx inspection tool"
842843
wx.GetApp().ShowInspectionTool()

0 commit comments

Comments
 (0)