문제

I know SetPage() sets the content of wxHtmlWindow. In my application, I will be appending more content frequently in a fashion similar to a log file, so I'd like to avoid calling SetPage() repeatedly to avoid unnecessary CPU cycles being wasted on parsing the same content over and over and keep the display from flickering too much.

I thought about using wxHtmlListBox but decided I didn't really like that solution because users won't be able to select/copy small portions of text.

Example code of appending new content to the 'body' tag would be appreciated. I'm also open to other solutions if someone has a better idea.

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top