the classes the pydrawframe class the pydrawframe class provides the main window for the application note that due to the separation of concerns introduced via the mvc architecturethe view class is only concerned with the layout of the componentsclass pydrawframe(wx frame)""main frame responsible for the layout of the ui ""def __init__(selftitle)super(__init__(nonetitle=titlesize=( )set up the controller self controller pydrawcontroller(selfset up the layout fo the ui self vertical_box_sizer wx boxsizer(wx verticalself setsizer(self vertical_box_sizerset up the menu bar self setmenubar(pydrawmenubar()set up the toolbar self vertical_box_sizer add(pydrawtoolbar(self)wx id_anywx expand wx allsetup drawing panel self drawing_panel drawingpanel(selfself controller get_modeself drawing_controller self drawing_panel controller add the panel to the frames sizer self vertical_box_sizer add(self drawing_panelwx id_anywx expand wx allset up the command event handling for the menu bar and tool bar self bind(wx evt_menuself controller command_menu_handlerself centre(