Applied changes by Bartlomiej Gorny for recent files and style panel fix.

cellpos & cellspan parameters are changed to type ParamPosSize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2004-10-11 00:00:31 +00:00
parent 3b35f6d8b3
commit 80389ff709
5 changed files with 59 additions and 6 deletions

View File

@@ -136,6 +136,7 @@ class Panel(wxNotebook):
if not self.GetPageCount() == 2:
self.AddPage(self.page2, 'Style')
self.page2.Layout()
self.page2.Show(True)
size = self.page2.GetSizer().GetMinSize()
self.page2.SetScrollbars(1, 1, size.width, size.height, 0, 0, True)
else: