Correct import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
import wx, wx.lib.customtreectrl, wx.gizmos
|
import wx, wx.lib.customtreectrl, wx.gizmos
|
||||||
import treemixin
|
try:
|
||||||
|
import treemixin
|
||||||
|
except ImportError:
|
||||||
|
from wx.lib.mixins import treemixin
|
||||||
|
|
||||||
|
overview = treemixin.__doc__
|
||||||
|
|
||||||
class TreeModel(object):
|
class TreeModel(object):
|
||||||
''' TreeModel holds the domain objects that are shown in the different
|
''' TreeModel holds the domain objects that are shown in the different
|
||||||
|
@@ -1,4 +1,9 @@
|
|||||||
import wx, wx.gizmos, wx.lib.customtreectrl, unittest, treemixin
|
import wx, wx.gizmos, wx.lib.customtreectrl, unittest
|
||||||
|
try:
|
||||||
|
import treemixin
|
||||||
|
except ImportError:
|
||||||
|
from wx.lib.mixins import treemixin
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# VirtualTree tests
|
# VirtualTree tests
|
||||||
|
Reference in New Issue
Block a user