wxHyperTextWindow::Compile

void Compile(void)

Compiles the current hypertext file, that is, traverses the block structure of the file associating actual fonts and other attributes to text chunks. This must be done before a file may be displayed, and may also require the functions SaveSection and RestoreSection to be called in order to save and restore the current position in the file, since compilation destroys section pointers.

After a Compile (which is necessary after marking up or any operation which affects the display) the file must be displayed with DisplayFileAt or RestoreSection.