From: Digital X. <dig...@us...> - 2007-03-21 14:34:49
|
Update of /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31196/orpg/gametree/nodehandlers Modified Files: containers.py core.py Log Message: Removed the MinSize enforcement from Spliter nodes Index: containers.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/containers.py,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** containers.py 21 Feb 2007 16:00:27 -0000 1.41 --- containers.py 21 Mar 2007 14:34:27 -0000 1.42 *************** *** 318,322 **** tmp = obj.get_use_panel(self.splitter) - tmp.SetMinSize(tmp.GetBestSize()) if self.split == '1': sash = tmp.GetBestSize()[1]+1 --- 318,321 ---- Index: core.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/core.py,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** core.py 19 Mar 2007 02:42:34 -0000 1.45 --- core.py 21 Mar 2007 14:34:27 -0000 1.46 *************** *** 124,130 **** self.myeditor = wx.Frame(None, -1, title) self.myeditor.Freeze() - self.myeditor.SetSize((400,400)) if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"]+'grid.ico', wx.BITMAP_TYPE_ICO) self.myeditor.SetIcon(icon) del icon --- 124,129 ---- self.myeditor = wx.Frame(None, -1, title) self.myeditor.Freeze() if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"] + 'grid.ico', wx.BITMAP_TYPE_ICO) self.myeditor.SetIcon(icon) del icon *************** *** 139,143 **** self.myeditor.SetSizer(sizer) self.myeditor.SetAutoLayout(True) - self.myeditor.Layout() (x, y) = self.myeditor.GetSize() --- 138,141 ---- *************** *** 171,177 **** self.mywindow = wx.Frame(None, -1, caption) self.mywindow.Freeze() ! #self.mywindow.SetSize((400,400)) if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"]+'note.ico', wx.BITMAP_TYPE_ICO) self.mywindow.SetIcon(icon) del icon --- 169,175 ---- self.mywindow = wx.Frame(None, -1, caption) self.mywindow.Freeze() ! if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"] + 'note.ico', wx.BITMAP_TYPE_ICO) self.mywindow.SetIcon(icon) del icon *************** *** 185,189 **** self.mywindow.SetSizer(sizer) self.mywindow.SetAutoLayout(True) - self.mywindow.Layout() (x, y) = self.mywindow.GetSize() --- 183,186 ---- *************** *** 207,211 **** self.myviewer = wx.Frame(None, -1, caption) if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"]+'grid.ico', wx.BITMAP_TYPE_ICO) self.myviewer.SetIcon(icon) del icon --- 204,208 ---- self.myviewer = wx.Frame(None, -1, caption) if wx.Platform == '__WXMSW__': ! icon = wx.Icon(orpg.dirpath.dir_struct["icon"] + 'grid.ico', wx.BITMAP_TYPE_ICO) self.myviewer.SetIcon(icon) del icon |