From: Henning T. <le...@he...> - 2012-10-28 20:35:03
|
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? |