In article <41******@news.seeder.net>, Austin <au****@maxtronic.com.tw> wrote:
i create a frame and a panel in that.
i hope the size of the frame is not to be adjusted.
How could i do ?
(a) Make sure your frame's style doesn't include wx.RESIZE_BORDER
or
(b) self.SetSizeHints(self.GetSize(), self.GetSize())
I believe the first is more portable (across wxPython versions and
platforms), but something like the second might be more useful if
you're setting the size yourself.
--
\S --
si***@chiark.greenend.org.uk --
http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomež se bera eadward ofdun hlęddre heafdes bęce bump bump bump