diff options
Diffstat (limited to 'wx+/graph.h')
-rwxr-xr-x | wx+/graph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/graph.h b/wx+/graph.h index bf0e7a70..e0c2c12b 100755 --- a/wx+/graph.h +++ b/wx+/graph.h @@ -342,7 +342,7 @@ private: using CurveList = std::vector<std::pair<std::shared_ptr<CurveData>, CurveAttributes>>; CurveList curves_; - //perf!!! generating the font is *very* expensive! don't do this repeatedly in Graph2D::render()! + //perf!!! generating the font is *very* expensive! => buffer for Graph2D::render()! const wxFont labelFont_ { wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, L"Arial" }; }; } |