Fix unreadable example in wxDataViewValueAdjuster documentation

@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.
This commit is contained in:
Vadim Zeitlin
2018-02-18 22:47:46 +01:00
parent 0a10bfc63e
commit 26c18da2e4

View File

@@ -3875,7 +3875,7 @@ public:
alternative to implementing an entire wxDataViewCustomRenderer alternative to implementing an entire wxDataViewCustomRenderer
specialization. specialization.
@example @code
// Markup renderer that removes bgcolor attributes when in selection // Markup renderer that removes bgcolor attributes when in selection
class DataViewMarkupRenderer : public wxDataViewTextRenderer class DataViewMarkupRenderer : public wxDataViewTextRenderer
{ {
@@ -3904,7 +3904,7 @@ public:
} }
}; };
}; };
@endexample @endcode
@since 3.1.1 @since 3.1.1