From 39dfcb95e0c7d8130061b07b3bd3e3df5413d261 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Aug 2022 20:14:29 +0100 Subject: [PATCH] Recognize "msw" as a valid platform in XRC This should have been done in 8293dcedef (Factor out platform detection from XRC code into wxPlatformId, 2021-02-02) which added "msw" as an alternative to "win". --- 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 0674c30197..04e9523154 100644 --- a/misc/schema/xrc_schema.rnc +++ b/misc/schema/xrc_schema.rnc @@ -430,7 +430,7 @@ stdWindowProperties = platform = attribute platform { - xsd:string { pattern = "(win|mac|unix)( *\| *(win|mac|unix))*" } + xsd:string { pattern = "(win|mac|msw|unix)( *\| *(win|mac|msw|unix))*" } }? # shorthand alias for 'platform' for use in properties definitions and # elsewhere where 'platform' would be too verbose