Error: Failed to display HTML document in ISO-8859-1 encoding

Julian Smart julian at anthemion.co.uk
Mon Dec 4 00:58:38 PST 2006


Vaclav Slavik wrote:
> Julian Smart wrote:
>   
>> However it would be useful to have wxHtmlListBox::SetEncoding. I've
>> added this to CVS, with a call to SetInputEncoding in
>>     
>
> If you insist on doing this (instead of the much better OnFontEncoding 
> as Vadim suggested), please at least put it into !wxUSE_UNICODE -- 
> this makes no sense at all in the Unicode build, you're just wasting 
> space.
>   
The intention is to not require multiple #ifdefs in app code that might 
be built in both Unicode and non-Unicode modes. The member variable 
could be #ifdefed though.

Regards,

Julian




More information about the wx-users mailing list