linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #03159
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2409: don't add LVS_EX_SUBITEMIMAGES to every list, creates selection glitches
------------------------------------------------------------
revno: 2409
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Tue 2011-02-01 22:05:24 +0100
message:
don't add LVS_EX_SUBITEMIMAGES to every list, creates selection glitches
modified:
dwt/src/widgets/Table.cpp
win32/UsersFrame.cpp
win32/WinUtil.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dwt/src/widgets/Table.cpp'
--- dwt/src/widgets/Table.cpp 2011-02-01 20:32:13 +0000
+++ dwt/src/widgets/Table.cpp 2011-02-01 21:05:24 +0000
@@ -52,7 +52,7 @@
Table::Seed::Seed() :
BaseType::Seed(WS_CHILD | WS_TABSTOP | LVS_REPORT),
font(new Font(DefaultGuiFont)),
- lvStyle(LVS_EX_DOUBLEBUFFER | LVS_EX_SUBITEMIMAGES)
+ lvStyle(LVS_EX_DOUBLEBUFFER)
{
}
=== modified file 'win32/UsersFrame.cpp'
--- win32/UsersFrame.cpp 2011-01-30 20:05:04 +0000
+++ win32/UsersFrame.cpp 2011-02-01 21:05:24 +0000
@@ -69,6 +69,7 @@
{
WidgetUsers::Seed cs;
+ cs.lvStyle |= LVS_EX_SUBITEMIMAGES;
users = addChild(cs);
addWidget(users);
=== modified file 'win32/WinUtil.cpp'
--- win32/WinUtil.cpp 2011-01-30 13:28:11 +0000
+++ win32/WinUtil.cpp 2011-02-01 21:05:24 +0000
@@ -230,7 +230,7 @@
xTable.style |= WS_HSCROLL | WS_VSCROLL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS;
xTable.exStyle = WS_EX_CLIENTEDGE;
- xTable.lvStyle = LVS_EX_HEADERDRAGDROP | LVS_EX_FULLROWSELECT | LVS_EX_LABELTIP | LVS_EX_DOUBLEBUFFER | LVS_EX_SUBITEMIMAGES;
+ xTable.lvStyle |= LVS_EX_HEADERDRAGDROP | LVS_EX_FULLROWSELECT | LVS_EX_LABELTIP;
xTable.font = font;
xtextBox.exStyle = WS_EX_CLIENTEDGE;