Paint issue
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
In attached project, pushing button has no effect. If the line:
TextH := PaintBox1.Canvas.TextHeight('Hello');
is replaced by:
TextH := 15
a focus rectangle is drawn
Additional information:
This appears to be related to:
r48643 | zeljko | 2015-04-06 12:04:26 +0100 (Mon, 06 Apr 2015) | 2 lines
Gtk2: fixed crash when GtkDeviceContext widget isn't mapped yet. Use default root win as drawable. issue #27795 (closed)
which caused my actual program to stop drawing the focus rectangle following a mouse event
Mantis conversion info:
- Mantis ID: 27821
- OS: fedora
- Platform: x86_64
- Version: 1.5 (SVN)
- Fixed in revision: 48697 (#894fe3d7)