diff --git a/docs/doxygen/Doxyfile_inc b/docs/doxygen/Doxyfile_inc
index 1e3b73958a..357a1d65d4 100644
--- a/docs/doxygen/Doxyfile_inc
+++ b/docs/doxygen/Doxyfile_inc
@@ -63,6 +63,11 @@ ALIASES += endStyleTable="\n"
ALIASES += beginExtraStyleTable="\nExtra styles:
"
ALIASES += endExtraStyleTable="
\n"
+# flag aliases
+ALIASES += beginFlagTable=""
+ALIASES += flag{1}="
\li \1:"
+ALIASES += endFlagTable="
\n"
+
# aliases for additional wx-specific infos
ALIASES += category{1}="\ingroup group_class_\1 \nCategory: \ref group_class_\1
"
ALIASES += category{2}="\ingroup group_class_\1 group_class_\2 \nCategory: \ref group_class_\1, \ref group_class_\2
"
diff --git a/docs/doxygen/wxwidgets.css b/docs/doxygen/wxwidgets.css
index d5273d371a..a4d08ee7ce 100644
--- a/docs/doxygen/wxwidgets.css
+++ b/docs/doxygen/wxwidgets.css
@@ -481,17 +481,17 @@ SPAN.literal {
/* we make all the following tags render the text just like
the standard Doxygen @remarks, @see tags do, to obtain a uniform
look and feel */
-SPAN.itemdef, SPAN.lib, SPAN.category, SPAN.stdobj, SPAN.styles, SPAN.events, SPAN.appearance, SPAN.impl, SPAN.avail {
+SPAN.itemdef, SPAN.lib, SPAN.category, SPAN.stdobj, SPAN.styles, SPAN.events, SPAN.flags, SPAN.appearance, SPAN.impl, SPAN.avail {
font-weight: bold;
line-height: 130%;
}
-SPAN.style, SPAN.event {
+SPAN.style, SPAN.event, SPAN.flag {
font-weight: bold;
color: #880000;
}
-DIV.styleDesc, DIV.eventDesc {
+DIV.styleDesc, DIV.eventDesc, DIV.flagDesc {
margin-left: 3%;
margin-bottom: 1ex;
}
diff --git a/interface/print.h b/interface/print.h
index a76da13dfe..e96d9bf9a0 100644
--- a/interface/print.h
+++ b/interface/print.h
@@ -31,19 +31,19 @@ public:
The @a buttons parameter may be a combination of the following, using the bitwise
'or' operator:
- @beginStyleTable
- @style{wxPREVIEW_PRINT}:
+ @beginFlagTable
+ @flag{wxPREVIEW_PRINT}
Create a print button.
- @style{wxPREVIEW_NEXT}:
+ @flag{wxPREVIEW_NEXT}
Create a next page button.
- @style{wxPREVIEW_PREVIOUS}:
+ @flag{wxPREVIEW_PREVIOUS}
Create a previous page button.
- @style{wxPREVIEW_ZOOM}:
+ @flag{wxPREVIEW_ZOOM}
Create a zoom control.
- @style{wxPREVIEW_DEFAULT}:
+ @flag{wxPREVIEW_DEFAULT}
Equivalent to a combination of @c wxPREVIEW_PREVIOUS, @c wxPREVIEW_NEXT
and @c wxPREVIEW_ZOOM.
- @endStyleTable
+ @endFlagTable
*/
wxPreviewControlBar(wxPrintPreview* preview,
long buttons,