@code tag must be used to make the code readable and using @example seems to be unnecessary and just results in the creation of an extra "Examples" page in the documentation containing only this example and an absolute path (apparently not affected by STRIP_FROM_PATH) to interface/wx/dataview.h file itself in the generated documentation.