https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0cd20b7a1c1e88d344fa0…
commit 0cd20b7a1c1e88d344fa0887a809d7b2fbfdd3a3
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Sun Jul 28 22:08:57 2024 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Jul 28 22:08:57 2024 +0200
[PROGMAN] Tweak AUTORADIOBUTTONS (#7188)
AUTORADIOBUTTON implies BS_AUTORADIOBUTTON.
This style is shorter in code, and has the tendency to shrink the binary size also
when applied consistently. In case of progman the shrinking is not enough to reach the
next lower quantum of binary size though, GCC8.4.0dbg sticks to 192.512 bytes.
Because it's simply not enough of those buttons, since we have no localization for that module.
No change in behavior in that dlg.
---
base/shell/progman/new_resources.rc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/base/shell/progman/new_resources.rc b/base/shell/progman/new_resources.rc
index 333c93cb6fe..28717c413ab 100644
--- a/base/shell/progman/new_resources.rc
+++ b/base/shell/progman/new_resources.rc
@@ -56,12 +56,12 @@ CAPTION "New Object"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "",IDC_STATIC,5,5,165,44
- CONTROL "Program &Group",PM_NEW_GROUP,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,10,4,66,11
- CONTROL "&Personal",PM_PERSONAL_GROUP,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,20,15,44,14
- CONTROL "&Common",PM_COMMON_GROUP,"Button",BS_AUTORADIOBUTTON,73,15,39,14
+ AUTORADIOBUTTON "Program &Group",PM_NEW_GROUP,10,4,66,11,WS_GROUP | WS_TABSTOP
+ AUTORADIOBUTTON "&Personal",PM_PERSONAL_GROUP,20,15,44,14,WS_GROUP | WS_TABSTOP
+ AUTORADIOBUTTON "&Common",PM_COMMON_GROUP,73,15,39,14
LTEXT "&Format:",PM_FORMAT_TXT,20,33,35,11
COMBOBOX PM_FORMAT,61,31,104,15,CBS_DROPDOWNLIST | WS_TABSTOP
- CONTROL "Program &Item",PM_NEW_PROGRAM,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,10,52,59,12
+ AUTORADIOBUTTON "Program &Item",PM_NEW_PROGRAM,10,52,59,12,WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,175,5,60,15
PUSHBUTTON "Cancel",IDCANCEL,175,25,60,15
PUSHBUTTON "&Help",IDHELP,175,49,60,15