-
-# FIXME: we could also introduce additional tags for adding wx-specific infos
-# to the documented classes/functions; some ideas are:
-# @category{GUI classes}
-# @nativeimpl{wxgtk,wxmsw}
-# @genericimpl{wxuniv,wxmac}
-# @onlyfor{wxmsw}
-# @appeareance{button.png}
-
+ALIASES += category{1}="\section class_category Category\n"
+
+# aliases with references to wxWidgets ports
+ALIASES += nativeimpl{1}="\section class_impl Native implementations\n \ref page_port_\1"
+ALIASES += nativeimpl{2}="\section class_impl Native implementations\n \ref page_port_\1, \ref page_port_\2"
+ALIASES += nativeimpl{3}="\section class_impl Native implementations\n \ref page_port_\1, \ref page_port_\2, \ref page_port_\3"
+ALIASES += nativeimpl{4}="\section class_impl Native implementations\n \ref page_port_\1, \ref page_port_\2, \ref page_port_\3, \ref page_port_\4"
+ALIASES += onlyfor{1}="\section class_onlyfor Only available for\n \ref page_port_\1"
+ALIASES += onlyfor{2}="\section class_onlyfor Only available for\n \ref page_port_\1, \ref page_port_\2"
+ALIASES += onlyfor{3}="\section class_onlyfor Only available for\n \ref page_port_\1, \ref page_port_\2, \ref page_port_\3"
+ALIASES += onlyfor{4}="\section class_onlyfor Only available for\n \ref page_port_\1, \ref page_port_\2, \ref page_port_\3, \ref page_port_\4"
+
+# creates appearance section: this should be used for all main GUI controls
+ALIASES += appearance{1}="\section class_appearance Appearance\n"
+ "<img src='wxmsw/\1' class='appearance'>"
+ "<img src='wxgtk/\1' class='appearance'>"
+ "<img src='wxmac/\1' class='appearance'>"