summaryrefslogtreecommitdiff
path: root/wx+/image_tools.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-09-13 13:49:38 -0400
committerB. Stack <bgstack15@gmail.com>2023-09-13 13:49:38 -0400
commit7ed2158034ef5c26eed7fed9aa3c118d79a06fa8 (patch)
tree979e6628193f88d2140e722a3893321904869896 /wx+/image_tools.cpp
parentadd extra_log.h (diff)
downloadFreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.tar.gz
FreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.tar.bz2
FreeFileSync-7ed2158034ef5c26eed7fed9aa3c118d79a06fa8.zip
add upstream 13.013.0
Diffstat (limited to 'wx+/image_tools.cpp')
-rw-r--r--wx+/image_tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/image_tools.cpp b/wx+/image_tools.cpp
index 04f7f7ff..7b6d943b 100644
--- a/wx+/image_tools.cpp
+++ b/wx+/image_tools.cpp
@@ -170,7 +170,7 @@ wxImage zen::createImageFromText(const wxString& text, const wxFont& font, const
{
wxMemoryDC dc; //the context used for bitmaps
setScaleFactor(dc, getDisplayScaleFactor());
- dc.SetFont(font); //the font parameter of GetMultiLineTextExtent() is not evaluated on OS X, wxWidgets 2.9.5, so apply it to the DC directly!
+ dc.SetFont(font); //the font parameter of GetTextExtent() is not evaluated on OS X, wxWidgets 2.9.5, so apply it to the DC directly!
std::vector<std::pair<wxString, wxSize>> lineInfo; //text + extent
for (const wxString& line : splitCpy(text, L'\n', SplitOnEmpty::allow))
bgstack15