diff --git a/docs/doxygen/overviews/xrc_format.h b/docs/doxygen/overviews/xrc_format.h
index 0a4b3d7452..19e43bc3ca 100644
--- a/docs/doxygen/overviews/xrc_format.h
+++ b/docs/doxygen/overviews/xrc_format.h
@@ -519,6 +519,8 @@ from properties lists below.
If set to 1, the control is created hidden (default: 0).}
@row3col{tooltip, @ref overview_xrcformat_type_text,
Tooltip to use for the control (default: not set).}
+@row3col{variant, @ref overview_xrcformat_type_string,
+ Window variant (see wxWindow::SetWindowVariant()), one of "normal", "small", "mini" or "large" (default: "normal") (new since wxWidgets 3.0.2).}
@row3col{font, @ref overview_xrcformat_type_font,
Font to use for the control (default: window's default).}
@row3col{ownfont, @ref overview_xrcformat_type_font,
diff --git a/misc/schema/xrc_schema.rnc b/misc/schema/xrc_schema.rnc
index a7a42d491a..4295cfb9e0 100644
--- a/misc/schema/xrc_schema.rnc
+++ b/misc/schema/xrc_schema.rnc
@@ -395,6 +395,7 @@ stdWindowProperties =
[xrc:p="o"] element focused {_, t_bool }* &
[xrc:p="o"] element hidden {_, t_bool }* &
[xrc:p="o"] element tooltip {_, t_text }* &
+ [xrc:p="o"] element variant {_, t_variant }* &
[xrc:p="o"] element font {_, t_font }* &
[xrc:p="o"] element ownfont {_, t_font }* &
[xrc:p="o"] element help {_, t_text }*
@@ -450,6 +451,8 @@ t_font = (
[xrc:p="o"] element relativesize {_, t_float }*
)
+t_variant = "normal" | "small" | "mini" | "large"
+
t_imagelist = (
[xrc:p="o"] element mask {_, t_bool }* &
[xrc:p="o"] element size {_, t_size }* &
diff --git a/samples/xrc/rc/derivdlg.xrc b/samples/xrc/rc/derivdlg.xrc
index b1df3f0880..26bea4f7c6 100644
--- a/samples/xrc/rc/derivdlg.xrc
+++ b/samples/xrc/rc/derivdlg.xrc
@@ -27,6 +27,7 @@
5