--- trunk/reactos/subsys/system/explorer/Makefile.MinGW 2005-01-10 21:20:06 UTC (rev 12920)
+++ trunk/reactos/subsys/system/explorer/Makefile.MinGW 2005-01-10 21:32:18 UTC (rev 12921)
@@ -8,6 +8,7 @@
CXX = g++
LINK = g++
+# -D_NO_ALPHABLEND for builds without msimg32.dll dependency
CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -fexceptions -Wall -I.
RCFLAGS = -DWIN32 -D__WINDRES__
LFLAGS = -Wl,--subsystem,windows
--- trunk/reactos/subsys/system/explorer/taskbar/traynotify.cpp 2005-01-10 21:20:06 UTC (rev 12920)
+++ trunk/reactos/subsys/system/explorer/taskbar/traynotify.cpp 2005-01-10 21:32:18 UTC (rev 12921)
@@ -660,10 +660,12 @@
x += NOTIFYICON_DIST;
}
+#ifndef _NO_ALPHABLEND
MemCanvas mem_dc;
SelectedBitmap bmp(mem_dc, CreateCompatibleBitmap(canvas, NOTIFYICON_SIZE, NOTIFYICON_SIZE));
RECT rect = {0, 0, NOTIFYICON_SIZE, NOTIFYICON_SIZE};
BLENDFUNCTION blend = {AC_SRC_OVER, 0, 128, 0}; // 50 % visible
+#endif
for(NotifyIconSet::const_iterator it=_sorted_icons.begin(); it!=_sorted_icons.end(); ++it) {
#ifndef _NO_ALPHABLEND