how to make a frame that can't be resized?

Hi, all
I use wx.MDIChildFrame to get a MDI child frame, but I don't like the frame to be resized.
And try this ... style = wx.THICK_FRAME | ~wx.RESIZE_BORDER. The result is that the child frame disappear. I also read the document about it. That says RESIZE_BORDER style implicit in wxTHICK_FRAME.
I am new to wxPython.Can anybody figure it out?(Windows XP sp2, python 2.4, wxPython 2.6)
Thank you!

Lialie wrote:

Hi, all
I use wx.MDIChildFrame to get a MDI child frame, but I don't like the frame to be resized.
And try this ... style = wx.THICK_FRAME | ~wx.RESIZE_BORDER. The result is that the child frame disappear. I also read the document about it. That says RESIZE_BORDER style implicit in wxTHICK_FRAME.
I am new to wxPython.Can anybody figure it out?(Windows XP sp2, python 2.4, wxPython 2.6)

Try style=wx.DEFAULT_FRAME_STYLE & ~ wx.RESIZE_BORDER

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!