It always returns False. Apparently this function has been changed to
GetFontMetrics in wxWidgets to address the bug w/ IsFixedWidth
Platform and version?
···
On 3/16/11 1:16 PM, Chris Mitchell wrote:
It always returns False. Apparently this function has been changed to
GetFontMetrics in wxWidgets to address the bug w/ IsFixedWidth
--
Robin Dunn
Software Craftsman
This is the original ticket:
http://trac.wxwidgets.org/ticket/4714
(In [64446]) Fix wxFont::IsFixedWidth() under MSW to always return
correct result.
This function worked erratically, returning the correct result or not
depending on the way it was created. Reimplement it using
GetTextMetrics() to
get the correct result in any case.
If you are referring to my platform/version -> windows 7 ultimate 64
bit w/ a copy of 2.8.11.0 unicode and also have a copy of 2.9.1.1. I
use python 2.6.
···
On Mar 17, 3:43 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 3/16/11 1:16 PM, Chris Mitchell wrote:
> It always returns False. Apparently this function has been changed to
> GetFontMetrics in wxWidgets to address the bug w/ IsFixedWidthPlatform and version?
--
Robin Dunn
Software Craftsmanhttp://wxPython.org
That change was made in trunk, so it should be in 2.9.1.1, do you still see the problem there?
···
On 3/18/11 5:39 PM, Chris Mitchell wrote:
This is the original ticket:
wxTrac has been migrated to GitHub Issues - wxWidgets(In [64446]) Fix wxFont::IsFixedWidth() under MSW to always return
correct result.This function worked erratically, returning the correct result or not
depending on the way it was created. Reimplement it using
GetTextMetrics() to
get the correct result in any case.
--
Robin Dunn
Software Craftsman
No, sorry for the False alarm. It doesn't happen in 2.9.1.1 (it does
in 2.8.11.0).
···
On Mar 21, 6:59 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 3/18/11 5:39 PM, Chris Mitchell wrote:
> This is the original ticket:
>wxTrac has been migrated to GitHub Issues - wxWidgets> (In [64446]) Fix wxFont::IsFixedWidth() under MSW to always return
> correct result.> This function worked erratically, returning the correct result or not
> depending on the way it was created. Reimplement it using
> GetTextMetrics() to
> get the correct result in any case.That change was made in trunk, so it should be in 2.9.1.1, do you still
see the problem there?--
Robin Dunn
Software Craftsmanhttp://wxPython.org