[ros-diffs] [tkreuzer] 32147: Windows doesn't store a hbrBack, when creating a window
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Wed Feb 6 05:01:02 CET 2008
- Previous message: [ros-diffs] [tkreuzer] 32146: use syscolor brush for menu background, fixes a brush leak.
- Next message: [ros-diffs] [ros-arm-bringup] 32148: Implement a proper ARM startup routine. We disable the FIQ and IRQ lines, then disable and flush D and I caches, set up a temporary boot stack, and call ArmInit. In ArmInit we define the structure that a compatible bootloader has to send us and currently make some assertions on it, before dropping into the common, portable, freeldr startup (BootMain). This would be the place where we would want to setup UART0 for serial support later on, as well as TIMER0. In MachInit, we now define the required ARM routines we'll need, all which simply loop for now. Also fix a bug in RamDiskInit, which could do reads from NULL pointers.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tkreuzer
Date: Wed Feb 6 07:01:02 2008
New Revision: 32147
URL: http://svn.reactos.org/svn/reactos?rev=32147&view=rev
Log:
Windows doesn't store a hbrBack, when creating a window
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/menu.c?rev=32147&r1=32146&r2=32147&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/menu.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/menu.c Wed Feb 6 07:01:02 2008
@@ -346,7 +346,7 @@
Menu->MenuInfo.fMask = 0; /* not used */
Menu->MenuInfo.dwStyle = 0; /* FIXME */
Menu->MenuInfo.cyMax = 0; /* default */
- Menu->MenuInfo.hbrBack = IntGetSysColorBrush(COLOR_MENU);
+ Menu->MenuInfo.hbrBack = NULL; /* no brush */
Menu->MenuInfo.dwContextHelpID = 0; /* default */
Menu->MenuInfo.dwMenuData = 0; /* default */
Menu->MenuInfo.Self = *Handle;
- Previous message: [ros-diffs] [tkreuzer] 32146: use syscolor brush for menu background, fixes a brush leak.
- Next message: [ros-diffs] [ros-arm-bringup] 32148: Implement a proper ARM startup routine. We disable the FIQ and IRQ lines, then disable and flush D and I caches, set up a temporary boot stack, and call ArmInit. In ArmInit we define the structure that a compatible bootloader has to send us and currently make some assertions on it, before dropping into the common, portable, freeldr startup (BootMain). This would be the place where we would want to setup UART0 for serial support later on, as well as TIMER0. In MachInit, we now define the required ARM routines we'll need, all which simply loop for now. Also fix a bug in RamDiskInit, which could do reads from NULL pointers.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list