From 26c18da2e47cc48bc31961ab51b215b88ef23a69 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Feb 2018 22:47:46 +0100 Subject: [PATCH] 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. --- interface/wx/dataview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/dataview.h b/interface/wx/dataview.h index d4aba9842872..22fd11fe8873 100644 --- a/interface/wx/dataview.h +++ b/interface/wx/dataview.h @@ -3875,7 +3875,7 @@ class wxDataViewEvent : public wxNotifyEvent alternative to implementing an entire wxDataViewCustomRenderer specialization. - @example + @code // Markup renderer that removes bgcolor attributes when in selection class DataViewMarkupRenderer : public wxDataViewTextRenderer { @@ -3904,7 +3904,7 @@ class wxDataViewEvent : public wxNotifyEvent } }; }; - @endexample + @endcode @since 3.1.1