Changeset 674
- Timestamp:
- 08/26/03 19:11:05 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBSkinning/RBSkinning/wxPythonSkin/layout.py
r607 r674 56 56 # Opposite is default vertical 57 57 'opposite': (wx.wxBoxSizer, (wx.wxVERTICAL,)), 58 'same': (wx.wxBoxSizer, (wx.wxVERTICAL,)), 58 59 'vertical': (wx.wxBoxSizer, (wx.wxVERTICAL,)), 59 60 'vert': (wx.wxBoxSizer, (wx.wxVERTICAL,)), … … 112 113 orientation = 'horizontal' 113 114 else: orientation = 'vertical' 115 elif orientation == 'same': 116 orientation = 'vertical' # New Default 117 # Calculate the "real" value 118 try: GetOrientation = parentLayout.GetOrientation 119 except AttributeError: pass 120 else: 121 if GetOrientation() == wx.wxVERTICAL: 122 orientation = 'vertical' 123 else: orientation = 'horizontal' 114 124 115 125 # Create the layout sizer
