Gary Lee wrote:
I’ve tried to add some wx.HtmlWordCell into wx.HtmlWindow
dynamically. However, I don’t the correct steps. After some try and
errors, my program always crashed. Can anyone give me some tips or a
simple example?
Please provide a small simple example that shows how you are trying to
do it.
Here is my little example to show what I am gonna do.
wxhtml2.py (1.43 KB)
···
–
Sincerely yours,
Gary Lee
Dear Robin:
Thanks for your example and hint. I’ve try to modify the previous example and follow your direction. Finally, my little example works. Actually, I am not writing any application. I am solving a problem about the automatic word wrap in wxHtmlWindow when show the Chinese content. It seems the wxHtmlWindow can’t handle Chinese word wrap correctly. So, I am doing some experiments to see if there any solution for this problem.
wxhtml2.py (1.78 KB)
···
2008/1/5, Gary Lee garywlee@gmail.com:
Gary Lee wrote:
I’ve tried to add some wx.HtmlWordCell into wx.HtmlWindow
dynamically. However, I don’t the correct steps. After some try and
errors, my program always crashed. Can anyone give me some tips or a
simple example?
Please provide a small simple example that shows how you are trying to
do it.
Here is my little example to show what I am gonna do.
–
Sincerely yours,
Gary Lee