summaryrefslogtreecommitdiff
path: root/wx+/graph.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-10-19 10:53:07 -0400
committerB. Stack <bgstack15@gmail.com>2022-10-19 10:53:07 -0400
commita53560254596460a4778a27f50b89ce92f810055 (patch)
tree551fdc08cbece3cca567d04870b91eaa115a4675 /wx+/graph.h
parentMerge branch 'b11.26' into 'master' (diff)
downloadFreeFileSync-a53560254596460a4778a27f50b89ce92f810055.tar.gz
FreeFileSync-a53560254596460a4778a27f50b89ce92f810055.tar.bz2
FreeFileSync-a53560254596460a4778a27f50b89ce92f810055.zip
add upstream 11.2711.27
Diffstat (limited to 'wx+/graph.h')
-rw-r--r--wx+/graph.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/wx+/graph.h b/wx+/graph.h
index e9f6af32..2f73a643 100644
--- a/wx+/graph.h
+++ b/wx+/graph.h
@@ -326,11 +326,7 @@ private:
std::optional<wxBitmap> doubleBuffer_;
- using CurveList = std::vector<std::pair<SharedRef<CurveData>, CurveAttributes>>;
- CurveList curves_;
-
- //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"};
+ std::vector<std::pair<SharedRef<CurveData>, CurveAttributes>> curves_;
};
}
bgstack15