title: Design of class for a GUI frame
body: <p>I have a class <strong>MainFrame</strong> (subclass of <strong>wxFrame</strong>)
  Now this class does most of the work like
  creating Menubar, toolbar, panel etc.</p>
  
  <p>Now for each event in menu/ toolbar there is a associated function like OnSave, OnQuit, OnHelp etc.
  Currently (initial stage) i have made all the OnXYZ members of <strong>MainFrame</strong>.
  But such a design is making me uneasy. Soon there will be too many functions inside a class.</p>
  
  <p>My Question : How should i split the above method in several classes / files?</p>
  
  <p>Or more generally how should i design my <strong>MainFrame</strong>?</p>
  
  <p>NOTE : I have checked few question regarding GUI desgin on SO, but they are all for Python, tkinter so i didn't understand them well.</p>