On Sat, 29 Sep 2012, Heinrich Apfelmus wrote:

> Henning Thielemann wrote:
>
>> It may be related to my observation that the textCtrl sometimes chooses a
>> variable-space font if I enter text at the end of a text Ctrl in an
>> otherwise mono-spaced text. That is, it seems to be important _how_ a text
>> is inserted.
>>
>> Maybe this is even a Wx bug?
>
> Most likely.
>
> It seems that in order to support monospace font, the text entry control
> is converted to Rich Text Formatting, and then you have font control
> commands as part of the input data.

I have added a 'case' that chooses the old code for GTK and apfelmus' one 
for other systems:
    http://code.haskell.org/~thielema/wxhaskell/

Can someone check my change on Windows and eventually add the patch to the 
main repo? Shall this patch be added to the wxwidgets-2.9 branch, too?

------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to