[wxPython] wxMDIChildFrame

Hi all,
  Sorry for (I assume) a newbie question, but how do I set the
window style of a window/class derived from wxMDIChildFrame? Here is part of the
code:

class PanelView(wxMDIChildFrame):
    def __init__(self,parent):

wxMDIChildFrame.__init__(self,parent,5000,"",wxDefaultPosition,wxDefaultSize,wxSIMPLE_BORDE
R)
        self.parent=parent

I've tried all sorts of combinations of the style parameter. State constants
like minimize, maximize seem to work-the child window is minimized or
maximized respectively. But when I try to set the border to simple,
etc I still get the default style (caption, min/max/iconize button, system menu,
etc. I want to make this window non-resizable, non min/max/iconize -able, etc.

Any suggestions greatly appreciated!

Roebrt

I've tried all sorts of combinations of the style parameter. State

constants

like minimize, maximize seem to work-the child window is minimized or
maximized respectively. But when I try to set the border to simple,
etc I still get the default style (caption, min/max/iconize button, system

menu,

etc. I want to make this window non-resizable, non min/max/iconize -able,

etc.

What platform/version are you on? Using just wxCAPTION works for me (on
win2k.)

···

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