← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3311: use a stock icon in a dwt test

 

------------------------------------------------------------
revno: 3311
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2013-06-16 17:23:16 +0200
message:
  use a stock icon in a dwt test
modified:
  dwt/test/TableTreeTest.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/test/TableTreeTest.cpp'
--- dwt/test/TableTreeTest.cpp	2013-03-23 16:45:15 +0000
+++ dwt/test/TableTreeTest.cpp	2013-06-16 15:23:16 +0000
@@ -59,7 +59,7 @@
 	table->setSort(0, dwt::Table::SORT_CALLBACK);
 
 	dwt::ImageListPtr images(new dwt::ImageList(dwt::Point(IMAGE_SIZE, IMAGE_SIZE)));
-	images->add(dwt::Icon(L"../../../../res/File.ico", dwt::Point(IMAGE_SIZE, IMAGE_SIZE)));
+	images->add(dwt::Icon(::LoadIcon(nullptr, IDI_INFORMATION), false));
 	table->setSmallImageList(images);
 
 	for(size_t i = 0; i < COLUMNS; ++i) {