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:
Robin Dunn
2013-08-10 20:54:22 +00:00
parent cc9a32c846
commit 20dfedff42

View File

@@ -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.