size of wxNotebook

Jacek Popławski jp at no.more.hosts
Sun Jan 12 05:49:09 CET 2003

I need to create wxFrame with one wxNotebook and few wxButtons. 
I've created:

self.ButtonsSizer with wxButtons
self.NotebookSizer with wxNotebookSizer
self.Box with ButtonsSizer and NotebokSizer

The problem is - whole window is to big. Notebook contains big pages and after
self.Box.Fit() window scales up. 

How can I set size of wxNotebook?

PS. What is wrong with self.NotebookSizer.SetMinSize(wxSize(300,200))? Why it
extends 300x200?

Free Software - find interesting programs and change them
NetHack - meet interesting creatures, kill them and eat their bodies
Usenet - meet interesting people from all over the world and flame them
Decopter - unrealistic helicopter simulator, get it from

More information about the Python-list mailing list