mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01: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
|
import wx
|
||||||
|
|
||||||
from .Utilities import BBox
|
from .Utilities import BBox
|
||||||
from . import GUIMode
|
|
||||||
|
|
||||||
|
|
||||||
## A global variable to hold the Pixels per inch that wxWindows thinks is in use
|
## 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)
|
self.SetProjectionFun(ProjectionFun)
|
||||||
|
|
||||||
|
from . import GUIMode
|
||||||
self.GUIMode = None # making sure the arrribute exists
|
self.GUIMode = None # making sure the arrribute exists
|
||||||
self.SetMode(GUIMode.GUIMouse()) # make the default Mouse Mode.
|
self.SetMode(GUIMode.GUIMouse()) # make the default Mouse Mode.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user