|
@@ -247,6 +247,11 @@ class GLWindow(MapWindowBase, glcanvas.GLCanvas):
|
|
|
"and restart GUI.")
|
|
|
GMessage(message)
|
|
|
|
|
|
+ def GetContentScaleFactor(self):
|
|
|
+ if sys.platform == "darwin" and not CheckWxVersion(version=[4, 1, 0]):
|
|
|
+ return 1
|
|
|
+ return super().GetContentScaleFactor()
|
|
|
+
|
|
|
def InitFly(self):
|
|
|
"""Initialize fly through dictionary"""
|
|
|
fly = {'interval': 10, # interval for timerFly
|