comparison orpg/gametree/nodehandlers/containers.py @ 71:449a8900f9ac ornery-dev

Code refining almost completed, for this round. Some included files are still in need of some clean up, but this is test worthy.
author sirebral
date Thu, 20 Aug 2009 03:00:39 -0500
parents 4385a7d0efd1
children 0c936d98f9eb dcf4fbe09b70
comparison
equal deleted inserted replaced
70:52a5fa913008 71:449a8900f9ac
26 # Description: The file contains code for the container nodehandlers 26 # Description: The file contains code for the container nodehandlers
27 # 27 #
28 28
29 29
30 from core import * 30 from core import *
31 import wx.lib.splitter 31 from wx.lib.splitter import MultiSplitterWindow
32 32
33 33
34 ########################## 34 ##########################
35 ## base contiainer 35 ## base contiainer
36 ########################## 36 ##########################
293 def build_splitter_wnd(self, parent, mode): 293 def build_splitter_wnd(self, parent, mode):
294 self.split = self.atts.getAttribute("horizontal") 294 self.split = self.atts.getAttribute("horizontal")
295 295
296 self.pane = splitter_panel(parent, self) 296 self.pane = splitter_panel(parent, self)
297 297
298 self.splitter = wx.lib.splitter.MultiSplitterWindow(self.pane, -1, style=wx.SP_LIVE_UPDATE|wx.SP_3DSASH|wx.SP_NO_XP_THEME) 298 self.splitter = MultiSplitterWindow(self.pane, -1, style=wx.SP_LIVE_UPDATE|wx.SP_3DSASH|wx.SP_NO_XP_THEME)
299 299
300 if self.split == '1': 300 if self.split == '1':
301 self.splitter.SetOrientation(wx.VERTICAL) 301 self.splitter.SetOrientation(wx.VERTICAL)
302 else: 302 else:
303 self.splitter.SetOrientation(wx.HORIZONTAL) 303 self.splitter.SetOrientation(wx.HORIZONTAL)