SetFont breaks multi-line wxStaticText on wxMac 2.8.0

Stefan Csomor csomor at advancedconcepts.ch
Tue Dec 19 23:35:51 PST 2006


Hi Alicia
 
> For wxMac 2.8.0, when you use SetFont for a wxStaticText widget
> with more than one line, separated by line feeds, the widget breaks
> and only the first line is rendered.
 
> Note that this bug was the cause of my sizing issues for wxMac 2.8.0
> that I posted earlier.  Please let me know if there is any additional
> info
> or testing that I can provide on my side.

I've isolated the cause, it actually is the GetBestSize that in the
CoreGraphics build is not calculating the size correctly. I'll try to
come up with a solution that does not involve QuickDraw again...

Thanks,

Stefan







More information about the wx-users mailing list