Triangle class: add points array, change class to WX framework.
MainFrame: take off DrawPane object as separate class.
DrawPane: paint class that contain most of general paint and control function.