From a read of the source, `wxAuiNotebook` is supposed to handle this case already, so this may be unnecessary...  but I don't really trust it any more  :)