wxHyperTextWindow::FindBlock

wxTextChunk * FindBlock(long blockId)

For a given block id, returns the text chunk at the start of the block.