wxHtmlWindow doesn't render HTML

Franky Braem f.braem at skynet.be
Tue Dec 18 13:11:46 PST 2007


chris elliott wrote:
> 
> 
> Franky Braem wrote:
>>
>> franky.braem at gmail.com wrote:
>>> On 12 dec, 15:15, va... at wxwidgets.org (Vadim Zeitlin) wrote:
>>>> On Tue, 11 Dec 2007 22:27:14 -0800 (PST) franky.br... at gmail.com wrote:
>>>>
>>>>>>> When I try to show some HTML in a wxHtmlWindow, the text is 
>>>>>>> displayed as
>>>>>>> plain text (all tags are removed). Do I need to call some 
>>>>>>> initializer
>>>>>>> before using wxHtmlWindow to get the tag handlers do their work?
>>>>>> are you using it from a .dll?? I have the same problem with a
>>>>>> wxSimpleHtmlListBox. Moving it to the .exe solved the problem. 
>>>>>> (not my
>>>>>> problem, because I need it in a .dll, but at least it worked)
>>>>> Indeed the wxHtmlWindow is used from a DLL.
>>>>  My guess would be that tag handlers are not being initialized 
>>>> somehow. I
>>>> don't know why does it happen though, do HTML samples work for you 
>>>> (in DLL
>>>> build)?
> 
> did they?
> chris
> 

When the wxHtmlWindow is created in the exe everything works ok. When 
the wxHtmlWindow is created in a DLL, it doesn't work.

Franky.






More information about the wx-users mailing list