[Greater-commits] r340 - trunk/GREAT-ER/SciParam/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 30 15:26:33 CEST 2011


Author: aheinecke
Date: 2011-06-30 15:26:32 +0200 (Thu, 30 Jun 2011)
New Revision: 340

Modified:
   trunk/GREAT-ER/SciParam/UI/notebook.py
Log:
Correct sizer usage in sciparam to boxsizer


Modified: trunk/GREAT-ER/SciParam/UI/notebook.py
===================================================================
--- trunk/GREAT-ER/SciParam/UI/notebook.py	2011-06-30 13:24:55 UTC (rev 339)
+++ trunk/GREAT-ER/SciParam/UI/notebook.py	2011-06-30 13:26:32 UTC (rev 340)
@@ -60,7 +60,8 @@
 
     def __init__(self, parent, id, parameter):
         wxNotebook.__init__(self, parent, id, style=wxNB_MULTILINE)
-        self.sizer = wxNotebookSizer(self)
+        self.sizer = wxBoxSizer()
+        self.sizer.Add(self)
         self.pages = []
         self.parent = parent
 



More information about the Greater-commits mailing list