wxTextChunk::end_id

long end_id

Id of the block which has just ended, if the type of this chunk is CHUNK_END_BLOCK. block_id is the id of block which has come into scope, and which starts with the text stored in the chunk.