Minor code enhancement
Minor code enhancement

Extract extension using wxWidgets
haiqiangwang/heekscad,haiqiangwang/heekscad,haiqiangwang/heekscad,satovey/heekscad,Funcan/heekscad,satovey/heekscad,haiqiangwang/heekscad,Funcan/heekscad,Funcan/heekscad,satovey/heekscad,satovey/heekscad,Funcan/heekscad