A lot of the wxDialog subclasses don't actually override any virtual functions, so there's no particular need for them to be subclasses at all, and wxDialog's vtable is so huge that they actually contribute measureable to the size of the executable.
Apparently gcc does use final for devirtualization.