danielle:
you can set style=wx.DEFAULT_FRAME_STYLE & ~wx.CLOSE_BOX for your frame. It works for normal frames, but I know litter about MDI. Just try it.
======= 2005-03-14 12:22:09 danielle wrote: =======
I couldn't
so I linked the event
self.Bind(wx.EVT_CLOSE, self.OnClose)
in a MyMdiChildFrame
to def OnClose()
def OnClose(self, event):
print "non !!"
without event.Skip()
but there will be an answer to your questionjan rienyer gadil a ?crit :
i am working on an MDIParentFrame and MDIChildFrame.
Now, what i want to do is make the ChildFrame not that
easy to close by removing the close button (the X on
the right most corner of the window) if this is
possible...how am i going to do this?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org.
= = = = = = = = = = = = = = = = = = = =
Bruce Who
HuXuZhao@hotmail.com
2005-03-14