Author: gedmurphy
Date: Sat Jun 6 18:37:40 2009
New Revision: 41303
URL: http://svn.reactos.org/svn/reactos?rev=41303&view=rev
Log:
There's no such thing as ntsys.lib in Windows, dynamically link to ntdll to fix building with msvc.
Modified:
trunk/reactos/base/applications/taskmgr/taskmgr.rbuild
Modified: trunk/reactos/base/applications/taskmgr/taskmgr.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/taskmgr.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/taskmgr.rbuild [iso-8859-1] Sat Jun 6 18:37:40 2009
@@ -2,7 +2,7 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="taskmgr" type="win32gui" installbase="system32" installname="taskmgr.exe" unicode="yes">
<include base="taskmgr">.</include>
- <library>ntsys</library>
+ <library>ntdll</library>
<library>kernel32</library>
<library>advapi32</library>
<library>user32</library>
Author: cwittich
Date: Sat Jun 6 18:15:43 2009
New Revision: 41300
URL: http://svn.reactos.org/svn/reactos?rev=41300&view=rev
Log:
sync user32 listbox and combobox to wine 1.1.22
Modified:
trunk/reactos/dll/win32/user32/controls/combo.c
trunk/reactos/dll/win32/user32/controls/listbox.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/user32/controls/combo.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] Sat Jun 6 18:15:43 2009
@@ -482,20 +482,20 @@
/*
* Resizing a combobox has another side effect, it resizes the dropped
* rectangle as well. However, it does it only if the new height for the
- * combobox is different from the height it should have. In other words,
+ * combobox is more than the height it should have. In other words,
* if the application resizing the combobox only had the intention to resize
* the actual control, for example, to do the layout of a dialog that is
* resized, the height of the dropdown is not changed.
*/
- if (posChanging->cy != newComboHeight)
+ if (posChanging->cy > newComboHeight)
{
TRACE("posChanging->cy=%d, newComboHeight=%d, oldbot=%d, oldtop=%d\n",
posChanging->cy, newComboHeight, lphc->droppedRect.bottom,
lphc->droppedRect.top);
lphc->droppedRect.bottom = lphc->droppedRect.top + posChanging->cy - newComboHeight;
- posChanging->cy = newComboHeight;
}
+ posChanging->cy = newComboHeight;
}
return 0;
Modified: trunk/reactos/dll/win32/user32/controls/listbox.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/listbox.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/listbox.c [iso-8859-1] Sat Jun 6 18:15:43 2009
@@ -1900,8 +1900,7 @@
else /* not a directory */
{
#define ATTRIBS (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \
- FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE | \
- FILE_ATTRIBUTE_DIRECTORY)
+ FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE)
if ((attrib & DDL_EXCLUSIVE) &&
((attrib & ATTRIBS) != (entry.dwFileAttributes & ATTRIBS)))
@@ -2674,7 +2673,7 @@
if (msg == WM_CREATE)
{
CREATESTRUCTW *lpcs = (CREATESTRUCTW *)lParam;
- if (lpcs->style & LBS_COMBOBOX) lphc = (LPHEADCOMBO)lpcs->lpCreateParams;
+ if (lpcs->style & LBS_COMBOBOX) lphc = lpcs->lpCreateParams;
if (!LISTBOX_Create( hwnd, lphc )) return -1;
TRACE("creating hwnd %p descr %p\n", hwnd, (void *)GetWindowLongPtrW( hwnd, 0 ) );
return 0;
Modified: trunk/reactos/media/doc/README.WINE
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sat Jun 6 18:15:43 2009
@@ -222,10 +222,10 @@
User32 -
reactos/dll/win32/user32/controls/button.c # Synced to Wine-1_1_22
- reactos/dll/win32/user32/controls/combo.c # Synced to Wine-1_1_13
+ reactos/dll/win32/user32/controls/combo.c # Synced to Wine-1_1_22
reactos/dll/win32/user32/controls/edit.c # Synced to Wine-1_1_22
reactos/dll/win32/user32/controls/icontitle.c # Synced to Wine-1_1_13
- reactos/dll/win32/user32/controls/listbox.c # Synced to Wine-1_1_13
+ reactos/dll/win32/user32/controls/listbox.c # Synced to Wine-1_1_22
reactos/dll/win32/user32/controls/scrollbar.c # Forked
reactos/dll/win32/user32/controls/static.c # Synced to Wine-1_1_22