From: <arn...@us...> - 2008-04-29 19:06:28
|
Revision: 1226 http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=1226&view=rev Author: arnetheduck Date: 2008-04-29 12:05:56 -0700 (Tue, 29 Apr 2008) Log Message: ----------- Remove update message redundancy, start writing helper functions that can be used internally Modified Paths: -------------- dcplusplus/trunk/dwt/include/dwt/aspects/AspectText.h dcplusplus/trunk/dwt/include/dwt/aspects/AspectUpdate.h dcplusplus/trunk/dwt/include/dwt/util/check.h dcplusplus/trunk/dwt/include/dwt/widgets/TextBox.h dcplusplus/trunk/win32/CommandDlg.cpp dcplusplus/trunk/win32/FavHubProperties.cpp dcplusplus/trunk/win32/GeneralPage.cpp Added Paths: ----------- dcplusplus/trunk/dwt/include/dwt/util/win32/ dcplusplus/trunk/dwt/include/dwt/util/win32/ApiHelpers.h Property Changed: ---------------- dcplusplus/trunk/ Property changes on: dcplusplus/trunk ___________________________________________________________________ Name: bzr:revision-info - timestamp: 2008-04-24 23:00:32.953000069 +0200 committer: poy <po...@12...> properties: branch-nick: repo + timestamp: 2008-04-24 23:28:27.434000015 +0200 committer: Jacek Sieka <arn...@gm...> properties: branch-nick: dcplusplus Name: bzr:file-ids - + dwt/include/dwt/util/win32 win32-20080424212624-k9ufww120rnw1130-1 dwt/include/dwt/util/win32/ApiHelpers.h apihelpers.h-20080424212624-k9ufww120rnw1130-2 Name: bzr:revision-id:v3-trunk1 - 1027 arn...@gm...-20080323183926-schknwnkgeo7ivdn 1028 zouzou123gen-20080323220411-r8usuc3qxwuh7zsn 1029 zouzou123gen-20080323221249-0su72zaj13e706mk 1030 arn...@gm...-20080324140623-muba1dl46m000o8c 1031 zouzou123gen-20080324141933-qbgr93ugpe0297m6 1032 arn...@gm...-20080324153706-siidja05n84i00b1 1033 arn...@gm...-20080324153823-lhn3awurnu77riln 1034 arn...@gm...-20080324165650-zapppziji67yf5a2 1035 zouzou123gen-20080324175936-4mqc2kh0lo5wtdu2 1036 zouzou123gen-20080325004602-6wdsoym95mjuhwd3 1037 arn...@gm...-20080325100659-8fqy6q65itmghlep 1038 zouzou123gen-20080325175216-s297sdiucukfvijh 1039 arn...@gm...-20080325210137-3dfqyoi8ykosy087 1040 arn...@gm...-20080325211747-nwwy1eb33r071sca 1041 arn...@gm...-20080326084110-qbselrjckku275xi 1042 zouzou123gen-20080326123631-35642mgbk2i4ty32 1043 zouzou123gen-20080326124345-f4xwn2d3ty8ubd6r 1044 arn...@gm...-20080326162031-il0nyms30w0mky43 1045 arn...@gm...-20080326164801-8dru8mjc06xgzjpv 1046 arn...@gm...-20080326170438-uzl2rx8fqnohak7g 1047 zouzou123gen-20080326172821-d6uqcbmfb0c6rwlv 1048 arn...@gm...-20080326213257-qlgdh7m2712p2l0q 1049 arn...@gm...-20080326214313-ktnoekgk3s0wmatz 1050 arn...@gm...-20080326215256-0j1iqrf286b9g7zf 1051 arn...@gm...-20080327082121-hoi22wh1gwjdfbyd 1052 arn...@gm...-20080327120639-um3tukdt374rwvgm 1053 zouzou123gen-20080327130703-6vtek6uxy3vua543 1054 arn...@gm...-20080327215831-dmg5mkufskabwkro 1055 arn...@gm...-20080327231459-cdztcv25alsuyqmf 1056 arn...@gm...-20080328085925-gceybsr53oml1p24 1057 arn...@gm...-20080328200512-1sjuu6bcnl2dyd2a 1058 arn...@gm...-20080328210347-bussqjrm5mfswh7o 1059 arn...@gm...-20080329055630-braiir1dskv7a4qm 1060 arn...@gm...-20080329061558-rck8dz60wpj3c5ja 1061 arn...@gm...-20080329081253-if6o5jn329mbzfpl 1062 arn...@gm...-20080329081619-cb4x930j8sp55cs0 1063 arn...@gm...-20080329103216-hgjzo7ra2zixbztd 1064 arn...@gm...-20080329124042-q3aw4iodmo5kafyp 1065 arn...@gm...-20080329124926-2je1z18p0272zpua 1066 arn...@gm...-20080329150901-ehj9t32en7eps2dp 1067 zouzou123gen-20080329153653-36xlvpik2ns9r84r 1068 zouzou123gen-20080329162703-51xr8hg073pg7wq5 1069 zouzou123gen-20080329234706-8ddipdqu0xeudkql 1070 arn...@gm...-20080330081232-ubqr1171ewalrd4q 1071 zouzou123gen-20080330131607-yppbs3mgyjef1cux 1072 zouzou123gen-20080330134835-yv1nogy77ib1uehd 1073 zouzou123gen-20080331124549-alyw7vugdn30piqy 1074 zouzou123gen-20080331135108-q8frtqsin5bosfzm 1075 zouzou123gen-20080331140757-u94q52yccl5lsifk 1076 zouzou123gen-20080331152513-ue1x5qhigcw51348 1077 arn...@gm...-20080331184436-a8g6chibmg8nswls 1078 arn...@gm...-20080331220648-81485k28qmwruwz6 1079 zouzou123gen-20080401081001-2yjn07cf8s5sxr3a 1080 zouzou123gen-20080401081247-f3p4hdjojnd460jw 1081 zouzou123gen-20080401084117-24a454g8o0x656kg 1082 zouzou123gen-20080401133146-jabb5i8870fg6f66 1083 zouzou123gen-20080401154610-mxdqoo5bksru93e6 1084 arn...@gm...-20080401185530-lqj4tflt5ldmx46f 1085 arn...@gm...-20080401212616-ffl7m0xm8gt15knk 1086 arn...@gm...-20080402084515-ofmnwihzv159jton 1087 arn...@gm...-20080402133105-y70soi38owzl76i9 1088 arn...@gm...-20080402142417-rn2dbkx19wfz3vae 1089 arn...@gm...-20080402144459-u3z3hqvl8aqjc4a0 1090 zouzou123gen-20080402145051-zi8tmvy8u3r2mzu8 1091 arn...@gm...-20080402152137-f397uz1yp9qjvfwh 1092 zouzou123gen-20080402170355-29wda40wk3cy7lu5 1093 arn...@gm...-20080402180628-ipos9li0c4bsmq1h 1094 arn...@gm...-20080402181235-s2a6f4ww4lzayl46 1095 arn...@gm...-20080402193851-6mu64vgep6tijith 1096 arn...@gm...-20080402203810-86zpxsx69q83zf3r 1097 arn...@gm...-20080402204331-so2e8n892o23pejr 1098 poy-20080402224153-225qylr2cfwhqrg7 1099 mrmikejj-20080403125112-o8polh8rkn62umyh 1100 arn...@gm...-20080403125139-8xub76j1xazhfxna 1101 po...@12...-20080403140544-13kockkjho883nb4 1102 po...@12...-20080403143012-bxghtoodiolugpbs 1103 arn...@gm...-20080403190809-bbi4bz5rfcvjnt20 1104 arn...@gm...-20080403205410-czxru1vcg1s4wcws 1105 arn...@gm...-20080403213124-54spdrwszgyimd90 1106 po...@12...-20080404002406-aj74x5tngi6mmmj1 1107 arn...@gm...-20080404122415-mjy07qzbaxyhagra 1108 po...@12...-20080404145445-84lyk5tyy3b3br14 1109 po...@12...-20080404231417-v4v8x7u3f0hm0ejc 1110 po...@12...-20080405001107-14d1ojjof8xhvcj8 1111 arn...@gm...-20080405071929-jmnrul21sxx04kky 1112 arn...@gm...-20080405080105-9qbda7be0pi7y1ai 1113 po...@12...-20080405154555-yuj2n5kyndfjlpsf 1114 po...@12...-20080405220250-8y09d0samsj8ja94 1115 po...@12...-20080406134101-4860ytb61sbu3yhg 1116 po...@12...-20080406155849-2wzxzuzs5m8zpk0g 1117 po...@12...-20080406164835-bv5dydhm3qqydsty 1118 arn...@gm...-20080406210237-c7tyfgiz2sjgv044 1119 po...@12...-20080407114423-4yajg1rffidq76bj 1120 arn...@gm...-20080407194826-c42t4bjzw4vflejn 1121 po...@12...-20080407214303-o7ul1bvcn6gvaoc9 1122 po...@12...-20080407220647-r7f3em92til5j67s 1123 po...@12...-20080408212439-54t3bqlhvw1nu4xc 1124 arn...@gm...-20080409193708-y6erfzwrcb1seet3 1125 arn...@gm...-20080409195827-ub6t2s3wdf28nfpz 1126 po...@12...-20080409215055-1zmqhhm2859878c1 1127 arn...@gm...-20080410102447-l4es4cbukkqwcnpc 1128 arn...@gm...-20080410214118-b70g50tl27cq9q29 1129 arn...@gm...-20080411074730-w1pu78qigtx87lx3 1130 arn...@gm...-20080411090724-kwdj9pg9hrv1xhwb 1131 po...@12...-20080411153057-tn7zhxqk0z7ceref 1132 arn...@gm...-20080411200946-ierqlg8v9vzj18n2 1133 arn...@gm...-20080411201718-ecshulwd7ic0wdci 1134 arn...@gm...-20080411204047-jc9vzcsf32j38dvc 1135 arn...@gm...-20080411205445-ojuz2a29yq8ww37j 1136 arn...@gm...-20080411214746-r420xmdgo35pkweb 1137 po...@12...-20080412010723-cibh8r0itlzqyt3f 1138 arn...@gm...-20080412200504-6qfeqnsghxgrk775 1139 arn...@gm...-20080413095435-2pkfb407hk8j54te 1140 arn...@gm...-20080413133927-zw2tpz8o8p3izyix 1141 arn...@gm...-20080413165025-ug342rxtq4blxck5 1142 arn...@gm...-20080413182618-6ihabn0tii6gb2m2 1143 arn...@gm...-20080413184517-9p08tedakta1h762 1144 arn...@gm...-20080413193655-kc98lx7kpzo42q43 1145 arn...@gm...-20080414132947-pguvkuzvyadukssc 1146 arn...@gm...-20080414133544-pxwxm9kcvw0k0vf3 1147 po...@12...-20080414174341-hw1im7ysymscpiq0 1148 arn...@gm...-20080414181459-5gu852lneflgf5d6 1149 po...@12...-20080414205719-d80e75fsl8zzi6je 1150 arn...@gm...-20080414211616-835ve71r1qdlbhb4 1151 arn...@gm...-20080415080409-4cid9q7opng8ijav 1152 arn...@gm...-20080415124540-roduj23x442jeefn 1153 arn...@gm...-20080415141450-cld2ym4s50uu31q7 1154 po...@12...-20080415143018-4emcs3u1fquzsu1f 1155 arn...@gm...-20080415174958-wfqu5kga5pe39xvc 1156 po...@12...-20080415182942-2ux0yn8immkrz7ch 1157 po...@12...-20080415185700-gdgpyn414bf4behz 1158 po...@12...-20080415202535-cvevdgrawpilji5b 1159 po...@12...-20080415214801-lgb1429qdm4ti6ub 1160 po...@12...-20080416123247-6dw18ea0lk4m5q8q 1161 po...@12...-20080416135834-6mtzcfy7pzxqfnq0 1162 po...@12...-20080416181626-0ex66f1lv1maf38l 1163 arn...@gm...-20080416183603-yxbj16t2nd8rdzzd 1164 arn...@gm...-20080416200700-wncbhytfixz9b15u 1165 po...@12...-20080416200941-5oigemky43sz6r87 1166 arn...@gm...-20080416204550-0dx3qhxasdkdohx1 1167 arn...@gm...-20080416211510-3ilsym0bom7u2cer 1168 tom@athlon-20080417125238-0hhhchg951y7p83w 1169 arn...@gm...-20080418203137-e6szrje3fje5dgh9 1170 arn...@gm...-20080419164722-vyjrwwvglxr4yxuu 1171 arn...@gm...-20080419164802-o2boulbfrea4e0dx 1172 arn...@gm...-20080419165129-zj3axn731fo84vd5 1173 po...@12...-20080419172806-2qspfwerslo10rd2 1174 arn...@gm...-20080419212304-3wjafor82amtvik3 1175 arn...@gm...-20080419212347-t5oze1b59dk7vkiv 1176 arn...@gm...-20080420133104-h16loa3kvzrpkxiv 1177 po...@12...-20080420141642-z9mgyje16kkfy11z 1178 arn...@gm...-20080420173012-we22yoyvldt8u1az 1179 arn...@gm...-20080420173645-l296bgbr60wj267s 1180 arn...@gm...-20080420181134-ypu4ik21vc9ma1u9 1181 arn...@gm...-20080420192935-g59ddftmp35o6wdq 1182 arn...@gm...-20080420194530-qbyih90fixp3jevq 1183 arn...@gm...-20080420200905-mc0wa2egjt6k0783 1184 po...@12...-20080421110151-tm3apquwg3p4otyv 1185 po...@12...-20080421111032-2mwe6we5llzbqfj1 1186 arn...@gm...-20080421112743-av3pdgtq20m91f8c 1187 arn...@gm...-20080421122035-2ygc85ppjs7rhswn 1188 arn...@gm...-20080421194323-clug9p9pkjkgc0cw 1189 arn...@gm...-20080422063343-blx6k6y2ydxtbkjy 1190 po...@12...-20080422102607-kb3rl7h4i6alv3oo 1191 po...@12...-20080422143053-gsqp7dlvq1vwkahf 1192 arn...@gm...-20080423181453-79vl70wtqix7zxhf 1193 arn...@gm...-20080423184105-mp2f385vndp22m8f 1194 arn...@gm...-20080423185140-vz1vp66h0xzrxv6m 1195 arn...@gm...-20080423191309-bxflhitmwd36vix3 1196 arn...@gm...-20080423191718-3sc2ek2axdtc0b6e 1197 po...@12...-20080423223740-naz9ch6wp525yonb 1198 administrator@user315-m-20080424114244-eu0vcezrvqz7sf8t 1199 administrator@user315-m-20080424121241-ta23vg7isv4346qw 1200 po...@12...-20080424210032-97omp80p01ag7tlr + 1027 arn...@gm...-20080323183926-schknwnkgeo7ivdn 1028 zouzou123gen-20080323220411-r8usuc3qxwuh7zsn 1029 zouzou123gen-20080323221249-0su72zaj13e706mk 1030 arn...@gm...-20080324140623-muba1dl46m000o8c 1031 zouzou123gen-20080324141933-qbgr93ugpe0297m6 1032 arn...@gm...-20080324153706-siidja05n84i00b1 1033 arn...@gm...-20080324153823-lhn3awurnu77riln 1034 arn...@gm...-20080324165650-zapppziji67yf5a2 1035 zouzou123gen-20080324175936-4mqc2kh0lo5wtdu2 1036 zouzou123gen-20080325004602-6wdsoym95mjuhwd3 1037 arn...@gm...-20080325100659-8fqy6q65itmghlep 1038 zouzou123gen-20080325175216-s297sdiucukfvijh 1039 arn...@gm...-20080325210137-3dfqyoi8ykosy087 1040 arn...@gm...-20080325211747-nwwy1eb33r071sca 1041 arn...@gm...-20080326084110-qbselrjckku275xi 1042 zouzou123gen-20080326123631-35642mgbk2i4ty32 1043 zouzou123gen-20080326124345-f4xwn2d3ty8ubd6r 1044 arn...@gm...-20080326162031-il0nyms30w0mky43 1045 arn...@gm...-20080326164801-8dru8mjc06xgzjpv 1046 arn...@gm...-20080326170438-uzl2rx8fqnohak7g 1047 zouzou123gen-20080326172821-d6uqcbmfb0c6rwlv 1048 arn...@gm...-20080326213257-qlgdh7m2712p2l0q 1049 arn...@gm...-20080326214313-ktnoekgk3s0wmatz 1050 arn...@gm...-20080326215256-0j1iqrf286b9g7zf 1051 arn...@gm...-20080327082121-hoi22wh1gwjdfbyd 1052 arn...@gm...-20080327120639-um3tukdt374rwvgm 1053 zouzou123gen-20080327130703-6vtek6uxy3vua543 1054 arn...@gm...-20080327215831-dmg5mkufskabwkro 1055 arn...@gm...-20080327231459-cdztcv25alsuyqmf 1056 arn...@gm...-20080328085925-gceybsr53oml1p24 1057 arn...@gm...-20080328200512-1sjuu6bcnl2dyd2a 1058 arn...@gm...-20080328210347-bussqjrm5mfswh7o 1059 arn...@gm...-20080329055630-braiir1dskv7a4qm 1060 arn...@gm...-20080329061558-rck8dz60wpj3c5ja 1061 arn...@gm...-20080329081253-if6o5jn329mbzfpl 1062 arn...@gm...-20080329081619-cb4x930j8sp55cs0 1063 arn...@gm...-20080329103216-hgjzo7ra2zixbztd 1064 arn...@gm...-20080329124042-q3aw4iodmo5kafyp 1065 arn...@gm...-20080329124926-2je1z18p0272zpua 1066 arn...@gm...-20080329150901-ehj9t32en7eps2dp 1067 zouzou123gen-20080329153653-36xlvpik2ns9r84r 1068 zouzou123gen-20080329162703-51xr8hg073pg7wq5 1069 zouzou123gen-20080329234706-8ddipdqu0xeudkql 1070 arn...@gm...-20080330081232-ubqr1171ewalrd4q 1071 zouzou123gen-20080330131607-yppbs3mgyjef1cux 1072 zouzou123gen-20080330134835-yv1nogy77ib1uehd 1073 zouzou123gen-20080331124549-alyw7vugdn30piqy 1074 zouzou123gen-20080331135108-q8frtqsin5bosfzm 1075 zouzou123gen-20080331140757-u94q52yccl5lsifk 1076 zouzou123gen-20080331152513-ue1x5qhigcw51348 1077 arn...@gm...-20080331184436-a8g6chibmg8nswls 1078 arn...@gm...-20080331220648-81485k28qmwruwz6 1079 zouzou123gen-20080401081001-2yjn07cf8s5sxr3a 1080 zouzou123gen-20080401081247-f3p4hdjojnd460jw 1081 zouzou123gen-20080401084117-24a454g8o0x656kg 1082 zouzou123gen-20080401133146-jabb5i8870fg6f66 1083 zouzou123gen-20080401154610-mxdqoo5bksru93e6 1084 arn...@gm...-20080401185530-lqj4tflt5ldmx46f 1085 arn...@gm...-20080401212616-ffl7m0xm8gt15knk 1086 arn...@gm...-20080402084515-ofmnwihzv159jton 1087 arn...@gm...-20080402133105-y70soi38owzl76i9 1088 arn...@gm...-20080402142417-rn2dbkx19wfz3vae 1089 arn...@gm...-20080402144459-u3z3hqvl8aqjc4a0 1090 zouzou123gen-20080402145051-zi8tmvy8u3r2mzu8 1091 arn...@gm...-20080402152137-f397uz1yp9qjvfwh 1092 zouzou123gen-20080402170355-29wda40wk3cy7lu5 1093 arn...@gm...-20080402180628-ipos9li0c4bsmq1h 1094 arn...@gm...-20080402181235-s2a6f4ww4lzayl46 1095 arn...@gm...-20080402193851-6mu64vgep6tijith 1096 arn...@gm...-20080402203810-86zpxsx69q83zf3r 1097 arn...@gm...-20080402204331-so2e8n892o23pejr 1098 poy-20080402224153-225qylr2cfwhqrg7 1099 mrmikejj-20080403125112-o8polh8rkn62umyh 1100 arn...@gm...-20080403125139-8xub76j1xazhfxna 1101 po...@12...-20080403140544-13kockkjho883nb4 1102 po...@12...-20080403143012-bxghtoodiolugpbs 1103 arn...@gm...-20080403190809-bbi4bz5rfcvjnt20 1104 arn...@gm...-20080403205410-czxru1vcg1s4wcws 1105 arn...@gm...-20080403213124-54spdrwszgyimd90 1106 po...@12...-20080404002406-aj74x5tngi6mmmj1 1107 arn...@gm...-20080404122415-mjy07qzbaxyhagra 1108 po...@12...-20080404145445-84lyk5tyy3b3br14 1109 po...@12...-20080404231417-v4v8x7u3f0hm0ejc 1110 po...@12...-20080405001107-14d1ojjof8xhvcj8 1111 arn...@gm...-20080405071929-jmnrul21sxx04kky 1112 arn...@gm...-20080405080105-9qbda7be0pi7y1ai 1113 po...@12...-20080405154555-yuj2n5kyndfjlpsf 1114 po...@12...-20080405220250-8y09d0samsj8ja94 1115 po...@12...-20080406134101-4860ytb61sbu3yhg 1116 po...@12...-20080406155849-2wzxzuzs5m8zpk0g 1117 po...@12...-20080406164835-bv5dydhm3qqydsty 1118 arn...@gm...-20080406210237-c7tyfgiz2sjgv044 1119 po...@12...-20080407114423-4yajg1rffidq76bj 1120 arn...@gm...-20080407194826-c42t4bjzw4vflejn 1121 po...@12...-20080407214303-o7ul1bvcn6gvaoc9 1122 po...@12...-20080407220647-r7f3em92til5j67s 1123 po...@12...-20080408212439-54t3bqlhvw1nu4xc 1124 arn...@gm...-20080409193708-y6erfzwrcb1seet3 1125 arn...@gm...-20080409195827-ub6t2s3wdf28nfpz 1126 po...@12...-20080409215055-1zmqhhm2859878c1 1127 arn...@gm...-20080410102447-l4es4cbukkqwcnpc 1128 arn...@gm...-20080410214118-b70g50tl27cq9q29 1129 arn...@gm...-20080411074730-w1pu78qigtx87lx3 1130 arn...@gm...-20080411090724-kwdj9pg9hrv1xhwb 1131 po...@12...-20080411153057-tn7zhxqk0z7ceref 1132 arn...@gm...-20080411200946-ierqlg8v9vzj18n2 1133 arn...@gm...-20080411201718-ecshulwd7ic0wdci 1134 arn...@gm...-20080411204047-jc9vzcsf32j38dvc 1135 arn...@gm...-20080411205445-ojuz2a29yq8ww37j 1136 arn...@gm...-20080411214746-r420xmdgo35pkweb 1137 po...@12...-20080412010723-cibh8r0itlzqyt3f 1138 arn...@gm...-20080412200504-6qfeqnsghxgrk775 1139 arn...@gm...-20080413095435-2pkfb407hk8j54te 1140 arn...@gm...-20080413133927-zw2tpz8o8p3izyix 1141 arn...@gm...-20080413165025-ug342rxtq4blxck5 1142 arn...@gm...-20080413182618-6ihabn0tii6gb2m2 1143 arn...@gm...-20080413184517-9p08tedakta1h762 1144 arn...@gm...-20080413193655-kc98lx7kpzo42q43 1145 arn...@gm...-20080414132947-pguvkuzvyadukssc 1146 arn...@gm...-20080414133544-pxwxm9kcvw0k0vf3 1147 po...@12...-20080414174341-hw1im7ysymscpiq0 1148 arn...@gm...-20080414181459-5gu852lneflgf5d6 1149 po...@12...-20080414205719-d80e75fsl8zzi6je 1150 arn...@gm...-20080414211616-835ve71r1qdlbhb4 1151 arn...@gm...-20080415080409-4cid9q7opng8ijav 1152 arn...@gm...-20080415124540-roduj23x442jeefn 1153 arn...@gm...-20080415141450-cld2ym4s50uu31q7 1154 po...@12...-20080415143018-4emcs3u1fquzsu1f 1155 arn...@gm...-20080415174958-wfqu5kga5pe39xvc 1156 po...@12...-20080415182942-2ux0yn8immkrz7ch 1157 po...@12...-20080415185700-gdgpyn414bf4behz 1158 po...@12...-20080415202535-cvevdgrawpilji5b 1159 po...@12...-20080415214801-lgb1429qdm4ti6ub 1160 po...@12...-20080416123247-6dw18ea0lk4m5q8q 1161 po...@12...-20080416135834-6mtzcfy7pzxqfnq0 1162 po...@12...-20080416181626-0ex66f1lv1maf38l 1163 arn...@gm...-20080416183603-yxbj16t2nd8rdzzd 1164 arn...@gm...-20080416200700-wncbhytfixz9b15u 1165 po...@12...-20080416200941-5oigemky43sz6r87 1166 arn...@gm...-20080416204550-0dx3qhxasdkdohx1 1167 arn...@gm...-20080416211510-3ilsym0bom7u2cer 1168 tom@athlon-20080417125238-0hhhchg951y7p83w 1169 arn...@gm...-20080418203137-e6szrje3fje5dgh9 1170 arn...@gm...-20080419164722-vyjrwwvglxr4yxuu 1171 arn...@gm...-20080419164802-o2boulbfrea4e0dx 1172 arn...@gm...-20080419165129-zj3axn731fo84vd5 1173 po...@12...-20080419172806-2qspfwerslo10rd2 1174 arn...@gm...-20080419212304-3wjafor82amtvik3 1175 arn...@gm...-20080419212347-t5oze1b59dk7vkiv 1176 arn...@gm...-20080420133104-h16loa3kvzrpkxiv 1177 po...@12...-20080420141642-z9mgyje16kkfy11z 1178 arn...@gm...-20080420173012-we22yoyvldt8u1az 1179 arn...@gm...-20080420173645-l296bgbr60wj267s 1180 arn...@gm...-20080420181134-ypu4ik21vc9ma1u9 1181 arn...@gm...-20080420192935-g59ddftmp35o6wdq 1182 arn...@gm...-20080420194530-qbyih90fixp3jevq 1183 arn...@gm...-20080420200905-mc0wa2egjt6k0783 1184 po...@12...-20080421110151-tm3apquwg3p4otyv 1185 po...@12...-20080421111032-2mwe6we5llzbqfj1 1186 arn...@gm...-20080421112743-av3pdgtq20m91f8c 1187 arn...@gm...-20080421122035-2ygc85ppjs7rhswn 1188 arn...@gm...-20080421194323-clug9p9pkjkgc0cw 1189 arn...@gm...-20080422063343-blx6k6y2ydxtbkjy 1190 po...@12...-20080422102607-kb3rl7h4i6alv3oo 1191 po...@12...-20080422143053-gsqp7dlvq1vwkahf 1192 arn...@gm...-20080423181453-79vl70wtqix7zxhf 1193 arn...@gm...-20080423184105-mp2f385vndp22m8f 1194 arn...@gm...-20080423185140-vz1vp66h0xzrxv6m 1195 arn...@gm...-20080423191309-bxflhitmwd36vix3 1196 arn...@gm...-20080423191718-3sc2ek2axdtc0b6e 1197 po...@12...-20080423223740-naz9ch6wp525yonb 1198 administrator@user315-m-20080424114244-eu0vcezrvqz7sf8t 1199 administrator@user315-m-20080424121241-ta23vg7isv4346qw 1200 po...@12...-20080424210032-97omp80p01ag7tlr 1201 arn...@gm...-20080424212827-v52bn9nu74id6fjx Modified: dcplusplus/trunk/dwt/include/dwt/aspects/AspectText.h =================================================================== --- dcplusplus/trunk/dwt/include/dwt/aspects/AspectText.h 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/dwt/include/dwt/aspects/AspectText.h 2008-04-29 19:05:56 UTC (rev 1226) @@ -39,6 +39,7 @@ #include "../tstring.h" #include "../Dispatchers.h" #include "../Message.h" +#include "../util/win32/ApiHelpers.h" namespace dwt { @@ -54,6 +55,8 @@ WidgetType& W() { return *static_cast<WidgetType*>(this); } const WidgetType& W() const { return *static_cast<const WidgetType*>(this); } + HWND H() const { return W().handle(); } + static tstring getText(const MSG& msg) { return tstring( reinterpret_cast< TCHAR * >( msg.lParam ) ); } @@ -98,18 +101,13 @@ template< class WidgetType > size_t AspectText< WidgetType >::length( ) const { - return W().sendMessage(WM_GETTEXTLENGTH); + return util::win32::getWindowTextLength(H()); } template< class WidgetType > tstring AspectText< WidgetType >::getText() const { - size_t textLength = length(); - if ( textLength == 0 ) - return _T( "" ); - tstring retVal(textLength + 1, 0); - retVal.resize(W().sendMessage(WM_GETTEXT, static_cast<WPARAM>(textLength + 1), reinterpret_cast<LPARAM>(&retVal[0]))); - return retVal; + return util::win32::getWindowText(H()); } } Modified: dcplusplus/trunk/dwt/include/dwt/aspects/AspectUpdate.h =================================================================== --- dcplusplus/trunk/dwt/include/dwt/aspects/AspectUpdate.h 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/dwt/include/dwt/aspects/AspectUpdate.h 2008-04-29 19:05:56 UTC (rev 1226) @@ -58,7 +58,7 @@ /// Sets the event handler for the Updated event. /** When the Widget value/text is being updated this event will be raised. */ - void onUpdate(const Dispatcher::F& f) { + void onUpdated(const Dispatcher::F& f) { W().addCallback(WidgetType::getUpdateMessage(), Dispatcher(f)); } Modified: dcplusplus/trunk/dwt/include/dwt/util/check.h =================================================================== --- dcplusplus/trunk/dwt/include/dwt/util/check.h 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/dwt/include/dwt/util/check.h 2008-04-29 19:05:56 UTC (rev 1226) @@ -1,6 +1,37 @@ -#ifndef CHECK_H_ -#define CHECK_H_ +/* + DC++ Widget Toolkit + Copyright (c) 2007-2008, Jacek Sieka + + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the DWT nor SmartWin++ nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef DWT_CHECK_H_ +#define DWT_CHECK_H_ + namespace dwt { namespace util { #ifdef _DEBUG Added: dcplusplus/trunk/dwt/include/dwt/util/win32/ApiHelpers.h =================================================================== --- dcplusplus/trunk/dwt/include/dwt/util/win32/ApiHelpers.h (rev 0) +++ dcplusplus/trunk/dwt/include/dwt/util/win32/ApiHelpers.h 2008-04-29 19:05:56 UTC (rev 1226) @@ -0,0 +1,50 @@ +/* + DC++ Widget Toolkit + + Copyright (c) 2007-2008, Jacek Sieka + + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the DWT nor SmartWin++ nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "../../tstring.h" + +// This file contains various win32 api helpers / converters used to c++-ify win32 some +// It is considered internal to dwt and should not be used by others... + +namespace dwt { namespace util { namespace win32 { + +inline size_t getWindowTextLength(HWND hWnd) { return static_cast<size_t>(::SendMessage(hWnd, WM_GETTEXTLENGTH, 0, 0)); } + +inline tstring getWindowText(HWND hWnd) { + size_t textLength = getWindowTextLength(hWnd); + if (textLength == 0) + return tstring(); + tstring retVal(textLength + 1, 0); + retVal.resize(::SendMessage(hWnd, WM_GETTEXT, static_cast<WPARAM>(textLength + 1), reinterpret_cast<LPARAM>(&retVal[0]))); + return retVal; +} + +} } } Modified: dcplusplus/trunk/dwt/include/dwt/widgets/TextBox.h =================================================================== --- dcplusplus/trunk/dwt/include/dwt/widgets/TextBox.h 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/dwt/include/dwt/widgets/TextBox.h 2008-04-29 19:05:56 UTC (rev 1226) @@ -79,8 +79,6 @@ friend class WidgetCreator< TextBoxBase >; friend class AspectUpdate<TextBoxBase>; - typedef Dispatchers::VoidVoid<> Dispatcher; - public: /// Sets the current selection of the Edit Control /** Start means the offset of where the current selection shall start, if it is @@ -162,8 +160,6 @@ */ int getTextLimit() const ; - void onTextChanged( const Dispatcher::F& f ); - int lineIndex(int l = -1); int lineFromChar(int c = -1); @@ -345,12 +341,6 @@ return static_cast< int >( this->sendMessage(EM_GETLIMITTEXT) ); } -inline void TextBoxBase::onTextChanged( const Dispatcher::F& f ) { - this->addCallback( - Message( WM_COMMAND, MAKEWPARAM(0, EN_CHANGE) ), Dispatcher(f) - ); -} - inline int TextBoxBase::lineFromChar( int c ) { return this->sendMessage( EM_LINEFROMCHAR, c ); } Modified: dcplusplus/trunk/win32/CommandDlg.cpp =================================================================== --- dcplusplus/trunk/win32/CommandDlg.cpp 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/win32/CommandDlg.cpp 2008-04-29 19:05:56 UTC (rev 1226) @@ -130,12 +130,12 @@ nameBox = attachChild<TextBox>(IDC_NAME); commandBox = attachChild<TextBox>(IDC_COMMAND); - commandBox->onTextChanged(std::tr1::bind(&CommandDlg::updateCommand, this)); + commandBox->onUpdated(std::tr1::bind(&CommandDlg::updateCommand, this)); hubBox = attachChild<TextBox>(IDC_HUB); nick = attachChild<TextBox>(IDC_NICK); - nick->onTextChanged(std::tr1::bind(&CommandDlg::updateCommand, this)); + nick->onUpdated(std::tr1::bind(&CommandDlg::updateCommand, this)); once = attachChild<CheckBox>(IDC_SETTINGS_ONCE); once->setText(T_("Send once per nick")); Modified: dcplusplus/trunk/win32/FavHubProperties.cpp =================================================================== --- dcplusplus/trunk/win32/FavHubProperties.cpp 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/win32/FavHubProperties.cpp 2008-04-29 19:05:56 UTC (rev 1226) @@ -91,12 +91,12 @@ nick = attachChild<TextBox>(IDC_HUBNICK); nick->setTextLimit(35); nick->setText(Text::toT(entry->getNick(false))); - nick->onTextChanged(std::tr1::bind(&FavHubProperties::handleTextChanged, this, nick)); + nick->onUpdated(std::tr1::bind(&FavHubProperties::handleTextChanged, this, nick)); password = attachChild<TextBox>(IDC_HUBPASS); password->setPassword(); password->setText(Text::toT(entry->getPassword())); - password->onTextChanged(std::tr1::bind(&FavHubProperties::handleTextChanged, this, password)); + password->onUpdated(std::tr1::bind(&FavHubProperties::handleTextChanged, this, password)); userDescription = attachChild<TextBox>(IDC_HUBUSERDESCR); userDescription->setTextLimit(35); Modified: dcplusplus/trunk/win32/GeneralPage.cpp =================================================================== --- dcplusplus/trunk/win32/GeneralPage.cpp 2008-04-29 19:04:07 UTC (rev 1225) +++ dcplusplus/trunk/win32/GeneralPage.cpp 2008-04-29 19:05:56 UTC (rev 1226) @@ -79,7 +79,7 @@ nick = attachChild<TextBox>(IDC_NICK); nick->setTextLimit(35); - nick->onTextChanged(std::tr1::bind(&GeneralPage::handleNickTextChanged, this)); + nick->onUpdated(std::tr1::bind(&GeneralPage::handleNickTextChanged, this)); attachChild<TextBox>(IDC_EMAIL); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |