WS_TABSTOP should not be a default style for GROUPBOX controls in wrc
Zach Gorman
zach at archetypeauction.com
Fri Aug 13 20:55:36 CDT 2004
Second try - the first patch caused warnings to be printed unnecessarily.
WS_TABSTOP should not be a default style for GROUPBOX controls in wrc. This
behavior is not exhibited by the MS resource compiler.
Index: parser.y
===================================================================
RCS file: /home/wine/wine/tools/wrc/parser.y,v
retrieving revision 1.43
diff -u -r1.43 parser.y
--- parser.y 20 Jul 2004 01:24:11 -0000 1.43
+++ parser.y 14 Aug 2004 01:52:09 -0000
@@ -2008,7 +2008,6 @@
case BS_CHECKBOX:
case BS_DEFPUSHBUTTON:
case BS_PUSHBUTTON:
- case BS_GROUPBOX:
/* case BS_PUSHBOX: */
case BS_AUTORADIOBUTTON:
case BS_AUTO3STATE:
@@ -2018,6 +2017,7 @@
break;
default:
yywarning("Unknown default button
control-style 0x%08x", special_style);
+ case BS_GROUPBOX:
case BS_RADIOBUTTON:
break;
}
More information about the wine-patches
mailing list