Performance improvements

This commit is contained in:
cnjinhao
2015-01-09 08:12:20 +08:00
parent 750c3dffd5
commit 9a71f23ddd
16 changed files with 46 additions and 56 deletions

View File

@@ -547,7 +547,7 @@ namespace nana
draw_method * clone() const override
{
auto p = new draw_graph;
p->graph.make(graph.width(), graph.height());
p->graph.make(graph.size());
graph.paste(p->graph, 0, 0);
return p;
}