Hi,
I am not able to put the panel inside the wxMDIParentFrame..If want to put, what i have to do...pls see the below code and give me the solution
from wxPython.wx import *
from wxScrolledWindow import MyCanvas
class MyParentFrame(wxWi,wxPanel):
def __init__(self):
par = wxFrame.__init__(self, None, -1, "MDI Parent", size=(600,400),
style = wxDEFAULT_FRAME_STYLE )
self.winCount = 0
menu = wxMenu()
menu.Append(5000, "&New Window")
menu.AppendSeparator()
menu.Append(5001, "E&xit")
menubar = wxMenuBar()
menubar.Append(menu, "&File")
self.SetMenuBar(menubar)
self.CreateStatusBar()
pan = MyPanel(self,self)
class MyPanel(wxPanel):
def __init__(self, parent, log):
wxPanel.__init__(self, parent, -1)
Thanks & Regards
Bala