Closed GoogleCodeExporter closed 8 years ago
* Note this was not an issue during previous testing on wxPython 2.8.7
Also update ctor signature to use standard id=-1 instead of id_=-1 so that
factory
based constructors such as wxtag will work with the control.
Original comment by CodyPrec...@gmail.com
on 19 Jan 2010 at 2:24
Committed fix to 2.9 branch for the 'id_' vs 'id' issue. Decided not to make the
change on the 2.8 branch for compatibility reasons.
Original comment by CodyPrec...@gmail.com
on 28 Jan 2010 at 12:27
wxGTK seems to be returning the wrong metrics for measuring the text width.
Original comment by CodyPrec...@gmail.com
on 2 Jun 2011 at 3:37
Found the issue:
On GTK Window.GetTextExtent will return the text measurements using a regular
DC's font metrics. However the button is drawn with a GCDC which uses a
GraphicsContext to draw the text. The measurements for the text from the GC
were much different than the DC due to antialiasing and such.
Corrected in editra svn - will push fix to wx.lib as well.
Original comment by CodyPrec...@gmail.com
on 2 Jun 2011 at 3:50
Original issue reported on code.google.com by
glen...@gmail.com
on 19 Jan 2010 at 1:38Attachments: