mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02:00
Fix circular import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,7 +53,6 @@ from time import clock
|
||||
import wx
|
||||
|
||||
from .Utilities import BBox
|
||||
from . import GUIMode
|
||||
|
||||
|
||||
## A global variable to hold the Pixels per inch that wxWindows thinks is in use
|
||||
@@ -2869,6 +2868,7 @@ class FloatCanvas(wx.Panel):
|
||||
|
||||
self.SetProjectionFun(ProjectionFun)
|
||||
|
||||
from . import GUIMode
|
||||
self.GUIMode = None # making sure the arrribute exists
|
||||
self.SetMode(GUIMode.GUIMouse()) # make the default Mouse Mode.
|
||||
|
||||
|
Reference in New Issue
Block a user