mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-06 03:08:46 -04:00
17 lines
577 B
C++
17 lines
577 B
C++
$NetBSD: patch-apps_edit_src_gdssourc_text.cpp,v 1.1 2012/10/20 22:03:01 joerg Exp $
|
|
|
|
--- apps/edit/src/gdssourc/text.cpp.orig 2012-10-20 11:58:47.000000000 +0000
|
|
+++ apps/edit/src/gdssourc/text.cpp
|
|
@@ -61,9 +61,10 @@ void Text::DoWrite(DrawDriver& dr)
|
|
|
|
dr.SetSelected(GetSelect());
|
|
|
|
+ wxTransformMatrix tmp(*dr.GetMatrix() * *GetRelativeMatrix());
|
|
dr.GDSDrawText(_text, min_point.GetX(), min_point.GetY(),
|
|
max_point.GetX(), max_point.GetY(),
|
|
- this, &(*dr.GetMatrix() * *GetRelativeMatrix()));
|
|
+ this, &tmp);
|
|
|
|
}
|
|
|