From 81c148a2c4fa30688c89f19e9d104a0af3ac55bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 11 Oct 2013 15:31:30 +0000 Subject: [PATCH] XRC schema: fix t_style to allow 0-9 in style names. Example: wxCHK_2STATE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- misc/schema/xrc_schema.rnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/schema/xrc_schema.rnc b/misc/schema/xrc_schema.rnc index c25c79901f..6152db0ea8 100644 --- a/misc/schema/xrc_schema.rnc +++ b/misc/schema/xrc_schema.rnc @@ -399,7 +399,7 @@ t_bool = "1" | "0" t_integer = xsd:integer t_float = xsd:float t_direction = "wxLEFT" | "wxRIGHT" | "wxTOP" | "wxBOTTOM" -t_style = xsd:string { pattern = "(wx[A-Z_]+)( *\| *(wx[A-Z_]+))*" } +t_style = xsd:string { pattern = "(wx[A-Z0-9_]+)( *\| *(wx[A-Z0-9_]+))*" } t_url = string t_colour = xsd:string { pattern = "#[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]" } |