Compare commits
847 Commits
MAKEFILES_
...
wxPy-2-1-4
Author | SHA1 | Date | |
---|---|---|---|
|
c5691153e4 | ||
|
064f8bf6f8 | ||
|
74697a5713 | ||
|
e87d60c93b | ||
|
a181ac202f | ||
|
e685e57bbd | ||
|
13971833d8 | ||
|
8f17924e73 | ||
|
f0261a7246 | ||
|
91233253ec | ||
|
f85afd4e46 | ||
|
10434f3c24 | ||
|
e442cc0d9d | ||
|
704d25e2a3 | ||
|
f0a56ab0c3 | ||
|
f7a11f8c8e | ||
|
fe8aa971c4 | ||
|
a20cd16ca0 | ||
|
aee3892569 | ||
|
d6d2b6ae8f | ||
|
27476f7368 | ||
|
1bd1d102fd | ||
|
73974df1f9 | ||
|
e90c1d2a19 | ||
|
9841339c74 | ||
|
1d61ebaca1 | ||
|
5e0201eaa1 | ||
|
c5342938e2 | ||
|
5b95b795cc | ||
|
f19d58d551 | ||
|
302aa842e9 | ||
|
4658cb18f1 | ||
|
d443da9d54 | ||
|
9b94d7f91e | ||
|
ef3ab00998 | ||
|
a61ddc4715 | ||
|
d676ebcf25 | ||
|
d57bf68500 | ||
|
fa3e4baf13 | ||
|
9b7e522ae9 | ||
|
a439ecef10 | ||
|
f35c265988 | ||
|
b714136483 | ||
|
f036b31cde | ||
|
2131a664df | ||
|
275abf24e1 | ||
|
c756f74260 | ||
|
24df4c19d9 | ||
|
a0b4c98b8a | ||
|
1949cd9c5c | ||
|
4cd056a7c1 | ||
|
5fd11f0971 | ||
|
1c8515f9ab | ||
|
6782163029 | ||
|
69941f0586 | ||
|
47f631042b | ||
|
ad1fa80802 | ||
|
5c15428b75 | ||
|
25a37c8cb1 | ||
|
df9cbfc2bf | ||
|
e8b04eb349 | ||
|
f1415824cc | ||
|
ce44c50e9b | ||
|
def6fb9bd8 | ||
|
83b1f35395 | ||
|
7cc391bd39 | ||
|
09884325fc | ||
|
7a903311aa | ||
|
0661ec3993 | ||
|
ddc8c2e3ab | ||
|
e1811a014b | ||
|
93ccaed869 | ||
|
d391a34510 | ||
|
e1393d82b3 | ||
|
5427610e6b | ||
|
1ccd74daf9 | ||
|
b9b3ccd9ea | ||
|
f85d901fcb | ||
|
483249fc1a | ||
|
75d684d9f7 | ||
|
5bb0807e96 | ||
|
96db102a93 | ||
|
8dc9904630 | ||
|
37f6a9770c | ||
|
60edeacfb7 | ||
|
e918362128 | ||
|
2ebcd5f5fd | ||
|
5e014a0c44 | ||
|
a9221a9508 | ||
|
e0f83017f5 | ||
|
36e2955a64 | ||
|
76e1c2debf | ||
|
2f90df854e | ||
|
2348eaee20 | ||
|
74b31181b3 | ||
|
4f3ac40926 | ||
|
f0599ea919 | ||
|
0c5d3e1ccd | ||
|
7a3ac80489 | ||
|
ab20a9a95a | ||
|
a3a7f8791c | ||
|
fdb7dadb6e | ||
|
4a0253b82b | ||
|
a77aa9d600 | ||
|
1b9315eb77 | ||
|
51c0a521a9 | ||
|
866592d872 | ||
|
172d3acb55 | ||
|
556921dc4e | ||
|
ba7ce6a0b7 | ||
|
23e4b7d824 | ||
|
0ba1a6f33c | ||
|
17023320be | ||
|
4486e1be1f | ||
|
269e82009d | ||
|
d57eb7b9b3 | ||
|
b5a4a47df5 | ||
|
6e58e01afa | ||
|
86de7616de | ||
|
22aed133d8 | ||
|
dd85fc6b89 | ||
|
77cff60663 | ||
|
9c3d0b59c4 | ||
|
a14e57f9f7 | ||
|
45fcbf3b7a | ||
|
0c0d686fe5 | ||
|
76f78a96ce | ||
|
9cce9de16f | ||
|
10534c0bb1 | ||
|
26197023a7 | ||
|
b2bc50e4ca | ||
|
9dea50fc65 | ||
|
90a53a3aed | ||
|
572d746108 | ||
|
a4c970041c | ||
|
ae8f576913 | ||
|
964688d8ec | ||
|
60df2e7d97 | ||
|
6e31e94063 | ||
|
45c94d784d | ||
|
d2682f231a | ||
|
07d4b94c3b | ||
|
ec6e0a192c | ||
|
014b0d064e | ||
|
1fa609b166 | ||
|
0b862e2069 | ||
|
c8c0e54c70 | ||
|
284b4c8866 | ||
|
7d5af6fa6b | ||
|
077968ca5e | ||
|
5aeeab1454 | ||
|
086c94af90 | ||
|
5d47c8a0d2 | ||
|
186005466d | ||
|
eb254be6df | ||
|
a419c3b116 | ||
|
0616b8382d | ||
|
2d0294308d | ||
|
0190e1faf8 | ||
|
e166644c53 | ||
|
2819545569 | ||
|
77cd51c3de | ||
|
af2fd9613a | ||
|
236ef8a966 | ||
|
a3daed0276 | ||
|
9f6af110ff | ||
|
0b26605d52 | ||
|
7183e38bec | ||
|
1e2c86ca5c | ||
|
1e8abce5e8 | ||
|
9fea1a5d62 | ||
|
a6f989f3db | ||
|
7fb233050c | ||
|
93840b31b9 | ||
|
455fadaa6a | ||
|
503f414edd | ||
|
2e4f15693a | ||
|
0ce742cf09 | ||
|
7c235f0914 | ||
|
17aa2bec08 | ||
|
68317b6d3f | ||
|
7c395bf3a1 | ||
|
c21b68f7dd | ||
|
3ef01ce5e3 | ||
|
4c2d8a30f6 | ||
|
2d996ed1c4 | ||
|
6627a4b049 | ||
|
0045dee3f4 | ||
|
d04d2fb520 | ||
|
eaac466a40 | ||
|
a98404cd24 | ||
|
91f491639e | ||
|
761a9d2b1f | ||
|
a65c6e1446 | ||
|
0f66a9f39d | ||
|
5b626e7f84 | ||
|
ec3e670f9f | ||
|
d426c97e9a | ||
|
389c55270a | ||
|
18ba9da6b9 | ||
|
d098a3572c | ||
|
c23bbc11ea | ||
|
2e39ec8448 | ||
|
7cb86a4c28 | ||
|
5454a9276b | ||
|
6b5286d112 | ||
|
0940bcf7f5 | ||
|
a19fb96bd0 | ||
|
28468136d0 | ||
|
46c6b9c0ec | ||
|
b31ba28885 | ||
|
c596875e23 | ||
|
ca8a9e603a | ||
|
c399c2de41 | ||
|
ea9a4296a2 | ||
|
7682a175b6 | ||
|
066f302c6c | ||
|
2c738dd87a | ||
|
ebb206a33d | ||
|
1cf27c6349 | ||
|
bfa2e032ef | ||
|
b661e6759e | ||
|
2bbf461836 | ||
|
f42b1601d6 | ||
|
e6a5dc94a4 | ||
|
fcd4694c3e | ||
|
a0250ba3e5 | ||
|
a097c93d4f | ||
|
93c95e18f4 | ||
|
90bb2919de | ||
|
8ec2b48446 | ||
|
a0378c28b8 | ||
|
4c28d606dd | ||
|
2f7c2af547 | ||
|
83802b0bd9 | ||
|
fade627a81 | ||
|
e9e3e3abaf | ||
|
56d8adc0c0 | ||
|
ef25e6386d | ||
|
483c6690e9 | ||
|
1235650ffb | ||
|
b730516c98 | ||
|
e91a9dfcc3 | ||
|
1afc06c2d8 | ||
|
922dc97681 | ||
|
3ab72185cb | ||
|
d559219f40 | ||
|
228b910aea | ||
|
9ab6ee851e | ||
|
2b98cb1f84 | ||
|
83b1bfaac9 | ||
|
83413d6d2d | ||
|
35809fe3d7 | ||
|
d80d1aba10 | ||
|
7be110e30d | ||
|
b9b32d5c4f | ||
|
6f349458f6 | ||
|
feeb816597 | ||
|
cb421e53cb | ||
|
a16d3c04d7 | ||
|
11235b74ce | ||
|
33bbfe4b23 | ||
|
0b1c443719 | ||
|
aa3981f2c6 | ||
|
2f85113366 | ||
|
b70ababc14 | ||
|
2618484fed | ||
|
881eba2c0d | ||
|
a9775f1f58 | ||
|
791b24c405 | ||
|
9bbd7ba3ea | ||
|
904ec517d3 | ||
|
2ef1f50a94 | ||
|
1a9469d7cb | ||
|
533c7161fc | ||
|
63dcfc151b | ||
|
fbb90f7f2b | ||
|
2f435842c5 | ||
|
24126cdde8 | ||
|
543f08a676 | ||
|
d87a962086 | ||
|
7e9a386e10 | ||
|
1044a386f0 | ||
|
ed75793627 | ||
|
aa6d970619 | ||
|
de3131e784 | ||
|
da4a658da4 | ||
|
aa8fb7a016 | ||
|
11d737b409 | ||
|
e951f847fa | ||
|
b387781ceb | ||
|
d84b1219a5 | ||
|
7a4b8f2770 | ||
|
765e386bfa | ||
|
da4b7ffc78 | ||
|
107e4716f2 | ||
|
aa855f21a8 | ||
|
2f78bd2c04 | ||
|
ac1edf3546 | ||
|
efc5f22463 | ||
|
27d6502f98 | ||
|
fd4ff3bf16 | ||
|
8a35299aa9 | ||
|
bc83ea24b4 | ||
|
6245e5b6e8 | ||
|
5ca24bf4e0 | ||
|
6a94433573 | ||
|
18027d49b9 | ||
|
babd4308f2 | ||
|
5360828db9 | ||
|
311227c3fe | ||
|
70bdacfc8e | ||
|
72aa4a9873 | ||
|
499f945e99 | ||
|
aeb50f8660 | ||
|
197dd9af26 | ||
|
c15d098cdf | ||
|
f0d922cf78 | ||
|
ba7c80a26c | ||
|
7aaacad553 | ||
|
771b931d92 | ||
|
7a50d5403c | ||
|
307959d652 | ||
|
ccc0d1f2b6 | ||
|
6319afe332 | ||
|
6cc24024d6 | ||
|
91ffcaf2f6 | ||
|
fb8b9da2ba | ||
|
b83290c3eb | ||
|
a2b8bd5537 | ||
|
2e36534843 | ||
|
4df78dc36e | ||
|
e08e239b43 | ||
|
8bb8ab39dd | ||
|
dfdc56a3b0 | ||
|
f3391ea5e0 | ||
|
ef3a5c9e09 | ||
|
75ceb69db0 | ||
|
6a2a235ba9 | ||
|
d39356d524 | ||
|
aa95f52ee7 | ||
|
0662cd3286 | ||
|
5b4f8dd5c0 | ||
|
d559158225 | ||
|
79bc2382e3 | ||
|
2ba3d4f0dd | ||
|
48c12cb129 | ||
|
cbd4be25b2 | ||
|
2080bf4f44 | ||
|
6523d1198f | ||
|
b9943f8e8f | ||
|
8a68d8b6c1 | ||
|
56c667557e | ||
|
cfcab3d203 | ||
|
d127d9360f | ||
|
1bd3e1efef | ||
|
9baf15cea6 | ||
|
3372145d9d | ||
|
a6f3598d2b | ||
|
b86de524c7 | ||
|
b164fb385a | ||
|
0ac77ef5c8 | ||
|
503aa33d55 | ||
|
641d87d868 | ||
|
45e726de6b | ||
|
6970c7b916 | ||
|
95814e4902 | ||
|
c60fc26d55 | ||
|
78fa90773a | ||
|
41435ed2e9 | ||
|
f1b34d5aa3 | ||
|
629e313037 | ||
|
77031c5a16 | ||
|
bfdafe6372 | ||
|
a35c976180 | ||
|
3c87527e89 | ||
|
bd2fdefea2 | ||
|
6dfaa4e5d9 | ||
|
8636aed896 | ||
|
799a341cc3 | ||
|
271cb474f8 | ||
|
5c3a94a62a | ||
|
233e355cdd | ||
|
f32bba383f | ||
|
0a98aa1a4d | ||
|
09eea162f7 | ||
|
2e76d51926 | ||
|
2996bcde9c | ||
|
d1bc9efeff | ||
|
2723cfeba2 | ||
|
f786a3b23d | ||
|
d50c81d3ad | ||
|
cc17753ff6 | ||
|
5148fc8e35 | ||
|
a8e3377c03 | ||
|
2f0062dfe4 | ||
|
325274bbf5 | ||
|
a353a0be68 | ||
|
3e0de8a570 | ||
|
a29cd6c0b0 | ||
|
a2241297df | ||
|
6de7caffec | ||
|
3f3cec484d | ||
|
1db46618f7 | ||
|
72ed7aae1d | ||
|
742af0714e | ||
|
0d63916894 | ||
|
80d895cd3f | ||
|
916d0b6165 | ||
|
65045edde4 | ||
|
e2acb9ae1c | ||
|
ac2def68ed | ||
|
4130b487dc | ||
|
ed58dbeab6 | ||
|
5586805bfa | ||
|
a2c75a028d | ||
|
585ae8cbc0 | ||
|
d9bd149456 | ||
|
b2a9d5b418 | ||
|
bd8aa7e059 | ||
|
9c8849722a | ||
|
03443829ac | ||
|
7750247f60 | ||
|
93dfff5ae6 | ||
|
f3b8ef890c | ||
|
2d0918205a | ||
|
e8ac7bf221 | ||
|
0828c0875e | ||
|
cae5359f18 | ||
|
772829164b | ||
|
b87654f3fd | ||
|
a8d9809fc0 | ||
|
bcc46c7559 | ||
|
3a3eed31f0 | ||
|
7b2471a060 | ||
|
895fc9cb8b | ||
|
e6daf79489 | ||
|
9ce29a28cd | ||
|
0b8558681e | ||
|
1d99702e4b | ||
|
661dc384df | ||
|
464122b639 | ||
|
21d72d1755 | ||
|
eb4642a989 | ||
|
def89c21b6 | ||
|
e841d48627 | ||
|
6c5e63761c | ||
|
8b17ba727c | ||
|
4540b0b60f | ||
|
7ac080a1c7 | ||
|
469eb89edc | ||
|
deb2fec01e | ||
|
40d4abbc70 | ||
|
a24657845b | ||
|
42b4e99e9a | ||
|
0b129e1a85 | ||
|
fd9811b137 | ||
|
c62d808272 | ||
|
5b96c684f3 | ||
|
66cd017c29 | ||
|
515da557f1 | ||
|
dc6c62a931 | ||
|
354616b046 | ||
|
622e48cbd2 | ||
|
a3736ef475 | ||
|
4c151c737e | ||
|
43427087aa | ||
|
526ddb13e2 | ||
|
f1f5976f1f | ||
|
b1683d3899 | ||
|
549c6f67f9 | ||
|
8fe0578285 | ||
|
8a5137d74a | ||
|
ac15e21dc7 | ||
|
a8efa9e391 | ||
|
d54ed754ae | ||
|
66635d688c | ||
|
d4feedcff1 | ||
|
d1c7850d7e | ||
|
27ea1d8aae | ||
|
4cb122de97 | ||
|
a4aad9613a | ||
|
e4b4d60e56 | ||
|
75ef19df59 | ||
|
e2a1679e71 | ||
|
c7527e3f21 | ||
|
ad9edf45f1 | ||
|
517a619dc3 | ||
|
eebe401675 | ||
|
265b457741 | ||
|
c32cfa3641 | ||
|
583a65787f | ||
|
a47ad26244 | ||
|
af23d90aa3 | ||
|
2aa887306b | ||
|
bf3e0fbd1f | ||
|
364c7f3c68 | ||
|
d2befda32f | ||
|
1a5e297c6b | ||
|
48b1d0ff4f | ||
|
b80c8d89d6 | ||
|
4107d4fdd1 | ||
|
144247aca9 | ||
|
4b123bb9cc | ||
|
05394a18d4 | ||
|
bed9b80689 | ||
|
c0854a089c | ||
|
92afa2b150 | ||
|
9635832dbd | ||
|
8e877c195b | ||
|
d5b08e7b07 | ||
|
e96ac54e83 | ||
|
5391f772be | ||
|
3a2490c684 | ||
|
0ae2df3052 | ||
|
073478b3d0 | ||
|
50bcd1ae77 | ||
|
a8cb1d29e7 | ||
|
d66d9d5bf0 | ||
|
dc26b37a91 | ||
|
7dee726c7e | ||
|
98781fa30e | ||
|
4b6f0b91ff | ||
|
3417c2cd3d | ||
|
d597fcb781 | ||
|
447a039fa3 | ||
|
956418ab76 | ||
|
77671fd2d6 | ||
|
61d514bb2f | ||
|
c62ac5b6e4 | ||
|
29672bf006 | ||
|
60811dc6cc | ||
|
2c997ad008 | ||
|
5279a24d25 | ||
|
6001e347ba | ||
|
3f1aaa1635 | ||
|
8e124873c5 | ||
|
cc345f7897 | ||
|
71f21f464f | ||
|
aea02638ea | ||
|
988238ab15 | ||
|
8f7173abc4 | ||
|
ea4f5235fc | ||
|
91c93c9927 | ||
|
402a82c6be | ||
|
ed8f12be32 | ||
|
83475efc94 | ||
|
89124b1ac2 | ||
|
7309b92dd7 | ||
|
f8c4475a3e | ||
|
d422d01eec | ||
|
22d6efa851 | ||
|
e70f5e1301 | ||
|
48e74ff549 | ||
|
60b6c062f8 | ||
|
d7cb14cec9 | ||
|
fb39c7ecd7 | ||
|
c543cdb77b | ||
|
956dbab1eb | ||
|
867673d4f2 | ||
|
edc26c4c2d | ||
|
77ed579e58 | ||
|
3f0be3ec40 | ||
|
923eda0780 | ||
|
60f5b8804b | ||
|
645ab2ee26 | ||
|
009a1c89e7 | ||
|
91ad003f43 | ||
|
f581a26df9 | ||
|
c3d434725b | ||
|
18ac8d6919 | ||
|
48bf5def83 | ||
|
48828fc9f0 | ||
|
8c3c31d4a5 | ||
|
88b0e1c83d | ||
|
17b0d794e6 | ||
|
c5be98a644 | ||
|
51929198e4 | ||
|
54e575f947 | ||
|
cb1b6606ab | ||
|
ccf0b1d76c | ||
|
36dda0de23 | ||
|
e65cc56a3b | ||
|
33961d59b0 | ||
|
2356708db3 | ||
|
6bddd8c5f3 | ||
|
de44a9f06d | ||
|
65fd5cb012 | ||
|
ea8fe90e65 | ||
|
2776d7c3bd | ||
|
a547ebffd6 | ||
|
d674cf6dc3 | ||
|
11b63f34f8 | ||
|
fa12f7e609 | ||
|
c9f9be4510 | ||
|
ff881f70d3 | ||
|
68abfefc45 | ||
|
d5d63453b1 | ||
|
3fb98ddfec | ||
|
6ccec5fcb2 | ||
|
7bcd390c94 | ||
|
1dc2f8658b | ||
|
849949b13f | ||
|
d22699b5eb | ||
|
e46286351d | ||
|
9bb2eb9fd6 | ||
|
e00f35bb06 | ||
|
1408104d04 | ||
|
3ab377bd1a | ||
|
913df6f2e0 | ||
|
54da4255a2 | ||
|
4d194d6368 | ||
|
5af2ff30ec | ||
|
10fcf31a2c | ||
|
4ee14879f2 | ||
|
23a54e14a7 | ||
|
f439844be2 | ||
|
71cbe687e3 | ||
|
2899e22327 | ||
|
fbdc71e0a7 | ||
|
9592b68708 | ||
|
97979ddfbe | ||
|
8bf5d46efb | ||
|
f91cd38969 | ||
|
2179d57968 | ||
|
9dfbf520eb | ||
|
717b9bf234 | ||
|
b7a34956cb | ||
|
604e7194e1 | ||
|
3646fd68cb | ||
|
39b91ecabe | ||
|
aa994705c7 | ||
|
154c4aa113 | ||
|
7ff14117cb | ||
|
b453e1b24b | ||
|
dfa13ec8d7 | ||
|
19e0e04b93 | ||
|
978db70ee3 | ||
|
4a041f2f92 | ||
|
e2e04ea4a7 | ||
|
3d9431bf7e | ||
|
d5dbeb3140 | ||
|
f56b833007 | ||
|
8a4df1595b | ||
|
7e1e096097 | ||
|
552e8bf87f | ||
|
7742efff20 | ||
|
0bcddc59c8 | ||
|
9b61f868b5 | ||
|
631fd4122a | ||
|
bbdb0e1313 | ||
|
45ccdd76c3 | ||
|
04392d70b9 | ||
|
f79c001d5d | ||
|
65ccd2b826 | ||
|
0e320a79f1 | ||
|
c2ff79b17b | ||
|
a1925afc90 | ||
|
452fd09f36 | ||
|
b1519886c3 | ||
|
52326d0eac | ||
|
9830033051 | ||
|
a3015c547a | ||
|
0c551f1c23 | ||
|
0655ad290a | ||
|
f61815af20 | ||
|
3de08727ca | ||
|
e5b767fff6 | ||
|
3660fc40ad | ||
|
a123dde717 | ||
|
bac507e062 | ||
|
e2c87f4cc4 | ||
|
1777b9bbf4 | ||
|
2259e00789 | ||
|
4dcaf11a7b | ||
|
813c20a67e | ||
|
2d61b48d14 | ||
|
31989b0b8f | ||
|
b116ab033e | ||
|
43871a5df9 | ||
|
a3c1786def | ||
|
193fe98904 | ||
|
106e25cccf | ||
|
58a855e062 | ||
|
d9ea011f4d | ||
|
ca17eff36b | ||
|
b2158ed0da | ||
|
2ac1b69a00 | ||
|
8d99be5f53 | ||
|
bae41ce192 | ||
|
e9158f7d8b | ||
|
a62867a56e | ||
|
7f7d950530 | ||
|
5f1ea0eeda | ||
|
15a2076a46 | ||
|
fd128b0c3a | ||
|
6e29a95a9a | ||
|
b56baa2d03 | ||
|
d9d61c23a8 | ||
|
dae3fbd88e | ||
|
2633389890 | ||
|
db8db70a19 | ||
|
0252777919 | ||
|
86f975a858 | ||
|
23aa4f09d2 | ||
|
b6caf397b3 | ||
|
24bd64eec1 | ||
|
c39eda949d | ||
|
fa834f81d7 | ||
|
8ed889787f | ||
|
0544bc0aab | ||
|
41bf0eb335 | ||
|
a58d5df4ef | ||
|
e179bd6537 | ||
|
a76015e6eb | ||
|
420ec58abb | ||
|
3001340cf4 | ||
|
befa6d980e | ||
|
3a5815b583 | ||
|
a35faffd59 | ||
|
22cf5fec15 | ||
|
e8b591249e | ||
|
259d1674f2 | ||
|
3bcf00abd7 | ||
|
9f3553c83e | ||
|
53f69f7a04 | ||
|
4ba80ec7ff | ||
|
9260761613 | ||
|
cd25b18c8e | ||
|
5a96d2f45f | ||
|
7e256c24fb | ||
|
11aab0d000 | ||
|
24463897d5 | ||
|
f98e25588d | ||
|
c193b707eb | ||
|
5ea4780630 | ||
|
9be9b97445 | ||
|
5bb05bc139 | ||
|
31528cd3ca | ||
|
c45a644eda | ||
|
dbd300df5c | ||
|
54c13c66d2 | ||
|
48a84964c6 | ||
|
5701b057fb | ||
|
ee6db21e41 | ||
|
59bc036c03 | ||
|
efee48a0f6 | ||
|
6de9282600 | ||
|
b91b22004d | ||
|
aece0491ee | ||
|
e7fc59f4a1 | ||
|
fc8525d7b0 | ||
|
e7b3d6babb | ||
|
e385b3ff37 | ||
|
c1b03ce802 | ||
|
45e41c05e4 | ||
|
5d1d2d465d | ||
|
c49245f8ba | ||
|
953704c1c7 | ||
|
1e7fd31108 | ||
|
a324a7bccf | ||
|
e4d18e7f60 | ||
|
b62c3631c9 | ||
|
619d05280a | ||
|
5d55595cb6 | ||
|
1fad4c3eb2 | ||
|
214960fb6d | ||
|
e41bbc80bc | ||
|
f92722960b | ||
|
6a570331df | ||
|
63b522d64b | ||
|
ee31c392ac | ||
|
20a8b34e2c | ||
|
d85eb7fcf8 | ||
|
8d18450524 | ||
|
c769f24816 | ||
|
8dd71e2b51 | ||
|
2508212677 | ||
|
483ff5a5af | ||
|
a1665b22b0 | ||
|
22baaed33e | ||
|
934e1edaf4 | ||
|
ba7f542f6a | ||
|
c637d46187 | ||
|
63aea43ffd | ||
|
2662e49e09 | ||
|
1ecffbff71 | ||
|
b908d2244a | ||
|
910484a67d | ||
|
c7a800eadb | ||
|
0d63177885 | ||
|
089989960f | ||
|
8506d95db4 | ||
|
0ae7f2a2e2 | ||
|
bcbc841d41 | ||
|
b09a4bb984 | ||
|
ab5a0b5d33 | ||
|
e6f1ad222c | ||
|
112c5086e8 | ||
|
510649e4d5 | ||
|
8b9c0e20ba | ||
|
cc9efb9be7 | ||
|
4d223b6704 | ||
|
530e7fa307 | ||
|
4f84c635dc | ||
|
01bc089cd2 | ||
|
b761fe4cfa | ||
|
baa9caff7e | ||
|
73927f8bac | ||
|
1d37e64400 | ||
|
29ea4a2908 | ||
|
bfcc7d7fd0 | ||
|
0c07f09eab | ||
|
25a2a4b05e | ||
|
9e855852c1 | ||
|
678d9f2a42 | ||
|
0a2fe387aa | ||
|
bcb5057e60 | ||
|
b2cad68016 | ||
|
bf86bd78cc | ||
|
803a65290b | ||
|
77b497a04a | ||
|
3bb0b01c29 | ||
|
4d19d97916 | ||
|
9b73db3c34 | ||
|
de844935b6 | ||
|
87c13572ad | ||
|
622d090e8a | ||
|
5d9c28189e | ||
|
5e3dad49b0 | ||
|
b21624e7e0 | ||
|
b6a0d8a25b | ||
|
b07b29d788 | ||
|
d30e0edda8 | ||
|
3b245d601a | ||
|
c980c99263 | ||
|
324dbfec39 | ||
|
d2e1ef1928 | ||
|
6a008b33c4 | ||
|
0efe5ba76e | ||
|
8b04a037d0 | ||
|
a1b82138ef | ||
|
f2071dda0b | ||
|
52d802ebb8 | ||
|
0e1ead0ef2 | ||
|
63e3daf4c7 | ||
|
98d3fdbedd |
@@ -3,6 +3,7 @@ bin
|
||||
.gdb_history
|
||||
Test
|
||||
config.cache
|
||||
configarg.cache
|
||||
config.status
|
||||
system.list
|
||||
linux.system.cache
|
||||
@@ -17,16 +18,16 @@ linux-gnu.system.cache
|
||||
*.ncb
|
||||
*.pro
|
||||
*.opt
|
||||
*.d
|
||||
Release
|
||||
Debug
|
||||
ReleaseDLL
|
||||
DebugDLL
|
||||
robert
|
||||
Makefile.in
|
||||
setup.h.in
|
||||
stamp-h.in
|
||||
Makefile
|
||||
configure
|
||||
setup.h
|
||||
stamp-h
|
||||
libtool
|
||||
aclocal.m4
|
||||
|
212
BuildCVS.txt
@@ -5,66 +5,188 @@
|
||||
I) Windows using plain makefiles
|
||||
----------------------------------------
|
||||
|
||||
No idea, never did it.
|
||||
a) If using Microsoft Visual C++ 5.0 or 6.0
|
||||
|
||||
Ensure that the command-line compiler and tools (including
|
||||
nmake) are installed and ready to run. Depending on your
|
||||
installation there may be a batch file (named something like
|
||||
VCVARS32.BAT) that needs to be run to set correct environment
|
||||
varaibles and PATH entries.
|
||||
|
||||
Continue with item c) below.
|
||||
|
||||
|
||||
II) Unix using plain makefiles.
|
||||
----------------------------------------
|
||||
b) If using the GNU MinGW32 or GNU CygWin32 compilers
|
||||
|
||||
You'll need the compiler itself which is available from
|
||||
|
||||
http://www.cygwin.com
|
||||
|
||||
When using MingW32 you'll need GNU make which is a part
|
||||
of the CygWin32 toolchain and is also available as a stand
|
||||
alone port without the infamous Cygwin.dll from
|
||||
|
||||
http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32
|
||||
|
||||
The makefile has small problems with Cygwin<69>s tools
|
||||
so it is recommended not to use these (but MingGW32
|
||||
and its make.exe).
|
||||
|
||||
-> Set your path so that it includes the directory
|
||||
where your compiler and tools reside
|
||||
|
||||
|
||||
c) Build instructions
|
||||
|
||||
-> Assumming that you installed the wxWindows sources
|
||||
into c:\wxWin
|
||||
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
||||
to c:\wxWin\include\wx\msw\setup.h
|
||||
-> Edit c:\wxWin\include\wx\msw\setup.h so that
|
||||
most features are enabled (i.e. defined to 1) with
|
||||
#define wxUSE_ODBC 0
|
||||
#define wxUSE_SOCKETS 0
|
||||
#define wxUSE_HTML 1
|
||||
#define wxUSE_THREADS 1
|
||||
#define wxUSE_FS_INET 0
|
||||
#define wxUSE_FS_ZIP 1
|
||||
#define wxUSE_BUSYINFO 1
|
||||
#define wxUSE_DYNLIB_CLASS 1
|
||||
#define wxUSE_ZIPSTREAM 1
|
||||
#define wxUSE_LIBJPEG 1
|
||||
#define wxUSE_LIBPNG 1
|
||||
|
||||
and iostreams ares disabled with
|
||||
#define wxUSE_STD_IOSTREAM 0
|
||||
-> type: cd c:\wxWin\src\msw
|
||||
-> type: make -f makefile.g95 (if using GNU tools)
|
||||
or type: make -f makefile.vc (if using MS VC++)
|
||||
|
||||
|
||||
II) Unix ports
|
||||
--------------
|
||||
|
||||
Building wxGTK or wxMotif completely without configure
|
||||
won't ever work, but there is now a new makefile system
|
||||
that works without libtool and automake, using only
|
||||
configure to create what is needed.
|
||||
|
||||
In order to create configure, you need to have the
|
||||
GNU autoconf package (version 2.13 or 2.14) installed
|
||||
on your system and type run "autoconf" in the base
|
||||
directory (or run the autogen.sh script in the same
|
||||
directory, which just calls autoconf).
|
||||
|
||||
Set WXWIN environment variable to the base directory such
|
||||
as ~/wxWindows
|
||||
as ~/wxWindows (this is actually not really needed).
|
||||
|
||||
-> type: export WXWIN=~/wxWindows
|
||||
-> type: md mybuild
|
||||
-> type: cd mybuild
|
||||
-> type: ../configure --with-motif
|
||||
or type: ../configure --with-gtk
|
||||
-> type: make
|
||||
-> type: su <type root password>
|
||||
-> type: make install
|
||||
-> type: ldconfig
|
||||
-> type: exit
|
||||
|
||||
Edit ~/wxWindows/src/make.env as you wish.
|
||||
-> type: cd ~/wxWindows/src/gtk
|
||||
-> type: cp ./setup0.h setup.h
|
||||
-> type: make -f makefile.unx gtk
|
||||
-> pray
|
||||
Call configure with --disable-shared to create a static
|
||||
library. Calling "make uninstall" will remove the installed
|
||||
library and "make dist" will create a distribution (not
|
||||
yet complete).
|
||||
|
||||
III) Windows using configure
|
||||
----------------------------------------
|
||||
|
||||
No idea..
|
||||
|
||||
|
||||
IV) Unix using configure
|
||||
----------------------------------------
|
||||
|
||||
a) You have all the newest and greatest GNU tools installed on your system
|
||||
and in the same directory hierachy (e.g. either all tools in /usr or all
|
||||
in /usr/local), these tools are:
|
||||
- GNU libtool 1.2e (1.3 doesn't work here)
|
||||
- GNU autoconf 2.13 (including autoheader 2.13)
|
||||
- GNU automake 1.4 (including aclocal 1.4)
|
||||
and possibly but not forcibly
|
||||
- GNU make 3.76.1
|
||||
- GNU C++ (EGCS)
|
||||
|
||||
-> Go to the base directory
|
||||
-> type: ./autogen.sh
|
||||
|
||||
b) You don't know what autos are and have no driver's licence anyway:
|
||||
|
||||
-> Go to the testconf directory
|
||||
-> type: ./apply
|
||||
|
||||
a+b) Then proceed in either case with:
|
||||
|
||||
-> Choose a directory name that seems fit for building wxWindows, e.g. mybuild
|
||||
-> Go the base directory
|
||||
-> type: mkdir mybuild
|
||||
-> type: cd mybuild
|
||||
-> type: ../configure --with-gtk
|
||||
or type: ../configure --with-motif
|
||||
or type: ../configure --with-wine
|
||||
-> type make
|
||||
-> drink lots of coffee and go shopping
|
||||
Take a look at Unix->Windows cross compiling. With minor
|
||||
modifications, this should work in Windows if you've got the cygnus
|
||||
utilities (bash, GNU make, etc) and either mingw32 or cygwin32 installed.
|
||||
See http://www.cygnus.com for these programs, or go straight to their
|
||||
ftp server at ftp://sourceware.cygnus.com/pub/cygwin/.
|
||||
|
||||
Of course, you can also build the library using plain makefiles (see
|
||||
section I).
|
||||
|
||||
V) MacOS
|
||||
----------------------------------------
|
||||
|
||||
V) OS/2
|
||||
VI) OS/2
|
||||
----------------------------------------
|
||||
|
||||
VII) Unix->Windows cross-compiling using configure
|
||||
--------------------------------------------------
|
||||
|
||||
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
|
||||
cygwin32 (both based on egcs) can be found at
|
||||
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Otherwise you can
|
||||
compile one yourself. Check the relevant FAQs.
|
||||
|
||||
[ A Note about cygwin32 and mingw32: the main difference is that cygwin32
|
||||
binaries are always linked against cygwin.dll. This dll encapsulates most
|
||||
standard Unix C extensions, which is very handy if you're porting unix
|
||||
software to windows. However, wxMSW doesn't need this, so mingw32 is
|
||||
preferable if you write portable C(++). ]
|
||||
|
||||
You might want to build both Unix and Windows binaries in the same source
|
||||
tree; to do this make subdirs for each e.g. unix and win32. If you've
|
||||
already build wxWindows in the main dir, do a 'make distclean' there,
|
||||
otherwise configure will get confused. (In any case, read the section 'Unix
|
||||
using configure' and make sure you're able to build a native wxWindows
|
||||
library; cross-compiling errors can be pretty obscure and you'll want to be
|
||||
sure that your configure setup is basically sound.)
|
||||
|
||||
To cross compile the windows library, do
|
||||
-> cd win32
|
||||
(or whatever you called it)
|
||||
Now run configure. There are two ways to do this
|
||||
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw \
|
||||
--enable-dnd=no
|
||||
where --build= should read whatever platform you're building on. Configure
|
||||
will notice that build and host platforms differ, and automatically prepend
|
||||
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
|
||||
The other way to run configure is by specifying the names of the binaries
|
||||
yourself:
|
||||
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
||||
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
|
||||
../configure --host=i586-mingw32 --with-mingw --enable-dnd=no
|
||||
|
||||
(all assuming you're using mingw32)
|
||||
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
||||
|
||||
[ Update: some new mingw32 versions now have a new set of windows header
|
||||
files, which apparently can handle ole. Untested at the moment ]
|
||||
|
||||
Configure will conclude that shared libraries are out of the question and
|
||||
opt for a static one. I haven't looked into DLL creation yet.
|
||||
|
||||
Type
|
||||
-> make
|
||||
and wait, wait, wait. Don't leave the room, because the minute you do there
|
||||
will be a compile error :-)
|
||||
|
||||
If this is successful, you end up with a libwx_msw.a in win32/lib. Now try
|
||||
building the minimal sample:
|
||||
|
||||
-> cd samples/minimal
|
||||
-> make
|
||||
-> mv minimal minimal.exe
|
||||
|
||||
and run it with wine, for example
|
||||
-> wine minimal.exe
|
||||
|
||||
If all is well, do an install; from win32
|
||||
-> make install
|
||||
|
||||
Native and cross-compiled installations can co-exist peacefully
|
||||
(as long as their widget sets differ), except for wx-config. You might
|
||||
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
|
||||
|
||||
Cross-compiling TODO:
|
||||
---------------------
|
||||
- resource compiling must be done manually for now (should/can we link the
|
||||
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
|
||||
link it in... you have to supply an object file ]
|
||||
- dynamic libraries
|
||||
- static executables are HUGE -- there must be room for improvement.
|
||||
|
||||
|
13
Makefile.am
@@ -1,13 +0,0 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.3
|
||||
# no-dependencies
|
||||
|
||||
SUBDIRS = include src samples misc # utils user docs
|
||||
|
||||
bin_SCRIPTS = wx-config
|
||||
|
||||
configincludedir = $(libdir)/wx/include/wx/$(TOOLKIT_DIR)
|
||||
|
||||
configinclude_DATA = \
|
||||
setup.h
|
||||
|
2341
Makefile.in
Normal file
118
Mingw32-gcc295.patches
Normal file
@@ -0,0 +1,118 @@
|
||||
*** \gcc-inc\basetyps.h Sat Jul 31 16:48:36 1999
|
||||
--- basetyps.h Fri Aug 06 11:14:36 1999
|
||||
***************
|
||||
*** 74,91 ****
|
||||
--- 74,97 ----
|
||||
STDMETHOD(Clone)(IENUM_THIS_(I) I**) PURE; \
|
||||
}
|
||||
#define DECLARE_ENUMERATOR(T) DECLARE_ENUMERATOR_(IEnum##T,T)
|
||||
|
||||
+ #ifndef GUID_DEFINED
|
||||
+ #define GUID_DEFINED
|
||||
typedef struct _GUID
|
||||
{
|
||||
unsigned long Data1;
|
||||
unsigned short Data2;
|
||||
unsigned short Data3;
|
||||
unsigned char Data4[8];
|
||||
} GUID;
|
||||
+ #endif /* GUID_DEFINED */
|
||||
typedef GUID *REFGUID;
|
||||
typedef GUID *LPGUID;
|
||||
+ #ifndef UUID_DEFINED
|
||||
+ #define UUID_DEFINED
|
||||
typedef GUID UUID;
|
||||
+ #endif /* UUID_DEFINED */
|
||||
typedef GUID IID;
|
||||
typedef GUID CLSID;
|
||||
typedef CLSID *LPCLSID;
|
||||
typedef IID *LPIID;
|
||||
|
||||
|
||||
*** \gcc-inc\oaidl.h Sat Jul 31 16:48:42 1999
|
||||
--- oaidl.h Fri Aug 06 13:18:48 1999
|
||||
***************
|
||||
*** 39,44 ****
|
||||
--- 39,53 ----
|
||||
#define IMPLTYPEFLAG_FRESTRICTED 4
|
||||
#define IMPLTYPEFLAG_FDEFAULTVTABLE 8
|
||||
|
||||
+ #define DISPID_UNKNOWN ( -1 )
|
||||
+ #define DISPID_VALUE ( 0 )
|
||||
+ #define DISPID_PROPERTYPUT ( -3 )
|
||||
+ #define DISPID_NEWENUM ( -4 )
|
||||
+ #define DISPID_EVALUATE ( -5 )
|
||||
+ #define DISPID_CONSTRUCTOR ( -6 )
|
||||
+ #define DISPID_DESTRUCTOR ( -7 )
|
||||
+ #define DISPID_COLLECT ( -8 )
|
||||
+
|
||||
typedef interface ITypeLib *LPTYPELIB;
|
||||
typedef interface ICreateTypeInfo *LPCREATETYPEINFO;
|
||||
typedef interface ICreateTypeInfo2 *LPCREATETYPEINFO2;
|
||||
***************
|
||||
*** 49,54 ****
|
||||
--- 58,73 ----
|
||||
typedef interface IDispatch *LPDISPATCH;
|
||||
typedef interface ICreateErrorInfo *LPCREATEERRORINFO;
|
||||
|
||||
+ extern "C" const IID IID_ITypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo2;
|
||||
+ extern "C" const IID IID_ICreateTypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeLib2;
|
||||
+ extern "C" const IID IID_ITypeInfo;
|
||||
+ extern "C" const IID IID_IErrorInfo;
|
||||
+ extern "C" const IID IID_IDispatch;
|
||||
+ extern "C" const IID IID_ICreateErrorInfo;
|
||||
+
|
||||
typedef enum tagSYSKIND {
|
||||
SYS_WIN16,SYS_WIN32,SYS_MAC
|
||||
} SYSKIND;
|
||||
***************
|
||||
*** 375,382 ****
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID)
|
||||
PURE;
|
||||
! STDMETHOD(Invoked)(THIS_
|
||||
DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
--- 394,401 ----
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*)
|
||||
PURE;
|
||||
! STDMETHOD(Invoke)(THIS_
|
||||
DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
|
||||
*** \gcc-inc\objidl.h Sat Jul 31 16:48:42 1999
|
||||
--- objidl.h Fri Aug 06 11:00:19 1999
|
||||
***************
|
||||
*** 627,633 ****
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC*) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
--- 627,633 ----
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
|
||||
|
||||
|
||||
|
399
acinclude.m4
@@ -1,399 +0,0 @@
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl
|
||||
dnl Purpose: Cursom macros for autoconf configure script.
|
||||
dnl Author: Vadim Zeitlin
|
||||
dnl Created: 26.05.99
|
||||
dnl Version: $Id$
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl GKT+ version test
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS. Uses variables
|
||||
dnl gtk_config_prefix and/or gtk_config_exec_prefix if defined.
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GTK,
|
||||
[
|
||||
if test x$gtk_config_exec_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
if test x$gtk_config_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
|
||||
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
no_gtk=""
|
||||
if test "$GTK_CONFIG" != "no" ; then
|
||||
GTK_CFLAGS=`$GTK_CONFIG --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG --libs`
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
dnl checks the results of gtk-config to some extent)
|
||||
dnl
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
|
||||
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (gtk_minor_version == 1) return FALSE;
|
||||
|
||||
return !((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
else
|
||||
no_gtk=yes
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl macros to find the a file in the list of include/lib paths
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
|
||||
dnl to the full name of the file that was found or leaves it empty if not found
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN(WX_PATH_FIND_INCLUDES,
|
||||
[
|
||||
ac_find_includes=
|
||||
for ac_dir in $1;
|
||||
do
|
||||
if test -f "$ac_dir/$2"; then
|
||||
ac_find_includes=$ac_dir
|
||||
break
|
||||
fi
|
||||
done
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl call WX_PATH_FIND_LIBRARIES(search path, header name), sets ac_find_includes
|
||||
dnl to the full name of the file that was found or leaves it empty if not found
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN(WX_PATH_FIND_LIBRARIES,
|
||||
[
|
||||
ac_find_libraries=
|
||||
for ac_dir in $1;
|
||||
do
|
||||
for ac_extension in a so sl; do
|
||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||
ac_find_libraries=$ac_dir
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Path to include, already defined
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN(WX_INCLUDE_PATH_EXIST,
|
||||
[
|
||||
ac_path_to_include=$1
|
||||
echo "$2" | grep "\-I$1" > /dev/null
|
||||
result=$?
|
||||
if test $result = 0; then
|
||||
ac_path_to_include=""
|
||||
else
|
||||
ac_path_to_include="-I$1"
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Path to link, already defined
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN(WX_LINK_PATH_EXIST,
|
||||
[
|
||||
echo "$2" | grep "\-L$1" > /dev/null
|
||||
result=$?
|
||||
if test $result = 0; then
|
||||
ac_path_to_link=""
|
||||
else
|
||||
ac_path_to_link="-L$1"
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl C++ features test
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
|
||||
dnl or only the old <iostream.h> one - it may be generally assumed that if
|
||||
dnl <iostream> exists, the other "new" headers (without .h) exist too.
|
||||
dnl
|
||||
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN(WX_CPP_NEW_HEADERS,
|
||||
[
|
||||
if test "$cross_compiling" = "yes"; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_CHECK_HEADERS(iostream)
|
||||
|
||||
if test "x$HAVE_IOSTREAM" = x ; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
ifelse([$1], , :, [$1])
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl WX_CPP_BOOL checks whether the C++ compiler has a built in bool type
|
||||
dnl
|
||||
dnl call WX_CPP_BOOL - will define HAVE_BOOL if the compiler supports bool
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN(WX_CPP_BOOL,
|
||||
[
|
||||
AC_CACHE_CHECK([if C++ compiler supports bool], wx_cv_cpp_bool,
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_TRY_RUN([
|
||||
int main()
|
||||
{
|
||||
bool b = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
[
|
||||
AC_DEFINE(HAVE_BOOL)
|
||||
wx_cv_cpp_bool=yes
|
||||
],
|
||||
wx_cv_cpp_bool=no,
|
||||
wx_cv_cpp_bool=no
|
||||
)
|
||||
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
|
||||
if test "$wx_cv_cpp_bool" = "yes"; then
|
||||
AC_DEFINE(HAVE_BOOL)
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl WX_CPP_SIZE_T_IS_NOT_INT checks whether size_t and int are different types,
|
||||
dnl i.e. whether we may overload operator[] on its argument type
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN(WX_CPP_SIZE_T_IS_NOT_INT,
|
||||
[
|
||||
AC_CACHE_CHECK([if size_t and int are different types], wx_cv_cpp_sizet_not_int,
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_TRY_RUN([
|
||||
#include <stdlib.h>
|
||||
|
||||
class S
|
||||
{
|
||||
public:
|
||||
S(char *s) { m_s = s; }
|
||||
|
||||
char operator[](size_t n) const { return m_s[n]; }
|
||||
char operator[](int n) const { return m_s[n]; }
|
||||
|
||||
private:
|
||||
char *m_s;
|
||||
};
|
||||
|
||||
int main()
|
||||
{
|
||||
S s("dummy");
|
||||
size_t n1 = 2;
|
||||
int n2 = 3;
|
||||
|
||||
return s[n1] == s[n2];
|
||||
}
|
||||
],
|
||||
AC_DEFINE(wxUSE_SIZE_T_STRING_OPERATOR) wx_cv_cpp_sizet_not_int=yes,
|
||||
wx_cv_cpp_sizet_not_int=no,
|
||||
wx_cv_cpp_sizet_not_int=no
|
||||
)
|
||||
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN(WX_C_BIGENDIAN,
|
||||
[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
|
||||
[ac_cv_c_bigendian=unknown
|
||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/param.h>], [
|
||||
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
||||
bogus endian macros
|
||||
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
|
||||
AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/param.h>], [
|
||||
#if BYTE_ORDER != BIG_ENDIAN
|
||||
not big endian
|
||||
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
AC_TRY_RUN([main () {
|
||||
/* Are we little or big endian? From Harbison&Steele. */
|
||||
union
|
||||
{
|
||||
long l;
|
||||
char c[sizeof (long)];
|
||||
} u;
|
||||
u.l = 1;
|
||||
exit (u.c[sizeof (long) - 1] == 1);
|
||||
}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes, ac_cv_c_bigendian=unknown)
|
||||
fi])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
AC_MSG_WARN([Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
|
||||
fi
|
||||
if test $ac_cv_c_bigendian = yes; then
|
||||
AC_DEFINE(WORDS_BIGENDIAN)
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl override AC_ARG_ENABLE/WITH to cache the results in .cache file
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN(WX_ARG_CACHE_INIT,
|
||||
[
|
||||
wx_arg_cache_file="configarg.cache"
|
||||
echo "loading argument cache $wx_arg_cache_file"
|
||||
rm -f ${wx_arg_cache_file}.tmp
|
||||
touch ${wx_arg_cache_file}.tmp
|
||||
touch ${wx_arg_cache_file}
|
||||
])
|
||||
|
||||
AC_DEFUN(WX_ARG_CACHE_FLUSH,
|
||||
[
|
||||
echo "saving argument cache $wx_arg_cache_file"
|
||||
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
|
||||
])
|
||||
|
||||
dnl this macro checks for a command line argument and caches the result
|
||||
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name)
|
||||
AC_DEFUN(WX_ARG_WITH,
|
||||
[
|
||||
AC_MSG_CHECKING("for --with-$1")
|
||||
no_cache=0
|
||||
AC_ARG_WITH($1, $2,
|
||||
[
|
||||
if test "$withval" = yes; then
|
||||
ac_cv_use_$1='$3=yes'
|
||||
else
|
||||
ac_cv_use_$1='$3=no'
|
||||
fi
|
||||
],
|
||||
[
|
||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
else
|
||||
no_cache=1
|
||||
fi
|
||||
|
||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
||||
])
|
||||
|
||||
eval "$ac_cv_use_$1"
|
||||
if test "$no_cache" != 1; then
|
||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test "$$3" = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
])
|
||||
|
||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
|
||||
AC_DEFUN(WX_ARG_ENABLE,
|
||||
[
|
||||
AC_MSG_CHECKING("for --enable-$1")
|
||||
no_cache=0
|
||||
AC_ARG_ENABLE($1, $2,
|
||||
[
|
||||
if test "$enableval" = yes; then
|
||||
ac_cv_use_$1='$3=yes'
|
||||
else
|
||||
ac_cv_use_$1='$3=no'
|
||||
fi
|
||||
],
|
||||
[
|
||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
else
|
||||
no_cache=1
|
||||
fi
|
||||
|
||||
ac_cv_use_$1='$3='$DEFAULT_$3
|
||||
])
|
||||
|
||||
eval "$ac_cv_use_$1"
|
||||
if test "$no_cache" != 1; then
|
||||
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test "$$3" = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
])
|
||||
|
@@ -1,5 +1,2 @@
|
||||
#!/bin/sh
|
||||
aclocal -I .
|
||||
autoheader
|
||||
automake --foreign --verbose
|
||||
autoconf
|
||||
|
1182
configure.in
@@ -23,6 +23,7 @@ the help file. To help you save disk space I'm now using Microsoft's
|
||||
HTML Help format. If your system doesn't know what to do with the help
|
||||
file, you can install the HTML Help Viewer as part of IE 4+, NT
|
||||
Service Pack 4+, or the HTML Workshop at
|
||||
|
||||
http://msdn.microsoft.com/workshop/author/htmlhelp/download.asp.
|
||||
|
||||
|
||||
@@ -44,6 +45,57 @@ Or you can send mail directly to the list using this address:
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
What's new in 2.1b2
|
||||
--------------------
|
||||
|
||||
Added the missing wxWindow.GetUpdateRegion() method.
|
||||
|
||||
Made a new change in SWIG (update your patches everybody) that
|
||||
provides a fix for global shadow objects that get an exception in
|
||||
their __del__ when their extension module has already been deleted.
|
||||
It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
|
||||
line 496 if you want to do it by hand.
|
||||
|
||||
It is now possible to run through MainLoop more than once in any one
|
||||
process. The cleanup that used to happen as MainLoop completed (and
|
||||
prevented it from running again) has been delayed until the wxc module
|
||||
is being unloaded by Python.
|
||||
|
||||
I fixed a bunch of stuff in the C++ version of wxGrid so it wouldn't
|
||||
make wxPython look bad.
|
||||
|
||||
wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
|
||||
wxWindow.PopupMenuXY to be consistent with some other methods.
|
||||
|
||||
Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
|
||||
|
||||
You can now provide your own app.MainLoop method. See
|
||||
wxPython/demo/demoMainLoop.py for an example and some explaination.
|
||||
|
||||
Got the in-place-edit for the wxTreeCtrl fixed and added some demo
|
||||
code to show how to use it.
|
||||
|
||||
Put the wxIcon constructor back in for GTK as it now has one that
|
||||
matches MSW's.
|
||||
|
||||
Added wxGrid.GetCells
|
||||
|
||||
Added wxSystemSettings static methods as functions with names like
|
||||
wxSystemSettings_GetSystemColour.
|
||||
|
||||
Removed wxPyMenu since using menu callbacks have been depreciated in
|
||||
wxWindows. Use wxMenu and events instead.
|
||||
|
||||
Added alternate wxBitmap constructor (for MSW only) as
|
||||
wxBitmapFromData(data, type, width, height, depth = 1)
|
||||
|
||||
Added a helper function named wxPyTypeCast that can convert shadow
|
||||
objects of one type into shadow objects of another type. (Like doing
|
||||
a down-cast.) See the implementation in wx.py for some docs.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
What's new in 2.1b1
|
||||
--------------------
|
||||
@@ -101,6 +153,9 @@ wxGIFHandler and wxBMPHandler.
|
||||
|
||||
Added new methods to wxTextCtrl.
|
||||
|
||||
Fixed some problems with how SWIG was wrapping some wxTreeCtrl
|
||||
methods.
|
||||
|
||||
|
||||
|
||||
What's new in 2.0b8
|
||||
@@ -137,7 +192,7 @@ with the 2.0 version of wxWindows.
|
||||
|
||||
I have finally started documenting wxPython. There are several pages
|
||||
in the wxWindows documentation tree specifically about wxPython, and I
|
||||
have added notes within the class references about where wxPython
|
||||
have added notes within the class references about where and how wxPython
|
||||
diverges from wxWindows.
|
||||
|
||||
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
|
||||
@@ -195,7 +250,6 @@ down a nasty DECREF bug. Okay so I have to confess that it was just a
|
||||
DSM (Dumb Stupid Mistake) on my part but it was nasty none the less
|
||||
because the behavior was so different on different platforms.
|
||||
|
||||
|
||||
The dynamicly loaded module on Solaris is still segfaulting, so it
|
||||
must have been a different issue all along...
|
||||
|
||||
@@ -215,6 +269,8 @@ version segfault shortly after starting up.
|
||||
|
||||
3. Varioius bug fixes, enhancements, etc.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Build Instructions
|
||||
@@ -230,8 +286,8 @@ I added a few minor features to SWIG to control some of the code
|
||||
generation. If you want to playaround with this the patches are in
|
||||
wxPython/SWIG.patches and they should be applied to the 1.1p5 version
|
||||
of SWIG. These new patches are documented at
|
||||
http://starship.skyport.net/crew/robind/python/#swig, and they should
|
||||
also end up in the 1.2 version of SWIG.
|
||||
http://starship.skyport.net/crew/robind/#swig, and they should also
|
||||
end up in the 1.2 version of SWIG.
|
||||
|
||||
wxPython is organized as a Python package. This means that the
|
||||
directory containing the results of the build process should be a
|
||||
@@ -262,23 +318,24 @@ above.
|
||||
5. If it builds successfully, congratulations! Move on to the next
|
||||
step. If not then you can try mailing me for help. Also, I will
|
||||
always have a pre-built win32 version of this extension module at
|
||||
http://starship.skyport.net/crew/robind/python.
|
||||
http://alldunn.com/wxPython/.
|
||||
|
||||
6. Change to the $(WXWIN)/utils/wxPython/tests directory.
|
||||
6. Change to the $(WXWIN)/utils/wxPython/demo directory.
|
||||
|
||||
7. Try executing the test programs. Note that some of these print
|
||||
diagnositc or test info to standard output, so they will require the
|
||||
console version of python. For example:
|
||||
7. Try executing the demo program. For example:
|
||||
|
||||
python test1.py
|
||||
python demo.py
|
||||
|
||||
To run them without requiring a console, you can use the pythonw.exe
|
||||
To run it without requiring a console, you can use the pythonw.exe
|
||||
version of Python either from the command line or from a shortcut.
|
||||
|
||||
|
||||
|
||||
Unix
|
||||
----
|
||||
0. I configure wxWindows like this, YMMV:
|
||||
|
||||
./configure --with-gtk --disable-shared --enable-threads --disable-unicode
|
||||
|
||||
1. Change into the $(WXWIN)/utils/wxPython/src directory.
|
||||
|
||||
@@ -307,14 +364,11 @@ module:
|
||||
|
||||
5. Change to the $(WXWIN)/utils/wxPython/tests directory.
|
||||
|
||||
6. Try executing the test programs. For example:
|
||||
6. Try executing the demo program. For example:
|
||||
|
||||
python test1.py
|
||||
|
||||
|
||||
------------------------
|
||||
10/20/1998
|
||||
python demo.py
|
||||
|
||||
----------------
|
||||
Robin Dunn
|
||||
robin@alldunn.com
|
||||
|
||||
|
@@ -37,7 +37,7 @@ TARGETDIR=$(BINLIBDEST)/wxPython
|
||||
wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
|
||||
mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
|
||||
frames.cpp stattool.cpp windows3.cpp image.cpp misc2.cpp \
|
||||
utils.cpp printfw.cpp \
|
||||
utils.cpp printfw.cpp libpy.c libptr.c \
|
||||
## comment out the next line to disable wxGLCanvas
|
||||
##_glcanvas.cpp glcanvas.cpp -DWITH_GLCANVAS -lGL -lGLU \
|
||||
-I. $(WX_CONFIG_CFLAGS) -I/usr/local/lib/glib/include \
|
||||
|
@@ -15,22 +15,13 @@ echo Base dir..
|
||||
|
||||
cd ../..
|
||||
cp wxGTK.spec ~/wxgtk_dist/wxGTK
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK
|
||||
cp acconfig.h ~/wxgtk_dist/wxGTK
|
||||
cp acinclude.m4 ~/wxgtk_dist/wxGTK
|
||||
cp aclocal.m4 ~/wxgtk_dist/wxGTK
|
||||
cp configure.in ~/wxgtk_dist/wxGTK
|
||||
cp configure ~/wxgtk_dist/wxGTK
|
||||
cp config.sub ~/wxgtk_dist/wxGTK
|
||||
cp config.guess ~/wxgtk_dist/wxGTK
|
||||
cp install-sh ~/wxgtk_dist/wxGTK
|
||||
cp ltconfig ~/wxgtk_dist/wxGTK
|
||||
cp ltmain.sh ~/wxgtk_dist/wxGTK
|
||||
cp missing ~/wxgtk_dist/wxGTK
|
||||
cp mkinstalldirs ~/wxgtk_dist/wxGTK
|
||||
cp wx-config.in ~/wxgtk_dist/wxGTK
|
||||
cp setup.h.in ~/wxgtk_dist/wxGTK
|
||||
cp stamp-h.in ~/wxgtk_dist/wxGTK
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK
|
||||
|
||||
echo Docs..
|
||||
@@ -85,6 +76,7 @@ cd ..
|
||||
mkdir ~/wxgtk_dist/wxGTK/include/wx/gtk
|
||||
cd gtk
|
||||
cp *.h ~/wxgtk_dist/wxGTK/include/wx/gtk
|
||||
cp *.xpm ~/wxgtk_dist/wxGTK/include/wx/gtk
|
||||
rm ~/wxgtk_dist/wxGTK/include/wx/gtk/setup.h
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/include/wx/gtk
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/include/wx/gtk
|
||||
@@ -143,22 +135,36 @@ cp Makefile.am ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cp *.xbm ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cp *.c ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cp *.inc ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/src/gtk
|
||||
cd ..
|
||||
|
||||
cd msw
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/msw
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/src/msw
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/src/msw
|
||||
cd ..
|
||||
|
||||
cd motif
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/motif
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/src/motif
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/src/motif
|
||||
cd ..
|
||||
|
||||
cd common
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/common
|
||||
cp glob.inc ~/wxgtk_dist/wxGTK/src/common
|
||||
cp lexer.l ~/wxgtk_dist/wxGTK/src/common
|
||||
cp parser.y ~/wxgtk_dist/wxGTK/src/common
|
||||
cp extended.c ~/wxgtk_dist/wxGTK/src/common
|
||||
cp unzip.* ~/wxgtk_dist/wxGTK/src/common
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/src/common
|
||||
cd ..
|
||||
|
||||
cd unix
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/unix
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/src/unix
|
||||
cp *.h ~/wxgtk_dist/wxGTK/src/unix
|
||||
cp *.c ~/wxgtk_dist/wxGTK/src/unix
|
||||
cd ..
|
||||
|
||||
cd html
|
||||
@@ -193,9 +199,7 @@ cd ..
|
||||
cd jpeg
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/jpeg
|
||||
cp * ~/wxgtk_dist/wxGTK/src/jpeg
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
cd ../..
|
||||
|
||||
echo Utils dir..
|
||||
|
||||
@@ -288,10 +292,6 @@ cp ./lib/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/lib
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/lib/sizers
|
||||
cp ./lib/sizers/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/lib/sizers
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/tests
|
||||
cp ./tests/README.txt ~/wxgtk_dist/wxGTK/utils/wxPython/tests
|
||||
cp ./tests/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/tests
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/demo
|
||||
cp ./demo/README.txt ~/wxgtk_dist/wxGTK/utils/wxPython/demo
|
||||
cp ./demo/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/demo
|
||||
@@ -299,26 +299,8 @@ cp ./demo/*.pyc ~/wxgtk_dist/wxGTK/utils/wxPython/demo
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/demo/bitmaps
|
||||
cp ./demo/bitmaps/* ~/wxgtk_dist/wxGTK/utils/wxPython/demo/bitmaps
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/tests/bitmaps
|
||||
cp ./tests/bitmaps/* ~/wxgtk_dist/wxGTK/utils/wxPython/tests/bitmaps
|
||||
cd ..
|
||||
|
||||
echo wxOLE..
|
||||
|
||||
cd wxOLE
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/gtk
|
||||
cp ./gtk/wxole.* ~/wxgtk_dist/wxGTK/utils/wxOLE/gtk
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/samples
|
||||
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
|
||||
cp ./samples/servlet/Makefile ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
|
||||
cp ./samples/servlet/*.xpm ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
|
||||
cp ./samples/servlet/*.cpp ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
|
||||
cp ./samples/servlet/*.gnorba ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
|
||||
|
||||
cd ../..
|
||||
|
||||
|
||||
echo Samples dir..
|
||||
|
||||
cd samples
|
||||
@@ -400,16 +382,17 @@ cp *.h ~/wxgtk_dist/wxGTK/samples/db
|
||||
cp *.xpm ~/wxgtk_dist/wxGTK/samples/db
|
||||
cd ..
|
||||
|
||||
echo DDE sample..
|
||||
|
||||
cd dde
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cp *.h ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cp *.xpm ~/wxgtk_dist/wxGTK/samples/dde
|
||||
cd ..
|
||||
#echo DDE sample..
|
||||
#
|
||||
#cd dde
|
||||
#mkdir ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cp Makefile.am ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cp Makefile.in ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cp *.cpp ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cp *.h ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cp *.xpm ~/wxgtk_dist/wxGTK/samples/dde
|
||||
#cd ..
|
||||
#
|
||||
|
||||
echo Dialogs sample..
|
||||
|
||||
@@ -515,6 +498,42 @@ mkdir ~/wxgtk_dist/wxGTK/samples/help/doc
|
||||
cp * ~/wxgtk_dist/wxGTK/samples/help/doc
|
||||
cd ../..
|
||||
|
||||
echo HTML samples..
|
||||
|
||||
cd html
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html
|
||||
cp Makefile.* ~/wxgtk_dist/wxGTK/samples/html
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/about
|
||||
cp about/Makefile.* ~/wxgtk_dist/wxGTK/samples/html/about
|
||||
cp about/about.* ~/wxgtk_dist/wxGTK/samples/html/about
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/about/data
|
||||
cp about/data/*.* ~/wxgtk_dist/wxGTK/samples/html/about/data
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/help
|
||||
cp help/Makefile.* ~/wxgtk_dist/wxGTK/samples/html/help
|
||||
cp help/help.* ~/wxgtk_dist/wxGTK/samples/html/help
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/help/helpfiles
|
||||
cp help/helpfiles/*.* ~/wxgtk_dist/wxGTK/samples/html/help/helpfiles
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/printing
|
||||
cp printing/*.* ~/wxgtk_dist/wxGTK/samples/html/printing
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/test
|
||||
cp test/*.* ~/wxgtk_dist/wxGTK/samples/html/test
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/virtual
|
||||
cp virtual/*.* ~/wxgtk_dist/wxGTK/samples/html/virtual
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/widget
|
||||
cp widget/*.* ~/wxgtk_dist/wxGTK/samples/html/widget
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/html/zip
|
||||
cp zip/*.* ~/wxgtk_dist/wxGTK/samples/html/zip
|
||||
cd ..
|
||||
|
||||
echo Image sample..
|
||||
|
||||
cd image
|
||||
@@ -686,16 +705,6 @@ cp Makefile.in ~/wxgtk_dist/wxGTK/samples/splitter
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/samples/splitter
|
||||
cd ..
|
||||
|
||||
echo Tab sample..
|
||||
|
||||
cd tab
|
||||
mkdir ~/wxgtk_dist/wxGTK/samples/tab
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/samples/tab
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/tab
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/samples/tab
|
||||
cp *.h ~/wxgtk_dist/wxGTK/samples/tab
|
||||
cd ..
|
||||
|
||||
echo Text sample..
|
||||
|
||||
cd text
|
||||
@@ -792,4 +801,4 @@ cp README.txt ~/wxgtk_dist/wxGTK/utils/wxPython
|
||||
cp Setup ~/wxgtk_dist/wxGTK/utils/wxPython/src
|
||||
|
||||
cd ~/wxgtk_dist
|
||||
tar ch wxGTK | gzip -f9 > wxGTK-2.1.0-b7b.tgz
|
||||
tar ch wxGTK | gzip -f9 > wxGTK-2.1.0-b8.tgz
|
||||
|
@@ -15,22 +15,12 @@ echo Base dir..
|
||||
|
||||
cd ../..
|
||||
cp wxMotif.spec ~/wxmotif_dist/wxMotif
|
||||
cp Makefile.am ~/wxmotif_dist/wxMotif
|
||||
cp acconfig.h ~/wxmotif_dist/wxMotif
|
||||
cp acinclude.m4 ~/wxmotif_dist/wxMotif
|
||||
cp aclocal.m4 ~/wxmotif_dist/wxMotif
|
||||
cp configure.in ~/wxmotif_dist/wxMotif
|
||||
cp configure ~/wxmotif_dist/wxMotif
|
||||
cp config.sub ~/wxmotif_dist/wxMotif
|
||||
cp config.guess ~/wxmotif_dist/wxMotif
|
||||
cp install-sh ~/wxmotif_dist/wxMotif
|
||||
cp ltconfig ~/wxmotif_dist/wxMotif
|
||||
cp ltmain.sh ~/wxmotif_dist/wxMotif
|
||||
cp missing ~/wxmotif_dist/wxMotif
|
||||
cp mkinstalldirs ~/wxmotif_dist/wxMotif
|
||||
cp wx-config.in ~/wxmotif_dist/wxMotif
|
||||
cp setup.h.in ~/wxmotif_dist/wxMotif
|
||||
cp stamp-h.in ~/wxmotif_dist/wxMotif
|
||||
cp Makefile.in ~/wxmotif_dist/wxMotif
|
||||
|
||||
echo Docs..
|
||||
@@ -68,11 +58,11 @@ cp Makefile.am ~/wxmotif_dist/wxMotif/include/wx/generic
|
||||
cp Makefile.in ~/wxmotif_dist/wxMotif/include/wx/generic
|
||||
cd ..
|
||||
|
||||
mkdir ~/wxgtk_dist/wxGTK/include/wx/html
|
||||
mkdir ~/wxmotif_dist/wxMotif/include/wx/html
|
||||
cd html
|
||||
cp *.h ~/wxgtk_dist/wxGTK/include/wx/html
|
||||
cp Makefile.am ~/wxgtk_dist/wxGTK/include/wx/html
|
||||
cp Makefile.in ~/wxgtk_dist/wxGTK/include/wx/html
|
||||
cp *.h ~/wxmotif_dist/wxMotif/include/wx/html
|
||||
cp Makefile.am ~/wxmotif_dist/wxMotif/include/wx/html
|
||||
cp Makefile.in ~/wxmotif_dist/wxMotif/include/wx/html
|
||||
cd ..
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/include/wx/unix
|
||||
@@ -143,7 +133,6 @@ cp Makefile.am ~/wxmotif_dist/wxMotif/src/motif
|
||||
cp Makefile.in ~/wxmotif_dist/wxMotif/src/motif
|
||||
cp *.xbm ~/wxmotif_dist/wxMotif/src/motif
|
||||
cp *.c ~/wxmotif_dist/wxMotif/src/motif
|
||||
cp *.inc ~/wxmotif_dist/wxMotif/src/motif
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/src/motif
|
||||
cd ..
|
||||
|
||||
@@ -153,21 +142,24 @@ cp glob.inc ~/wxmotif_dist/wxMotif/src/common
|
||||
cp lexer.l ~/wxmotif_dist/wxMotif/src/common
|
||||
cp parser.y ~/wxmotif_dist/wxMotif/src/common
|
||||
cp extended.c ~/wxmotif_dist/wxMotif/src/common
|
||||
cp unzip.* ~/wxmotif_dist/wxMotif/src/common
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/src/common
|
||||
cd ..
|
||||
|
||||
cd html
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/html
|
||||
cp *.cpp ~/wxgtk_dist/wxGTK/src/html
|
||||
cp *.h ~/wxgtk_dist/wxGTK/src/html
|
||||
mkdir ~/wxmotif_dist/wxMotif/src/html
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/src/html
|
||||
cp *.h ~/wxmotif_dist/wxMotif/src/html
|
||||
cd bitmaps
|
||||
mkdir ~/wxgtk_dist/wxGTK/src/html/bitmaps
|
||||
cp *.xpm ~/wxgtk_dist/wxGTK/src/html/bitmaps
|
||||
mkdir ~/wxmotif_dist/wxMotif/src/html/bitmaps
|
||||
cp *.xpm ~/wxmotif_dist/wxMotif/src/html/bitmaps
|
||||
cd ../..
|
||||
|
||||
cd unix
|
||||
mkdir ~/wxmotif_dist/wxMotif/src/unix
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/src/unix
|
||||
cp *.h ~/wxmotif_dist/wxMotif/src/unix
|
||||
cp *.c ~/wxmotif_dist/wxMotif/src/unix
|
||||
cd ..
|
||||
|
||||
cd generic
|
||||
@@ -286,17 +278,6 @@ cp *.h ~/wxmotif_dist/wxMotif/samples/db
|
||||
cp *.xpm ~/wxmotif_dist/wxMotif/samples/db
|
||||
cd ..
|
||||
|
||||
echo DDE sample..
|
||||
|
||||
cd dde
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cp Makefile.am ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cp Makefile.in ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cp *.h ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cp *.xpm ~/wxmotif_dist/wxMotif/samples/dde
|
||||
cd ..
|
||||
|
||||
echo Dialogs sample..
|
||||
|
||||
cd dialogs
|
||||
@@ -401,6 +382,42 @@ mkdir ~/wxmotif_dist/wxMotif/samples/help/doc
|
||||
cp * ~/wxmotif_dist/wxMotif/samples/help/doc
|
||||
cd ../..
|
||||
|
||||
echo HTML samples..
|
||||
|
||||
cd html
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html
|
||||
cp Makefile.* ~/wxmotif_dist/wxMotif/samples/html
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/about
|
||||
cp about/Makefile.* ~/wxmotif_dist/wxMotif/samples/html/about
|
||||
cp about/about.* ~/wxmotif_dist/wxMotif/samples/html/about
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/about/data
|
||||
cp about/data/*.* ~/wxmotif_dist/wxMotif/samples/html/about/data
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/help
|
||||
cp help/Makefile.* ~/wxmotif_dist/wxMotif/samples/html/help
|
||||
cp help/help.* ~/wxmotif_dist/wxMotif/samples/html/help
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/help/helpfiles
|
||||
cp help/helpfiles/*.* ~/wxmotif_dist/wxMotif/samples/html/help/helpfiles
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/printing
|
||||
cp printing/*.* ~/wxmotif_dist/wxMotif/samples/html/printing
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/test
|
||||
cp test/*.* ~/wxmotif_dist/wxMotif/samples/html/test
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/virtual
|
||||
cp virtual/*.* ~/wxgtk_dist/wxGTK/samples/html/virtual
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/widget
|
||||
cp widget/*.* ~/wxmotif_dist/wxMotif/samples/html/widget
|
||||
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/html/zip
|
||||
cp zip/*.* ~/wxmotif_dist/wxMotif/samples/html/zip
|
||||
cd ..
|
||||
|
||||
echo Image sample..
|
||||
|
||||
cd image
|
||||
@@ -572,8 +589,6 @@ cp Makefile.in ~/wxmotif_dist/wxMotif/samples/splitter
|
||||
cp *.cpp ~/wxmotif_dist/wxMotif/samples/splitter
|
||||
cd ..
|
||||
|
||||
echo Tab sample..
|
||||
|
||||
cd tab
|
||||
mkdir ~/wxmotif_dist/wxMotif/samples/tab
|
||||
cp Makefile.am ~/wxmotif_dist/wxMotif/samples/tab
|
||||
@@ -672,4 +687,4 @@ cp *.xpm ~/wxmotif_dist/wxMotif/samples/wxsocket
|
||||
cd ../..
|
||||
|
||||
cd ~/wxmotif_dist
|
||||
tar ch wxMotif | gzip -f9 > wxMotif-2.1.0-b7.tgz
|
||||
tar ch wxMotif | gzip -f9 > wxMotif-2.1.0-b8.tgz
|
||||
|
736
distrib/msw/copy_src.bat
Executable file
@@ -0,0 +1,736 @@
|
||||
echo --------
|
||||
echo This script will copy the wxMSW release files into \wxmsw_dist
|
||||
echo --------
|
||||
echo
|
||||
|
||||
md \wxmsw_dist
|
||||
md \wxmsw_dist\wxMSW
|
||||
|
||||
echo Base dir..
|
||||
|
||||
cd ..\..
|
||||
|
||||
echo Lib..
|
||||
|
||||
cd lib
|
||||
md \wxmsw_dist\wxMSW\lib
|
||||
copy dummy \wxmsw_dist\wxMSW\lib
|
||||
cd ..
|
||||
|
||||
echo Locale..
|
||||
|
||||
cd locale
|
||||
md \wxmsw_dist\wxMSW\locale
|
||||
copy *.?? \wxmsw_dist\wxMSW\locale
|
||||
cd ..
|
||||
|
||||
echo Docs..
|
||||
|
||||
cd docs\wine
|
||||
copy COPYING.LIB \wxmsw_dist\wxMSW
|
||||
copy licence.txt \wxmsw_dist\wxMSW\LICENCE.txt
|
||||
cd ..\msw
|
||||
copy install.txt \wxmsw_dist\wxMSW\INSTALL.txt
|
||||
copy readme.txt \wxmsw_dist\wxMSW\README.txt
|
||||
copy todo.txt \wxmsw_dist\wxMSW\TODO.txt
|
||||
cd ..
|
||||
copy symbols.txt \wxmsw_dist\wxMSW\SYMBOLS.txt
|
||||
cd ..
|
||||
echo Include dir..
|
||||
|
||||
md \wxmsw_dist\wxMSW\include
|
||||
cd include
|
||||
copy wx_*.* \wxmsw_dist\wxMSW\include
|
||||
|
||||
md \wxmsw_dist\wxMSW\include\wx
|
||||
cd wx
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx
|
||||
copy *.cpp \wxmsw_dist\wxMSW\include\wx
|
||||
|
||||
md \wxmsw_dist\wxMSW\include\wx\generic
|
||||
cd generic
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\generic
|
||||
cd ..
|
||||
|
||||
md \wxmsw_dist\wxMSW\include\wx\html
|
||||
cd html
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\html
|
||||
md \wxmsw_dist\wxMSW\include\wx\html\msw
|
||||
cd msw
|
||||
copy *.* \wxmsw_dist\wxMSW\include\wx\html\msw
|
||||
cd ..\..
|
||||
|
||||
|
||||
md \wxmsw_dist\wxMSW\include\wx\msw
|
||||
cd msw
|
||||
copy *.* \wxmsw_dist\wxMSW\include\wx\msw
|
||||
rem del \wxmsw_dist\wxMSW\include\wx\msw\setup.h
|
||||
del \wxmsw_dist\wxMSW\include\wx\msw\Makefile.am
|
||||
del \wxmsw_dist\wxMSW\include\wx\msw\Makefile.in
|
||||
md \wxmsw_dist\wxMSW\include\wx\msw\gnuwin32
|
||||
cd gnuwin32
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\gnuwin32
|
||||
cd ..
|
||||
md \wxmsw_dist\wxMSW\include\wx\msw\ole
|
||||
cd ole
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\ole
|
||||
cd ..
|
||||
cd ctl3d
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\ctl3d
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
md \wxmsw_dist\wxMSW\include\wx\protocol
|
||||
cd protocol
|
||||
copy *.h \wxmsw_dist\wxMSW\include\wx\protocol
|
||||
cd ..
|
||||
|
||||
cd ..\..
|
||||
|
||||
echo Src dir..
|
||||
|
||||
cd src
|
||||
md \wxmsw_dist\wxMSW\src
|
||||
copy *.* \wxmsw_dist\wxMSW\src
|
||||
del Makefile.am \wxmsw_dist\wxMSW\src\Makefile.am
|
||||
del Makefile.in \wxmsw_dist\wxMSW\src\Makefile.in
|
||||
|
||||
cd msw
|
||||
md \wxmsw_dist\wxMSW\src\msw
|
||||
md \wxmsw_dist\wxMSW\src\msw\ole
|
||||
copy ole\*.cpp \wxmsw_dist\wxMSW\src\msw\ole
|
||||
copy *.cpp \wxmsw_dist\wxMSW\src\msw
|
||||
copy *.c \wxmsw_dist\wxMSW\src\msw
|
||||
copy *.def \wxmsw_dist\wxMSW\src\msw
|
||||
copy makefile.* \wxmsw_dist\wxMSW\src\msw
|
||||
del Makefile.am \wxmsw_dist\wxMSW\src\msw\Makefile.am
|
||||
del Makefile.in \wxmsw_dist\wxMSW\src\msw\Makefile.in
|
||||
cd ..
|
||||
|
||||
cd common
|
||||
md \wxmsw_dist\wxMSW\src\common
|
||||
copy glob.inc \wxmsw_dist\wxMSW\src\common
|
||||
copy lexer.l \wxmsw_dist\wxMSW\src\common
|
||||
copy parser.y \wxmsw_dist\wxMSW\src\common
|
||||
copy *.c \wxmsw_dist\wxMSW\src\common
|
||||
copy *.h \wxmsw_dist\wxMSW\src\common
|
||||
copy *.cpp \wxmsw_dist\wxMSW\src\common
|
||||
cd ..
|
||||
|
||||
cd html
|
||||
md \wxmsw_dist\wxMSW\src\html
|
||||
copy *.cpp \wxmsw_dist\wxMSW\src\html
|
||||
copy *.h \wxmsw_dist\wxMSW\src\html
|
||||
cd ..
|
||||
|
||||
cd generic
|
||||
md \wxmsw_dist\wxMSW\src\generic
|
||||
copy *.cpp \wxmsw_dist\wxMSW\src\generic
|
||||
cd ..
|
||||
|
||||
cd zlib
|
||||
md \wxmsw_dist\wxMSW\src\zlib
|
||||
copy *.* \wxmsw_dist\wxMSW\src\zlib
|
||||
cd ..
|
||||
|
||||
cd png
|
||||
md \wxmsw_dist\wxMSW\src\png
|
||||
copy *.* \wxmsw_dist\wxMSW\src\png
|
||||
cd ..
|
||||
|
||||
cd jpeg
|
||||
md \wxmsw_dist\wxMSW\src\jpeg
|
||||
copy *.* \wxmsw_dist\wxMSW\src\jpeg
|
||||
cd ..
|
||||
|
||||
cd xpm
|
||||
md \wxmsw_dist\wxMSW\src\xpm
|
||||
copy *.* \wxmsw_dist\wxMSW\src\xpm
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
echo Utils dir..
|
||||
|
||||
cd utils
|
||||
md \wxmsw_dist\wxMSW\utils
|
||||
|
||||
echo wxGLCanvas..
|
||||
|
||||
cd glcanvas
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas
|
||||
copy .\docs\notes.txt \wxmsw_dist\wxMSW\utils\glcanvas\NOTES.txt
|
||||
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas\win
|
||||
copy .\win\glcanvas.cpp \wxmsw_dist\wxMSW\utils\glcanvas\win
|
||||
copy .\win\glcanvas.h \wxmsw_dist\wxMSW\utils\glcanvas\win
|
||||
copy .\win\makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\win
|
||||
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas\samples
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
|
||||
cd samples\cube
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
copy cube.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
copy cube.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
copy cube.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
|
||||
cd ..
|
||||
|
||||
cd isosurf
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
copy isosurf.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
copy isosurf.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
copy isosurf.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
copy isosurf.dat.gz \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
|
||||
cd ..
|
||||
|
||||
cd penguin
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy penguin.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy penguin.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy penguin.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy trackball.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy trackball.c \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy lw.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy lw.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy penguin.lwo \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
|
||||
cd ..\..\..
|
||||
|
||||
echo DialogEd..
|
||||
|
||||
cd dialoged\src
|
||||
md \wxmsw_dist\wxMSW\utils\dialoged
|
||||
md \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dialoged.def \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dialoged.rc \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dialoged.ico \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dialoged.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dlghndlr.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy edlist.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy edtree.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy reseditr.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy reswrite.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy symbtabl.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy winprop.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy winstyle.cpp \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dialoged.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy dlghndlr.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy edlist.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy edtree.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy reseditr.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy symbtabl.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy winprop.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
copy winstyle.h \wxmsw_dist\wxMSW\utils\dialoged\src
|
||||
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
|
||||
copy *.bmp \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
|
||||
copy *.ico \wxmsw_dist\wxMSW\utils\dialoged\src\bitmaps
|
||||
cd ..\..\..
|
||||
|
||||
|
||||
cd ..
|
||||
|
||||
echo Samples dir..
|
||||
|
||||
cd samples
|
||||
md \wxmsw_dist\wxMSW\samples
|
||||
copy makefile.* \wxmsw_dist\wxMSW\samples
|
||||
|
||||
echo Minimal sample..
|
||||
|
||||
cd minimal
|
||||
md \wxmsw_dist\wxMSW\samples\minimal
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\minimal
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\minimal
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\minimal
|
||||
copy minimal.cpp \wxmsw_dist\wxMSW\samples\minimal
|
||||
copy mondrian.ico \wxmsw_dist\wxMSW\samples\minimal
|
||||
cd ..
|
||||
|
||||
|
||||
echo Bombs sample..
|
||||
|
||||
cd bombs
|
||||
md \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\bombs
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\bombs
|
||||
cd ..
|
||||
|
||||
echo Caret sample..
|
||||
|
||||
cd caret
|
||||
md \wxmsw_dist\wxMSW\samples\caret
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\caret
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\caret
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\caret
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\caret
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\caret
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\caret
|
||||
cd ..
|
||||
|
||||
echo Checklst sample..
|
||||
|
||||
cd checklst
|
||||
md \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\checklst
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\checklst
|
||||
cd ..
|
||||
|
||||
echo Config sample..
|
||||
|
||||
cd config
|
||||
md \wxmsw_dist\wxMSW\samples\config
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\config
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\config
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\config
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\config
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\config
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\config
|
||||
cd ..
|
||||
|
||||
echo Controls sample..
|
||||
|
||||
cd controls
|
||||
md \wxmsw_dist\wxMSW\samples\controls
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\controls
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\controls
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\controls
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\controls
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\controls
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\controls
|
||||
cd icons
|
||||
md \wxmsw_dist\wxMSW\samples\controls\icons
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\controls\icons
|
||||
cd ..\..
|
||||
|
||||
echo Dialogs sample..
|
||||
|
||||
cd dialogs
|
||||
md \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\dialogs
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\dialogs
|
||||
cd ..
|
||||
|
||||
echo DnD sample..
|
||||
|
||||
cd dnd
|
||||
md \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\dnd
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\dnd
|
||||
cd ..
|
||||
|
||||
echo Docview sample..
|
||||
|
||||
cd docview
|
||||
md \wxmsw_dist\wxMSW\samples\docview
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\docview
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\docview
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\docview
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\docview
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\docview
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\docview
|
||||
cd ..
|
||||
|
||||
echo DocvwMDI sample..
|
||||
|
||||
cd docvwmdi
|
||||
md \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\docvwmdi
|
||||
cd ..
|
||||
|
||||
echo Dynamic sample..
|
||||
|
||||
cd dynamic
|
||||
md \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\dynamic
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\dynamic
|
||||
cd ..
|
||||
|
||||
echo Drawing sample..
|
||||
|
||||
cd drawing
|
||||
md \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\drawing
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\drawing
|
||||
cd ..
|
||||
|
||||
echo Forty sample..
|
||||
|
||||
cd forty
|
||||
md \wxmsw_dist\wxMSW\samples\forty
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.bmp \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\forty
|
||||
copy *.xbm \wxmsw_dist\wxMSW\samples\forty
|
||||
cd ..
|
||||
|
||||
echo Fractal sample..
|
||||
|
||||
cd fractal
|
||||
md \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\fractal
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\fractal
|
||||
cd ..
|
||||
|
||||
echo Grid sample..
|
||||
|
||||
cd grid
|
||||
md \wxmsw_dist\wxMSW\samples\grid
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\grid
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\grid
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\grid
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\grid
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\grid
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\grid
|
||||
cd ..
|
||||
|
||||
echo Help sample..
|
||||
|
||||
cd help
|
||||
md \wxmsw_dist\wxMSW\samples\help
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\help
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\help
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\help
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\help
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\help
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\help
|
||||
cd doc
|
||||
md \wxmsw_dist\wxMSW\samples\help\doc
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\help\doc
|
||||
cd ..\..
|
||||
|
||||
echo Image sample..
|
||||
|
||||
cd image
|
||||
md \wxmsw_dist\wxMSW\samples\image
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\image
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\image
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\image
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\image
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\image
|
||||
copy horse.png \wxmsw_dist\wxMSW\samples\image
|
||||
copy horse.gif \wxmsw_dist\wxMSW\samples\image
|
||||
copy horse.jpg \wxmsw_dist\wxMSW\samples\image
|
||||
cd ..
|
||||
|
||||
echo Internat sample..
|
||||
|
||||
cd internat
|
||||
md \wxmsw_dist\wxMSW\samples\internat
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\internat
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\internat
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\internat
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\internat
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\internat
|
||||
copy readme.txt \wxmsw_dist\wxMSW\samples\internat
|
||||
copy wxstd.po \wxmsw_dist\wxMSW\samples\internat
|
||||
cd fr
|
||||
md \wxmsw_dist\wxMSW\samples\internat\fr
|
||||
copy *.?o \wxmsw_dist\wxMSW\samples\internat\fr
|
||||
cd ..\..
|
||||
|
||||
echo Layout sample..
|
||||
|
||||
cd layout
|
||||
md \wxmsw_dist\wxMSW\samples\layout
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\layout
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\layout
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\layout
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\layout
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\layout
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\layout
|
||||
cd ..
|
||||
|
||||
echo Listctrl sample..
|
||||
|
||||
cd listctrl
|
||||
md \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\listctrl
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\listctrl
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\samples\listctrl\bitmaps
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\listctrl\bitmaps
|
||||
cd ..\..
|
||||
|
||||
echo MDI sample..
|
||||
|
||||
cd mdi
|
||||
md \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\mdi
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\mdi
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\samples\mdi\bitmaps
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\mdi\bitmaps
|
||||
cd ..\..
|
||||
|
||||
echo Memcheck sample..
|
||||
|
||||
cd memcheck
|
||||
md \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\memcheck
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\memcheck
|
||||
cd ..
|
||||
|
||||
echo Minifram sample..
|
||||
|
||||
cd minifram
|
||||
md \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\minifram
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\minifram
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\samples\minifram\bitmaps
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\minifram\bitmaps
|
||||
cd ..\..
|
||||
|
||||
echo Notebook sample..
|
||||
|
||||
cd notebook
|
||||
md \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\notebook
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\notebook
|
||||
cd ..
|
||||
|
||||
echo Printing sample..
|
||||
|
||||
cd printing
|
||||
md \wxmsw_dist\wxMSW\samples\printing
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\printing
|
||||
cd ..
|
||||
|
||||
echo Proplist sample..
|
||||
|
||||
cd proplist
|
||||
md \wxmsw_dist\wxMSW\samples\proplist
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\proplist
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\proplist
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\printing
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\proplist
|
||||
cd ..
|
||||
|
||||
echo Resource sample..
|
||||
|
||||
cd resource
|
||||
md \wxmsw_dist\wxMSW\samples\resource
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\resource
|
||||
copy *.wxr \wxmsw_dist\wxMSW\samples\resource
|
||||
cd ..
|
||||
|
||||
echo Sashtest sample..
|
||||
|
||||
cd sashtest
|
||||
md \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\sashtest
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\sashtest
|
||||
cd ..
|
||||
|
||||
echo Scroll sample..
|
||||
|
||||
cd scroll
|
||||
md \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\scroll
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\scroll
|
||||
cd ..
|
||||
|
||||
echo Splitter sample..
|
||||
|
||||
cd splitter
|
||||
md \wxmsw_dist\wxMSW\samples\splitter
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\splitter
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\splitter
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\splitter
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\splitter
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\splitter
|
||||
cd ..
|
||||
|
||||
echo Text sample..
|
||||
|
||||
cd text
|
||||
md \wxmsw_dist\wxMSW\samples\text
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\text
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\text
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\text
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\text
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\text
|
||||
cd ..
|
||||
|
||||
echo Thread sample..
|
||||
|
||||
cd thread
|
||||
md \wxmsw_dist\wxMSW\samples\thread
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\thread
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\thread
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\thread
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\thread
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\thread
|
||||
cd ..
|
||||
|
||||
echo Toolbar sample..
|
||||
|
||||
cd toolbar
|
||||
md \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\toolbar
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\toolbar
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\samples\toolbar\bitmaps
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\toolbar\bitmaps
|
||||
cd ..\..
|
||||
|
||||
echo TreeCtrl sample..
|
||||
|
||||
cd treectrl
|
||||
md \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\treectrl
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\treectrl
|
||||
cd bitmaps
|
||||
md \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
|
||||
copy *.* \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
|
||||
cd ..\..
|
||||
|
||||
echo typetest sample..
|
||||
|
||||
cd typetest
|
||||
md \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy *.ico \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\typetest
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\typetest
|
||||
cd ..
|
||||
|
||||
echo Validate sample..
|
||||
|
||||
cd validate
|
||||
md \wxmsw_dist\wxMSW\samples\validate
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\validate
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\validate
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\validate
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\validate
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\validate
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\validate
|
||||
cd ..
|
||||
|
||||
echo wxPoem sample..
|
||||
|
||||
cd wxpoem
|
||||
md \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy wxpoem.dat \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy wxpoem.txt \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
copy wxpoem.idx \wxmsw_dist\wxMSW\samples\wxpoem
|
||||
cd ..
|
||||
|
||||
echo wxSocket sample..
|
||||
|
||||
cd wxsocket
|
||||
md \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy Makefile.* \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy *.cpp \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy *.h \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy *.rc \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy *.def \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
copy *.xpm \wxmsw_dist\wxMSW\samples\wxsocket
|
||||
cd ..\..
|
||||
|
@@ -1,6 +1,31 @@
|
||||
*.spec
|
||||
BuildCVS.txt
|
||||
acconfig.h
|
||||
*.m4
|
||||
autogen.sh
|
||||
config.guess
|
||||
config.sub
|
||||
configure.in
|
||||
setup.h.in
|
||||
install-sh
|
||||
ltconfig
|
||||
ltmain.sh
|
||||
missing
|
||||
mkinstalldirs
|
||||
modules
|
||||
template.mak
|
||||
wx-config.in
|
||||
makefile.unx.in
|
||||
|
||||
distrib/msw/*.rsp
|
||||
distrib/msw/*.bat
|
||||
distrib/msw/tardist
|
||||
distrib/msw/tmake/*.t
|
||||
distrib/msw/tmake/Makefile
|
||||
distrib/msw/tmake/filelist.txt
|
||||
distrib/msw/tmake/makeall.bat
|
||||
distrib/msw/tmake/makeall.sh
|
||||
distrib/msw/tmake/wxwin.pro
|
||||
distrib/gtk/*
|
||||
|
||||
locale/*.po
|
||||
@@ -18,9 +43,14 @@ docs/bugs.txt
|
||||
docs/*.htm
|
||||
docs/html/*.htm
|
||||
docs/html/*.gif
|
||||
docs/html/*.png
|
||||
|
||||
src/*.inc
|
||||
src/mkdir
|
||||
src/Makefile
|
||||
src/make.env.in
|
||||
src/makeprog.env.in
|
||||
src/makelib.env.in
|
||||
|
||||
src/common/*.cpp
|
||||
src/common/dosyacc.c
|
||||
@@ -28,6 +58,8 @@ src/common/doslex.c
|
||||
src/common/vmsyacc.c
|
||||
src/common/vmslex.c
|
||||
src/common/extended.c
|
||||
src/common/unzip.c
|
||||
src/common/unzip.h
|
||||
src/common/*.l
|
||||
src/common/*.y
|
||||
src/common/*.inc
|
||||
@@ -36,7 +68,12 @@ src/generic/*.cpp
|
||||
src/generic/*.c
|
||||
src/generic/*.inc
|
||||
|
||||
src/html/*.cpp
|
||||
src/html/*.h
|
||||
src/html/bitmaps/*.xpm
|
||||
|
||||
src/unix/*.cpp
|
||||
src/unix/*.c
|
||||
|
||||
src/png/*.c
|
||||
src/png/*.h
|
||||
@@ -68,7 +105,12 @@ include/wx/protocol/*.h
|
||||
include/wx/wx_setup.vms
|
||||
include/wx/common/*.h
|
||||
include/wx/generic/*.h
|
||||
include/wx/generic/*.xpm
|
||||
include/wx/unix/*.h
|
||||
include/wx/html/*.h
|
||||
include/wx/html/msw/*.bmp
|
||||
include/wx/html/msw/*.ico
|
||||
include/wx/html/msw/*.rc
|
||||
lib/dummy
|
||||
|
||||
bin/*.*
|
||||
@@ -176,6 +218,20 @@ utils/dialoged/test/*.ico
|
||||
utils/dialoged/test/*.prj
|
||||
utils/dialoged/test/*.bmp
|
||||
|
||||
utils/wxMMedia2/makefile*
|
||||
utils/wxMMedia2/README
|
||||
utils/wxMMedia2/lib/*.h
|
||||
utils/wxMMedia2/lib/*.cpp
|
||||
utils/wxMMedia2/lib/*.def
|
||||
utils/wxMMedia2/lib/*.rc
|
||||
utils/wxMMedia2/lib/makefile*
|
||||
utils/wxMMedia2/sample/*.h
|
||||
utils/wxMMedia2/sample/*.cpp
|
||||
utils/wxMMedia2/sample/makefile*
|
||||
utils/wxMMedia2/sample/*.xbm
|
||||
utils/wxMMedia2/sample/*.xpm
|
||||
utils/wxMMedia2/sample/*.txt
|
||||
|
||||
samples/*.txt
|
||||
samples/makefile*
|
||||
|
||||
@@ -725,3 +781,138 @@ samples/drawing/*.png
|
||||
samples/drawing/*.ico
|
||||
samples/drawing/*.txt
|
||||
|
||||
samples/html/makefile*
|
||||
samples/html/*.txt
|
||||
|
||||
samples/html/about/*.cpp
|
||||
samples/html/about/*.h
|
||||
samples/html/about/makefile*
|
||||
samples/html/about/*.rc
|
||||
samples/html/about/*.def
|
||||
samples/html/about/*.bmp
|
||||
samples/html/about/*.xpm
|
||||
samples/html/about/*.xbm
|
||||
samples/html/about/*.png
|
||||
samples/html/about/*.ico
|
||||
samples/html/about/*.txt
|
||||
samples/html/about/data/*.htm
|
||||
samples/html/about/data/*.png
|
||||
|
||||
samples/html/help/*.cpp
|
||||
samples/html/help/*.h
|
||||
samples/html/help/makefile*
|
||||
samples/html/help/*.rc
|
||||
samples/html/help/*.def
|
||||
samples/html/help/*.bmp
|
||||
samples/html/help/*.xpm
|
||||
samples/html/help/*.xbm
|
||||
samples/html/help/*.png
|
||||
samples/html/help/*.ico
|
||||
samples/html/help/*.txt
|
||||
samples/html/help/helpfiles/*.htm
|
||||
samples/html/help/helpfiles/*.hhc
|
||||
samples/html/help/helpfiles/*.hhk
|
||||
samples/html/help/helpfiles/*.hhp
|
||||
|
||||
samples/html/printing/*.cpp
|
||||
samples/html/printing/*.h
|
||||
samples/html/printing/makefile*
|
||||
samples/html/printing/*.rc
|
||||
samples/html/printing/*.def
|
||||
samples/html/printing/*.bmp
|
||||
samples/html/printing/*.xpm
|
||||
samples/html/printing/*.xbm
|
||||
samples/html/printing/*.png
|
||||
samples/html/printing/*.ico
|
||||
samples/html/printing/*.htm
|
||||
|
||||
samples/html/test/*.cpp
|
||||
samples/html/test/*.h
|
||||
samples/html/test/makefile*
|
||||
samples/html/test/*.rc
|
||||
samples/html/test/*.def
|
||||
samples/html/test/*.bmp
|
||||
samples/html/test/*.xpm
|
||||
samples/html/test/*.xbm
|
||||
samples/html/test/*.png
|
||||
samples/html/test/*.ico
|
||||
samples/html/test/*.htm
|
||||
samples/html/test/*.html
|
||||
|
||||
samples/html/virtual/*.cpp
|
||||
samples/html/virtual/*.h
|
||||
samples/html/virtual/makefile*
|
||||
samples/html/virtual/*.rc
|
||||
samples/html/virtual/*.def
|
||||
samples/html/virtual/*.bmp
|
||||
samples/html/virtual/*.xpm
|
||||
samples/html/virtual/*.xbm
|
||||
samples/html/virtual/*.png
|
||||
samples/html/virtual/*.ico
|
||||
samples/html/virtual/*.htm
|
||||
samples/html/virtual/*.html
|
||||
|
||||
samples/html/widget/*.cpp
|
||||
samples/html/widget/*.h
|
||||
samples/html/widget/makefile*
|
||||
samples/html/widget/*.rc
|
||||
samples/html/widget/*.def
|
||||
samples/html/widget/*.bmp
|
||||
samples/html/widget/*.xpm
|
||||
samples/html/widget/*.xbm
|
||||
samples/html/widget/*.png
|
||||
samples/html/widget/*.ico
|
||||
samples/html/widget/*.htm
|
||||
samples/html/widget/*.html
|
||||
|
||||
samples/html/zip/*.cpp
|
||||
samples/html/zip/*.h
|
||||
samples/html/zip/makefile*
|
||||
samples/html/zip/*.rc
|
||||
samples/html/zip/*.def
|
||||
samples/html/zip/*.bmp
|
||||
samples/html/zip/*.xpm
|
||||
samples/html/zip/*.xbm
|
||||
samples/html/zip/*.png
|
||||
samples/html/zip/*.ico
|
||||
samples/html/zip/*.htm
|
||||
samples/html/zip/*.html
|
||||
|
||||
samples/richedit/*.cpp
|
||||
samples/richedit/*.h
|
||||
samples/richedit/makefile*
|
||||
samples/richedit/*.rc
|
||||
samples/richedit/*.def
|
||||
samples/richedit/*.bmp
|
||||
samples/richedit/*.xpm
|
||||
samples/richedit/*.xbm
|
||||
samples/richedit/*.png
|
||||
samples/richedit/*.ico
|
||||
samples/richedit/*.txt
|
||||
samples/richedit/TODO
|
||||
samples/richedit/README
|
||||
|
||||
samples/text/*.cpp
|
||||
samples/text/*.h
|
||||
samples/text/makefile*
|
||||
samples/text/*.rc
|
||||
samples/text/*.def
|
||||
samples/text/*.bmp
|
||||
samples/text/*.xpm
|
||||
samples/text/*.xbm
|
||||
samples/text/*.png
|
||||
samples/text/*.ico
|
||||
samples/text/*.txt
|
||||
|
||||
samples/wizard/*.cpp
|
||||
samples/wizard/*.h
|
||||
samples/wizard/makefile*
|
||||
samples/wizard/*.rc
|
||||
samples/wizard/*.def
|
||||
samples/wizard/*.bmp
|
||||
samples/wizard/*.xpm
|
||||
samples/wizard/*.xbm
|
||||
samples/wizard/*.png
|
||||
samples/wizard/*.ico
|
||||
samples/wizard/*.txt
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
utils/glcanvas/Makefile.in
|
||||
utils/glcanvas/docs/*.*
|
||||
utils/glcanvas/win/*.cpp
|
||||
utils/glcanvas/win/*.h
|
||||
|
@@ -1,13 +1,4 @@
|
||||
install-sh
|
||||
Makefile
|
||||
template.mak
|
||||
configure
|
||||
configure.in
|
||||
config.guess
|
||||
config.sub
|
||||
wx-config.in
|
||||
mkinstalldirs
|
||||
wxGTK.spec
|
||||
|
||||
distrib/gtk/copy_src
|
||||
distrib/gtk/README.txt
|
||||
@@ -15,19 +6,21 @@ distrib/gtk/Setup
|
||||
|
||||
docs/gtk/*.html
|
||||
docs/gtk/*.txt
|
||||
docs/gtk/COPYING.LIB
|
||||
docs/gtk/makewxgtk
|
||||
|
||||
include/wx/gtk/*.h
|
||||
include/wx/gtk/*.xpm
|
||||
include/install-sh
|
||||
include/wx/install-sh
|
||||
|
||||
src/Makefile
|
||||
src/Makefile.in
|
||||
src/gtk.inc
|
||||
src/make.env
|
||||
src/makelib.env
|
||||
src/makeprog.env
|
||||
|
||||
src/gtk/Makefile
|
||||
src/gtk/*.cpp
|
||||
src/gtk/*.c
|
||||
src/gtk/*.inc
|
||||
|
@@ -1,91 +1,75 @@
|
||||
samples/bombs/Makefile.in
|
||||
samples/bombs/Makefile
|
||||
samples/checklst/Makefile.in
|
||||
samples/checklst/Makefile
|
||||
samples/config/Makefile.in
|
||||
samples/config/Makefile
|
||||
samples/controls/Makefile.in
|
||||
samples/controls/Makefile
|
||||
samples/db/Makefile.in
|
||||
samples/db/Makefile
|
||||
samples/dde/Makefile.in
|
||||
samples/dde/Makefile
|
||||
samples/dialogs/Makefile.in
|
||||
samples/dialogs/Makefile
|
||||
samples/dnd/Makefile.in
|
||||
samples/dnd/Makefile
|
||||
samples/docview/Makefile.in
|
||||
samples/docview/Makefile
|
||||
samples/docvwmdi/Makefile.in
|
||||
samples/docvwmdi/Makefile
|
||||
samples/dynamic/Makefile.in
|
||||
samples/dynamic/Makefile
|
||||
samples/forty/Makefile.in
|
||||
samples/forty/Makefile
|
||||
samples/fractal/Makefile.in
|
||||
samples/fractal/Makefile
|
||||
samples/grid/Makefile.in
|
||||
samples/grid/Makefile
|
||||
samples/help/Makefile.in
|
||||
samples/help/Makefile
|
||||
samples/image/Makefile.in
|
||||
samples/image/Makefile
|
||||
samples/internat/Makefile.in
|
||||
samples/internat/Makefile
|
||||
samples/layout/Makefile.in
|
||||
samples/layout/Makefile
|
||||
samples/listctrl/Makefile.in
|
||||
samples/listctrl/Makefile
|
||||
samples/mdi/Makefile.in
|
||||
samples/mdi/Makefile
|
||||
samples/memcheck/Makefile.in
|
||||
samples/memcheck/Makefile
|
||||
samples/minifram/Makefile.in
|
||||
samples/minifram/Makefile
|
||||
samples/minimal/Makefile.in
|
||||
samples/minimal/Makefile
|
||||
samples/notebook/Makefile.in
|
||||
samples/notebook/Makefile
|
||||
samples/png/Makefile.in
|
||||
samples/png/Makefile
|
||||
samples/printing/Makefile.in
|
||||
samples/printing/Makefile
|
||||
samples/proplist/Makefile.in
|
||||
samples/proplist/Makefile
|
||||
samples/resource/Makefile.in
|
||||
samples/resource/Makefile
|
||||
samples/sashtest/Makefile.in
|
||||
samples/sashtest/Makefile
|
||||
samples/splitter/Makefile.in
|
||||
samples/splitter/Makefile
|
||||
samples/tab/Makefile.in
|
||||
samples/tab/Makefile
|
||||
samples/thread/Makefile.in
|
||||
samples/thread/Makefile
|
||||
samples/toolbar/Makefile.in
|
||||
samples/toolbar/Makefile
|
||||
samples/treectrl/Makefile.in
|
||||
samples/treectrl/Makefile
|
||||
samples/typetest/Makefile.in
|
||||
samples/typetest/Makefile
|
||||
samples/validate/Makefile.in
|
||||
samples/validate/Makefile
|
||||
samples/wxpoem/Makefile.in
|
||||
samples/wxpoem/Makefile
|
||||
samples/wxsocket/Makefile.in
|
||||
samples/wxsocket/Makefile
|
||||
samples/scroll/Makefile.in
|
||||
samples/scroll/Makefile
|
||||
samples/caret/Makefile.in
|
||||
samples/caret/Makefile
|
||||
samples/drawing/Makefile.in
|
||||
samples/drawing/Makefile
|
||||
src/Makefile.in
|
||||
Makefile.in
|
||||
src/Makefile
|
||||
utils/ogl/samples/ogledit/Makefile.in
|
||||
utils/ogl/samples/ogledit/Makefile
|
||||
utils/ogl/samples/studio/Makefile.in
|
||||
utils/ogl/samples/studio/Makefile
|
||||
utils/ogl/src/Makefile.in
|
||||
utils/ogl/src/Makefile
|
||||
|
||||
locale/Makefile
|
||||
samples/Makefile.in
|
||||
samples/bombs/Makefile.in
|
||||
samples/caret/Makefile.in
|
||||
samples/checklst/Makefile.in
|
||||
samples/config/Makefile.in
|
||||
samples/controls/Makefile.in
|
||||
samples/dialogs/Makefile.in
|
||||
samples/dnd/Makefile.in
|
||||
samples/docview/Makefile.in
|
||||
samples/docvwmdi/Makefile.in
|
||||
samples/drawing/Makefile.in
|
||||
samples/dynamic/Makefile.in
|
||||
samples/genvalid/Makefile.in
|
||||
samples/html/Makefile.in
|
||||
samples/html/about/Makefile.in
|
||||
samples/html/help/Makefile.in
|
||||
samples/html/printing/Makefile.in
|
||||
samples/html/test/Makefile.in
|
||||
samples/html/virtual/Makefile.in
|
||||
samples/html/widget/Makefile.in
|
||||
samples/html/zip/Makefile.in
|
||||
samples/image/Makefile.in
|
||||
samples/layout/Makefile.in
|
||||
samples/listctrl/Makefile.in
|
||||
samples/mdi/Makefile.in
|
||||
samples/minifram/Makefile.in
|
||||
samples/minimal/Makefile.in
|
||||
samples/notebook/Makefile.in
|
||||
samples/printing/Makefile.in
|
||||
samples/proplist/Makefile.in
|
||||
samples/sashtest/Makefile.in
|
||||
samples/scroll/Makefile.in
|
||||
samples/splitter/Makefile.in
|
||||
samples/text/Makefile.in
|
||||
samples/thread/Makefile.in
|
||||
samples/toolbar/Makefile.in
|
||||
samples/treectrl/Makefile.in
|
||||
samples/typetest/Makefile.in
|
||||
samples/validate/Makefile.in
|
||||
samples/wizard/Makefile.in
|
||||
samples/wxpoem/Makefile.in
|
||||
samples/wxsocket/Makefile.in
|
||||
utils/Makefile.in
|
||||
utils/wxMMedia2/Makefile.in
|
||||
utils/wxMMedia2/lib/Makefile.in
|
||||
utils/wxMMedia2/sample/Makefile.in
|
||||
include/wx/msw/Makefile.am
|
||||
include/wx/msw/ctl3d/Makefile.am
|
||||
include/wx/msw/gnuwin32/Makefile.am
|
||||
misc/Makefile.am
|
||||
misc/afm/Makefile.am
|
||||
misc/gs_afm/Makefile.am
|
||||
samples/animatn/Makefile.am
|
||||
samples/db/Makefile.am
|
||||
samples/forty/Makefile.am
|
||||
samples/fractal/Makefile.am
|
||||
samples/grid/Makefile.am
|
||||
samples/help/Makefile.am
|
||||
samples/internat/Makefile.am
|
||||
samples/joytest/Makefile.am
|
||||
samples/memcheck/Makefile.am
|
||||
samples/mfc/Makefile.am
|
||||
samples/nativdlg/Makefile.am
|
||||
samples/oleauto/Makefile.am
|
||||
samples/ownerdrw/Makefile.am
|
||||
samples/png/Makefile.am
|
||||
samples/regtest/Makefile.am
|
||||
samples/resource/Makefile.am
|
||||
samples/richedit/Makefile.am
|
||||
samples/tab/Makefile.am
|
||||
samples/taskbar/Makefile.am
|
||||
src/msw/Makefile.am
|
||||
|
@@ -15,7 +15,6 @@ src/makeprog.env
|
||||
src/makelib.env
|
||||
|
||||
src/Makefile
|
||||
src/Makefile.in
|
||||
src/motif.inc
|
||||
|
||||
src/motif/*.cpp
|
||||
@@ -48,6 +47,8 @@ include/wx/install-sh
|
||||
|
||||
docs/motif/*.txt
|
||||
docs/motif/makewxmotif
|
||||
docs/motif2/*.txt
|
||||
docs/motif2/COPYING.LIB
|
||||
|
||||
lib/dummy
|
||||
|
||||
|
@@ -1,5 +1,7 @@
|
||||
docs/msw/*.txt
|
||||
docs/licence.txt
|
||||
docs/msw/*.txt
|
||||
docs/wine/*.txt
|
||||
docs/wine/COPYING.LIB
|
||||
|
||||
distrib/msw/*.rsp
|
||||
distrib/msw/*.bat
|
||||
@@ -48,6 +50,8 @@ src/msw/makefile.*
|
||||
src/msw/*.lst
|
||||
src/msw/*.def
|
||||
src/msw/*.inc
|
||||
src/msw/winestub.c
|
||||
src/msw/gsocket.c
|
||||
|
||||
src/msw/ctl3d/*.*
|
||||
src/msw/ctl3d/msvc/*.*
|
||||
|
@@ -1,3 +1,4 @@
|
||||
utils/ogl/Makefile.in
|
||||
utils/ogl/Makefile
|
||||
|
||||
utils/ogl/src/*.cpp
|
||||
|
44
distrib/msw/tmake/Makefile
Normal file
@@ -0,0 +1,44 @@
|
||||
# FIXME we'll generate this makefile with configure later, but for now please
|
||||
# change it manually
|
||||
TMAKEDIR=/home/zeitlin/build/tmake
|
||||
TMAKE=$(TMAKEDIR)/bin/tmake
|
||||
|
||||
WXDIR=../../..
|
||||
MSW_MAKEFILES_DIR=$(WXDIR)/src/msw
|
||||
|
||||
all: $(MSW_MAKEFILES_DIR)/makefile.vc \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.b32 \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.dos \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.bcc \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.sc \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.wat \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.g95 \
|
||||
$(MSW_MAKEFILES_DIR)/makefile.g295 \
|
||||
$(WXDIR)/Makefile.in
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.vc: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t vc wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.b32: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t b32 wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.dos: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t dos wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.bcc: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t bcc wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.sc: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t sc wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.wat: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t wat wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.g95: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t g95 wxwin.pro -o $@
|
||||
|
||||
$(MSW_MAKEFILES_DIR)/makefile.g295: filelist.txt wxwin.pro g295.t
|
||||
$(TMAKE) -t g295 wxwin.pro -o $@
|
||||
|
||||
$(WXDIR)/Makefile.in: filelist.txt wxwin.pro
|
||||
$(TMAKE) -t unx wxwin.pro -o $@
|
347
distrib/msw/tmake/b32.t
Normal file
@@ -0,0 +1,347 @@
|
||||
#!#############################################################################
|
||||
#! File: b32.t
|
||||
#! Purpose: tmake template file from which makefile.b32 is generated by running
|
||||
#! tmake -t b32 wxwin.pro
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
my $tag = "";
|
||||
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
$isCFile = $file =~ /\.c$/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$obj = "\$(MSWDIR)\\" . $file . " ";
|
||||
$project{"WXCOMMONOBJS"} .= $obj;
|
||||
$project{"WXCOBJS"} .= $obj if $isCFile;
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
next if $wxMSW{$file} =~ /\b16\b/;
|
||||
|
||||
if ( $file =~ /^automtn/ ) {
|
||||
#! comment in old makefile.b32 seems to imply that this file can't
|
||||
#! be compiled with Borland (leads to crash in oleauto sample)
|
||||
next;
|
||||
}
|
||||
|
||||
$isCFile = $file =~ /\.c$/;
|
||||
|
||||
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
my $obj = "\$(MSWDIR)\\" . $file . " ";
|
||||
|
||||
$project{"WXMSWOBJS"} .= $obj;
|
||||
if ( $isOleObj ) {
|
||||
#! remember that this file is in ole subdir
|
||||
$project{"WXOLEOBJS"} .= $obj;
|
||||
}
|
||||
$project{"WXCOBJS"} .= $obj if $isCFile;
|
||||
}
|
||||
#$}
|
||||
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
|
||||
|
||||
#
|
||||
# File: makefile.b32
|
||||
# Author: Julian Smart
|
||||
# Created: 1998
|
||||
# Updated:
|
||||
# Copyright:
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds wxWindows library wx.lib for MS Windows,
|
||||
# and Borland C++ (32-bit).
|
||||
|
||||
!if "$(BCCDIR)" == ""
|
||||
!error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
|
||||
!endif
|
||||
|
||||
!if "$(WXWIN)" == ""
|
||||
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
|
||||
!endif
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
# Set all these to 1 if you want to build a dynamic library
|
||||
!if "$(DLL)" == "1"
|
||||
WXMAKINGDLL=1
|
||||
WXBUILDDLL=1
|
||||
!endif
|
||||
|
||||
!include $(WXDIR)\src\makeb32.env
|
||||
|
||||
# Please set these according to the settings in wx_setup.h, so we can include
|
||||
# the appropriate libraries in wx.lib
|
||||
USE_CTL3D=0
|
||||
USE_XPM_IN_MSW=0
|
||||
|
||||
PERIPH_LIBS=
|
||||
PERIPH_TARGET=
|
||||
PERIPH_CLEAN_TARGET=
|
||||
|
||||
!if "$(USE_CTL3D)" == "1"
|
||||
#Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman)
|
||||
PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS)
|
||||
PERIPH_TARGET=ctl3d $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET)
|
||||
!endif
|
||||
|
||||
!if "$(USE_XPM_IN_MSW)" == "1"
|
||||
PERIPH_LIBS=$(WXLIB)\xpm.lib $(PERIPH_LIBS)
|
||||
PERIPH_TARGET=xpm $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
|
||||
!endif
|
||||
|
||||
#PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(PERIPH_LIBS)
|
||||
PERIPH_LIBS=
|
||||
PERIPH_TARGET=zlib png jpeg $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg $(PERIPH_CLEAN_TARGET)
|
||||
|
||||
!if "$(DLL)" == "0"
|
||||
DUMMY=dummy
|
||||
!else
|
||||
DUMMY=dummydll
|
||||
LIBS= cw32 import32 ole2w32
|
||||
!endif
|
||||
|
||||
LIBTARGET=$(WXLIB)
|
||||
|
||||
GENDIR=..\generic
|
||||
COMMDIR=..\common
|
||||
OLEDIR=.\ole
|
||||
MSWDIR=.
|
||||
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
|
||||
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
# Not needed:
|
||||
# $(MSWDIR)\colrdlgg.obj \
|
||||
# $(MSWDIR)\fontdlgg.obj \
|
||||
# $(MSWDIR)\helpxlp.obj \
|
||||
# $(MSWDIR)\msgdlgg.obj \
|
||||
# $(MSWDIR)\printps.obj \
|
||||
# $(MSWDIR)\prntdlgg.obj \
|
||||
# $(MSWDIR)\listctrl.obj \
|
||||
# $(MSWDIR)\notebook.obj \
|
||||
# $(MSWDIR)\treectrl.obj
|
||||
|
||||
COMMONOBJS = \
|
||||
$(MSWDIR)\y_tab.obj \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
||||
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
|
||||
|
||||
default: wx
|
||||
|
||||
wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
|
||||
|
||||
all: all_libs all_execs
|
||||
|
||||
!if "$(DLL)" == "0"
|
||||
|
||||
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
|
||||
-erase $(LIBTARGET)
|
||||
tlib $(LIBTARGET) /P1024 @&&!
|
||||
+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
|
||||
!
|
||||
|
||||
!else
|
||||
|
||||
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
|
||||
-erase $(LIBTARGET)
|
||||
-erase $(WXLIBDIR)\wx.dll
|
||||
tlink32 $(LINK_FLAGS) /v @&&!
|
||||
c0d32.obj $(OBJECTS)
|
||||
$(WXLIBDIR)\wx
|
||||
nul
|
||||
$(PERIPH_LIBS) $(LIBS)
|
||||
wxb32
|
||||
!
|
||||
implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll
|
||||
|
||||
!endif
|
||||
|
||||
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
|
||||
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
|
||||
|
||||
$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
# cl @<<
|
||||
# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
|
||||
# <<
|
||||
|
||||
$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
|
||||
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
|
||||
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
# $(OBJECTS): $(WXDIR)\include\wx\setup.h
|
||||
|
||||
#${
|
||||
$_ = $project{"WXMSWOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; }
|
||||
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
||||
s/obj$/$suffix/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
########################################################
|
||||
# Common objects (always compiled)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXCOMMONOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
||||
s/MSWDIR/COMMDIR/;
|
||||
s/obj$/$suffix/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
########################################################
|
||||
# Generic objects (not always compiled, depending on
|
||||
# whether platforms have native implementations)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXGENERICOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
s/MSWDIR/GENDIR/;
|
||||
s/obj$/\$(SRCSUFF)/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
|
||||
all_utils:
|
||||
cd $(WXDIR)\utils
|
||||
make -f makefile.b32
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
all_samples:
|
||||
cd $(WXDIR)\samples
|
||||
make -f makefile.b32
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
all_execs:
|
||||
cd $(WXDIR)\utils
|
||||
make -f makefile.b32 all_execs
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
wxxpm: $(CFG)
|
||||
cd $(WXDIR)\src\xpm
|
||||
make -f makefile.b32 -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_wxxpm: $(CFG)
|
||||
cd $(WXDIR)\src\xpm
|
||||
make -f makefile.b32 clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
png: $(CFG)
|
||||
cd $(WXDIR)\src\png
|
||||
make -f makefile.b32
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_png:
|
||||
cd $(WXDIR)\src\png
|
||||
make -f makefile.b32 clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
zlib: $(CFG)
|
||||
cd $(WXDIR)\src\zlib
|
||||
make -f makefile.b32 lib
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
make -f makefile.b32 clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
jpeg: $(CFG)
|
||||
cd $(WXDIR)\src\jpeg
|
||||
make -f makefile.b32
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_jpeg:
|
||||
cd $(WXDIR)\src\jpeg
|
||||
make -f makefile.b32 clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
$(CFG): makefile.b32
|
||||
copy &&!
|
||||
-H=$(WXDIR)\src\msw\wx32.csm
|
||||
-3
|
||||
-d
|
||||
-R-
|
||||
-X
|
||||
-w-par
|
||||
-w-aus
|
||||
-w-hid # virtual function A hides virtual function B
|
||||
-WE
|
||||
-tWM
|
||||
|
||||
-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
|
||||
-I$(WXDIR)\include\wx\msw\gnuwin32
|
||||
|
||||
-L$(BCCDIR)\lib
|
||||
-D__WXWIN__
|
||||
-D__WXMSW__
|
||||
-D__WINDOWS__
|
||||
-DWIN32
|
||||
$(OPT)
|
||||
$(DEBUG_FLAGS)
|
||||
$(WIN95FLAG)
|
||||
! $(CFG)
|
||||
|
||||
#-I$(WXDIR)\src\common\wxxpm\libxpm.34b\lib
|
||||
# -Oxt
|
||||
|
||||
clean: $(PERIPH_CLEAN_TARGET)
|
||||
-erase $(LIBTARGET)
|
||||
-erase *.obj
|
||||
-erase *.pch
|
||||
-erase *.csm
|
||||
-erase *.cfg
|
||||
-erase ..\common\y_tab.c
|
||||
-erase ..\common\lex_yy.c
|
||||
|
||||
cleanall: clean
|
||||
|
||||
|
||||
MFTYPE=b32
|
||||
# Can't use this or we'll have to distribute all tmake files with wxWindows
|
||||
# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
|
||||
self:
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
||||
|
315
distrib/msw/tmake/bcc.t
Normal file
@@ -0,0 +1,315 @@
|
||||
#!#############################################################################
|
||||
#! File: bcc.t
|
||||
#! Purpose: tmake template file from which makefile.bcc is generated by running
|
||||
#! tmake -t bcc wxwin.pro -o makefile.bcc
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
my $tag = "";
|
||||
next if $wxGeneric{$file} =~ /\b(PS|G|U)\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
#! socket files don't compile under Win16 currently
|
||||
next if $wxCommon{$file} =~ /\b(32|S)\b/;
|
||||
|
||||
#! needs extra files (sql*.h) so not compiled by default.
|
||||
next if $file =~ /^odbc\./;
|
||||
|
||||
$isCFile = $file =~ /\.c$/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$obj = "\$(MSWDIR)\\" . $file . " ";
|
||||
$project{"WXCOMMONOBJS"} .= $obj;
|
||||
$project{"WXCOBJS"} .= $obj if $isCFile;
|
||||
}
|
||||
|
||||
#! special hack for Borland in 16 bits needs this file
|
||||
$project{"WXCOMMONOBJS"} .= '${MSWDIR}\resourc2.cpp';
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! don't take files not appropriate for 16-bit Windows
|
||||
next if $wxMSW{$file} =~ /\b(32|O)\b/;
|
||||
|
||||
$isCFile = $file =~ /\.c$/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$obj = "\$(MSWDIR)\\" . $file . " ";
|
||||
$project{"WXMSWOBJS"} .= $obj;
|
||||
$project{"WXCOBJS"} .= $obj if $isCFile;
|
||||
}
|
||||
#$}
|
||||
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
|
||||
|
||||
#
|
||||
# File: makefile.bcc
|
||||
# Author: Julian Smart
|
||||
# Created: 1993
|
||||
# Updated:
|
||||
# Copyright:(c) 1993, AIAI, University of Edinburgh
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds wxWindows library wx.lib for Windows 3.1
|
||||
# and Borland C++ 3.1
|
||||
|
||||
!if "$(BCCDIR)" == ""
|
||||
!error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
|
||||
!endif
|
||||
|
||||
!if "$(WXWIN)" == ""
|
||||
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
|
||||
!endif
|
||||
|
||||
!if "$(CFG)" == ""
|
||||
# !error You must start compiling from wx\src, not wx\src\msw.
|
||||
!endif
|
||||
|
||||
!ifndef DEBUG
|
||||
DEBUG=0
|
||||
!endif
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
!include $(WXDIR)\src\makebcc.env
|
||||
|
||||
THISDIR = $(WXDIR)\src\msw
|
||||
|
||||
# Please set these according to the settings in wx_setup.h, so we can include
|
||||
# the appropriate libraries in wx.lib
|
||||
USE_CTL3D=1
|
||||
USE_XPM_IN_MSW=0
|
||||
|
||||
PERIPH_LIBS=
|
||||
PERIPH_TARGET=
|
||||
PERIPH_CLEAN_TARGET=
|
||||
|
||||
!if "$(USE_CTL3D)" == "1"
|
||||
PERIPH_LIBS=$(BCCDIR)\lib\ctl3dv2.lib $(PERIPH_LIBS)
|
||||
!endif
|
||||
|
||||
!if "$(USE_XPM_IN_MSW)" == "1"
|
||||
PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS)
|
||||
PERIPH_TARGET=xpm $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
|
||||
!endif
|
||||
|
||||
# TODO: add these libraries
|
||||
# PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(PERIPH_LIBS)
|
||||
PERIPH_TARGET=zlib png $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_zlib clean_png $(PERIPH_CLEAN_TARGET)
|
||||
|
||||
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
|
||||
|
||||
LIBTARGET= $(WXLIBDIR)\wx.lib
|
||||
DUMMY=dummy
|
||||
|
||||
GENDIR=..\generic
|
||||
COMMDIR=..\common
|
||||
OLEDIR=.\ole
|
||||
MSWDIR=.
|
||||
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
|
||||
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
$(MSWDIR)\y_tab.obj \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
||||
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
|
||||
|
||||
default: wx
|
||||
|
||||
wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
|
||||
|
||||
$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS)
|
||||
erase $(LIBTARGET)
|
||||
tlib $(LIBTARGET) /P1024 @&&!
|
||||
+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
|
||||
!
|
||||
|
||||
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
|
||||
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
|
||||
|
||||
$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
# cl @<<
|
||||
# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
|
||||
# <<
|
||||
|
||||
$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
|
||||
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
|
||||
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
# $(OBJECTS): $(WXDIR)\include\wx\setup.h
|
||||
|
||||
#${
|
||||
$_ = $project{"WXMSWOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
||||
s/obj/$suffix/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
########################################################
|
||||
# Common objects (always compiled)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXCOMMONOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
||||
s/MSWDIR/COMMDIR/;
|
||||
s/obj/$suffix/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
########################################################
|
||||
# Generic objects (not always compiled, depending on
|
||||
# whether platforms have native implementations)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXGENERICOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ": ";
|
||||
s/MSWDIR/GENDIR/;
|
||||
s/obj/\$(SRCSUFF)/;
|
||||
$text .= $_ . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
all_utils:
|
||||
cd $(WXDIR)\utils
|
||||
make -f makefile.bcc
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
all_samples:
|
||||
cd $(WXDIR)\samples
|
||||
make -f makefile.bcc
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
all_execs:
|
||||
cd $(WXDIR)\utils
|
||||
make -f makefile.bcc all_execs
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
all_libs:
|
||||
cd $(WXDIR)\src\msw
|
||||
make -f makefile.bcc ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\
|
||||
wxstring wxtree mfutils # wxxpm
|
||||
|
||||
all_contribs:
|
||||
cd $(WXDIR)\src\msw
|
||||
make -f makefile.bcc ctl3d fafa wxstring itsy gauge # wxxpm
|
||||
|
||||
# CONTRIB
|
||||
ctl3d: $(CFG)
|
||||
cd $(WXDIR)\src\msw\ctl3d\borland
|
||||
make -f makefile.bcc -DCFG=$(CFG)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
wxxpm: $(CFG)
|
||||
cd $(WXDIR)\src\xpm
|
||||
make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
png: $(CFG)
|
||||
cd $(WXDIR)\src\png
|
||||
make -f makefile.bcc
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_png:
|
||||
cd $(WXDIR)\src\png
|
||||
make -f makefile.bcc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
zlib: $(CFG)
|
||||
cd $(WXDIR)\src\zlib
|
||||
make -f makefile.bcc
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
make -f makefile.bcc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
$(CFG): makefile.bcc
|
||||
copy &&!
|
||||
-H=$(WXDIR)\src\msw\borland.pch
|
||||
-2
|
||||
-P
|
||||
-d
|
||||
-w-hid
|
||||
-w-par
|
||||
-w-pia
|
||||
-w-aus
|
||||
-w-rch
|
||||
-ml
|
||||
-Od
|
||||
-WE
|
||||
-Fs-
|
||||
-Vf
|
||||
-Ff=4
|
||||
-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
|
||||
-I$(WXDIR)\include\wx\msw\gnuwin32
|
||||
-L$(BCCDIR)\lib
|
||||
-D__WXWIN__
|
||||
-D__WXMSW__
|
||||
-D__WINDOWS__
|
||||
-D__WIN16__
|
||||
! $(CFG)
|
||||
!if "$(BOR_VER)" == "3.1"
|
||||
echo -Ff=4 >>$(CFG)
|
||||
!elif "$(BOR_VER)" == "4"
|
||||
echo -Ff=512 >>$(CFG)
|
||||
echo -dc >>$(CFG)
|
||||
!else
|
||||
echo -Ff=512 >>$(CFG)
|
||||
echo -dc >>$(CFG)
|
||||
!endif
|
||||
|
||||
# -O was: -Oxt
|
||||
|
||||
clean: $(PERIPH_CLEAN_TARGET)
|
||||
erase $(LIBTARGET)
|
||||
erase *.obj
|
||||
erase *.pch
|
||||
erase *.csm
|
||||
erase *.cfg
|
||||
erase ..\common\y_tab.c
|
||||
erase ..\common\lex_yy.c
|
||||
|
||||
cleanall: clean
|
||||
|
||||
|
||||
MFTYPE=bcc
|
||||
# Can't use this or we'll have to distribute all tmake files with wxWindows
|
||||
#makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
|
||||
self:
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
272
distrib/msw/tmake/dos.t
Normal file
@@ -0,0 +1,272 @@
|
||||
#!#############################################################################
|
||||
#! File: dos.t
|
||||
#! Purpose: tmake template file from which makefile.dos is generated by running
|
||||
#! tmake -t dos wxwin.pro -o makefile.dos
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|U)\b/ ) {
|
||||
#! this file for some reason wasn't compiled for VC++ 1.52
|
||||
next unless $file =~ /^prntdlgg\./;
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXGENERICOBJS"} .= "\$(GENDIR)\\" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
#! socket files don't compile under Win16 currently
|
||||
next if $wxCommon{$file} =~ /\b(32|S)\b/;
|
||||
|
||||
$isCFile = $file =~ /\.c$/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$obj = "\$(COMMDIR)\\" . $file . " ";
|
||||
$project{"WXCOMMONOBJS"} .= $obj;
|
||||
$project{"WXCOBJS"} .= $obj if $isCFile;
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! don't take files not appropriate for 16-bit Windows
|
||||
next if $wxMSW{$file} =~ /\b(32|O)\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXMSWOBJS"} .= "\$(MSWDIR)\\" . $file . " "
|
||||
}
|
||||
#$}
|
||||
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE DOS.T!
|
||||
|
||||
#
|
||||
# File: makefile.dos
|
||||
# Author: Julian Smart
|
||||
# Created: 1997
|
||||
# Updated:
|
||||
# Copyright:(c) 1997, Julian Smart
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds wxWindows library wx.lib for VC++ (16-bit)
|
||||
# Arguments:
|
||||
#
|
||||
# FINAL=1 argument to nmake to build version with no debugging info.
|
||||
#
|
||||
!include <..\makemsc.env>
|
||||
|
||||
LIBTARGET=$(WXLIB)
|
||||
DUMMYOBJ=dummy.obj
|
||||
|
||||
# Please set these according to the settings in wx_setup.h, so we can include
|
||||
# the appropriate libraries in wx.lib
|
||||
|
||||
# This one overrides the others, to be consistent with the settings in wx_setup.h
|
||||
MINIMAL_WXWINDOWS_SETUP=0
|
||||
|
||||
USE_XPM_IN_MSW=0
|
||||
USE_CTL3D=1
|
||||
|
||||
!if "$(MINIMAL_WXWINDOWS_SETUP)" == "1"
|
||||
USE_CTL3D=0
|
||||
USE_XPM_IN_MSW=0
|
||||
!endif
|
||||
|
||||
PERIPH_LIBS=
|
||||
PERIPH_TARGET=
|
||||
PERIPH_CLEAN_TARGET=
|
||||
|
||||
# !if "$(USE_CTL3D)" == "1"
|
||||
# PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS)
|
||||
# !endif
|
||||
|
||||
!if "$(USE_XPM_IN_MSW)" == "1"
|
||||
PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS)
|
||||
PERIPH_TARGET=xpm $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
|
||||
!endif
|
||||
|
||||
# PNG and Zlib
|
||||
PERIPH_TARGET=png zlib $(PERIPH_TARGET)
|
||||
PERIPH_CLEAN_TARGET=clean_png clean_zlib $(PERIPH_CLEAN_TARGET)
|
||||
|
||||
GENDIR=..\generic
|
||||
COMMDIR=..\common
|
||||
OLEDIR=.\ole
|
||||
MSWDIR=.
|
||||
|
||||
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
$(COMMDIR)\y_tab.obj \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
||||
|
||||
# TODO: Implement XPM and PNG targets in this makefile!
|
||||
# $(OLEDIR)\xpmhand \
|
||||
# $(OLEDIR)\pnghand \
|
||||
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
|
||||
|
||||
# Normal, static library
|
||||
all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
|
||||
|
||||
|
||||
# $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
|
||||
# -erase $(LIBTARGET)
|
||||
# lib /PAGESIZE:128 @<<
|
||||
# $(LIBTARGET)
|
||||
# y
|
||||
# $(OBJECTS) $(PERIPH_LIBS)
|
||||
# nul
|
||||
# ;
|
||||
# <<
|
||||
|
||||
$(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
|
||||
-erase $(WXDIR)\lib\wx1.lib
|
||||
lib /PAGESIZE:128 @<<
|
||||
$(WXDIR)\lib\wx1.lib
|
||||
y
|
||||
$(COMMONOBJS) $(PERIPH_LIBS)
|
||||
nul
|
||||
;
|
||||
<<
|
||||
|
||||
$(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
|
||||
-erase $(WXDIR)\lib\wx2.lib
|
||||
lib /PAGESIZE:128 @<<
|
||||
$(WXDIR)\lib\wx2.lib
|
||||
y
|
||||
$(GENERICOBJS)
|
||||
nul
|
||||
;
|
||||
<<
|
||||
|
||||
$(WXDIR)\lib\wx3.lib: $(MSWOBJS)
|
||||
-erase $(WXDIR)\lib\wx3.lib
|
||||
lib /PAGESIZE:128 @<<
|
||||
$(WXDIR)\lib\wx3.lib
|
||||
y
|
||||
$(MSWOBJS)
|
||||
nul
|
||||
;
|
||||
<<
|
||||
|
||||
########################################################
|
||||
# Windows-specific objects
|
||||
|
||||
dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
|
||||
cl @<<
|
||||
cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
#dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
|
||||
# cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
|
||||
|
||||
dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
|
||||
cl @<<
|
||||
$(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
|
||||
<<
|
||||
|
||||
#${
|
||||
$_ = $project{"WXMSWOBJS"} . $project{"WXCOMMONOBJS"} . $project{"WXGENERICOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
if ( $project{"WXCOBJS"} =~ /\Q$_/ ) {
|
||||
s:\\:/:;
|
||||
$text .= $_ . ': $*.c' . "\n" .
|
||||
' cl @<<' . "\n" .
|
||||
'$(CPPFLAGS2) /Fo$@ /c /Tc $*.c' . "\n" .
|
||||
"<<\n\n";
|
||||
}
|
||||
else {
|
||||
s:\\:/:;
|
||||
$text .= $_ . ': $*.$(SRCSUFF)' . "\n" .
|
||||
' cl @<<' . "\n" .
|
||||
'$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)' . "\n" .
|
||||
"<<\n\n";
|
||||
}
|
||||
}
|
||||
#$}
|
||||
|
||||
$(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
|
||||
cl @<<
|
||||
$(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
|
||||
<<
|
||||
|
||||
$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
|
||||
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
|
||||
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
$(OBJECTS): $(WXDIR)/include/wx/setup.h
|
||||
|
||||
# Peripheral components
|
||||
|
||||
xpm:
|
||||
cd $(WXDIR)\src\xpm
|
||||
nmake -f makefile.dos FINAL=$(FINAL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_xpm:
|
||||
cd $(WXDIR)\src\xpm
|
||||
nmake -f makefile.dos clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
nmake -f makefile.dos FINAL=$(FINAL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
nmake -f makefile.dos clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
png:
|
||||
cd $(WXDIR)\src\png
|
||||
nmake -f makefile.dos FINAL=$(FINAL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_png:
|
||||
cd $(WXDIR)\src\png
|
||||
nmake -f makefile.dos clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean: $(PERIPH_CLEAN_TARGET)
|
||||
-erase *.obj
|
||||
-erase ..\lib\*.lib
|
||||
-erase *.pdb
|
||||
-erase *.sbr
|
||||
-erase *.pch
|
||||
cd $(WXDIR)\src\generic
|
||||
-erase *.pdb
|
||||
-erase *.sbr
|
||||
-erase *.obj
|
||||
cd $(WXDIR)\src\common
|
||||
-erase *.pdb
|
||||
-erase *.sbr
|
||||
-erase *.obj
|
||||
cd $(WXDIR)\src\msw\ole
|
||||
-erase *.pdb
|
||||
-erase *.sbr
|
||||
-erase *.obj
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
cleanall: clean
|
||||
|
||||
|
||||
MFTYPE=dos
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
74
distrib/msw/tmake/filelist.t
Normal file
@@ -0,0 +1,74 @@
|
||||
#!#############################################################################
|
||||
#! File: filelist.t
|
||||
#! Purpose: tmake template file containig Perl code to parse the filelist.txt
|
||||
#! file - this is used by all other templates.
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
#${
|
||||
open(FILELIST, "filelist.txt") or die "Can't open filelist file: $!\n";
|
||||
|
||||
line: while ( defined($_ = <FILELIST>) ) {
|
||||
chomp;
|
||||
|
||||
#! comment or blank line, skip
|
||||
next line if ( $_ eq "" or /^#/ );
|
||||
|
||||
#! if ( $verbose ) {
|
||||
#! print STDERR "Processing line: '$_'\n";
|
||||
#! }
|
||||
|
||||
my @fields = split "\t";
|
||||
if ( $#fields > 2 ) {
|
||||
warn "Ignoring malformed line $_ in the filelist file.\n";
|
||||
next line;
|
||||
} elsif ( $#fields == 1 ) {
|
||||
#! add an empty flags string
|
||||
$fields[2] = "";
|
||||
}
|
||||
|
||||
if ( $verbose ) {
|
||||
print STDERR "File $fields[0]: type '$fields[1]', flags '$fields[2]'\n";
|
||||
}
|
||||
|
||||
#! first column is filename, second is type, third is flags
|
||||
if ( $fields[1] eq "C" ) {
|
||||
$wxCommon{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "G" ) {
|
||||
$wxGeneric{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "M" ) {
|
||||
$wxMSW{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "X" ) {
|
||||
$wxMOTIF{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "R" ) {
|
||||
$wxGTK{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "H" ) {
|
||||
$wxHTML{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "U" ) {
|
||||
$wxUNIX{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "W" ) {
|
||||
$wxWXINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "P" ) {
|
||||
$wxPROTOCOLINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "L" ) {
|
||||
$wxHTMLINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "F" ) {
|
||||
$wxMOTIFINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "B" ) {
|
||||
$wxMSWINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "K" ) {
|
||||
$wxGTKINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "S" ) {
|
||||
$wxUNIXINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "N" ) {
|
||||
$wxGENERICINCLUDE{$fields[0]} = $fields[2];
|
||||
} else {
|
||||
warn "Unknown file type $fields[1] for $fields[0], ignoring.\n";
|
||||
next line;
|
||||
}
|
||||
}
|
||||
|
||||
close(FILELIST);
|
||||
#$}
|
||||
#! vim:sw=4:ts=4:list:et
|
874
distrib/msw/tmake/filelist.txt
Normal file
@@ -0,0 +1,874 @@
|
||||
###############################################################################
|
||||
# File: src/msw/filelist.cpp
|
||||
# Purpose: The list of source files for MSW version of wxWindows.
|
||||
# Author: Vadim Zeitlin
|
||||
# Created: 14.07.99
|
||||
# Version: $Id$
|
||||
#
|
||||
# Format of this file: TAB separated columns. The first column contains the
|
||||
# filename, the second a letter corresonding a directory:
|
||||
# G /src/generic
|
||||
# C /src/common
|
||||
# M /src/msw
|
||||
# X /src/motif X for Xt
|
||||
# U /src/unix
|
||||
# R /src/gtk R for Robert
|
||||
# H /src/html
|
||||
# W /include/wx
|
||||
# K /include/wx/gtk K for gtK
|
||||
# F /include/wx/motif F for motiF
|
||||
# B /include/wx/msw B for Bill Gates
|
||||
# N /include/wx/generic N for geNeric
|
||||
# L /include/wx/html L for htmL
|
||||
# P /include/wx/protocol
|
||||
# S /include/wx/unix S for poSix
|
||||
#
|
||||
# The third column may be empty or contain some additional info about this
|
||||
# file (only compile it in 16bit mode, don't compile it with this or that
|
||||
# compiler, &c)
|
||||
#
|
||||
# Known flags:
|
||||
# B makes part of the base library too
|
||||
# 16 a generic file implementing Win32 control for Win16
|
||||
# 32 only can be compiled under Win32
|
||||
# PS PostScript related file, normally not compiled under Windows
|
||||
# G generic code which might be used instead of native one
|
||||
# U Unix-ish file, normally not compiled under Windows
|
||||
# O OLE file (needs Win32 and a decent compiler)
|
||||
# S Socket file (currently doesn't compile under Win16 nor with GNU)
|
||||
# R Not required for the GTK port
|
||||
# X Not required for the Motif port
|
||||
#
|
||||
# WX Base header
|
||||
# GTK GTK header
|
||||
# MSW MSW header
|
||||
# MAC Mac header
|
||||
# MOT Motif header
|
||||
# PM OS/2 header
|
||||
# GEN Generic header
|
||||
# PRO Protocol header
|
||||
# HTM wxHtml header
|
||||
# UNX Unix header
|
||||
###############################################################################
|
||||
|
||||
# File name Type Flags
|
||||
|
||||
busyinfo.cpp G
|
||||
caret.cpp G U
|
||||
choicdgg.cpp G
|
||||
colrdlgg.cpp G G
|
||||
dcpsg.cpp G U
|
||||
dirdlgg.cpp G 16
|
||||
fontdlgg.cpp G G,R
|
||||
filedlgg.cpp G U,X
|
||||
gridg.cpp G
|
||||
helphtml.cpp G G
|
||||
helpwxht.cpp G G
|
||||
helpxlp.cpp G G,R
|
||||
imaglist.cpp G 16
|
||||
laywin.cpp G
|
||||
listctrl.cpp G 16
|
||||
logg.cpp G
|
||||
msgdlgg.cpp G G
|
||||
notebook.cpp G 16,R
|
||||
panelg.cpp G
|
||||
printps.cpp G PS
|
||||
prntdlgg.cpp G PS,U
|
||||
progdlgg.cpp G
|
||||
prop.cpp G
|
||||
propform.cpp G
|
||||
proplist.cpp G
|
||||
sashwin.cpp G
|
||||
scrolwin.cpp G
|
||||
splitter.cpp G
|
||||
statline.cpp G U,R
|
||||
statusbr.cpp G
|
||||
tabg.cpp G R
|
||||
numdlgg.cpp G
|
||||
textdlgg.cpp G
|
||||
tipdlg.cpp G
|
||||
treectrl.cpp G 16
|
||||
wizard.cpp G
|
||||
|
||||
choiccmn.cpp C R
|
||||
cmndata.cpp C
|
||||
config.cpp C B
|
||||
ctrlcmn.cpp C R
|
||||
date.cpp C B
|
||||
datstrm.cpp C
|
||||
db.cpp C
|
||||
dbtable.cpp C
|
||||
dcbase.cpp C
|
||||
dlgcmn.cpp C
|
||||
docmdi.cpp C
|
||||
docview.cpp C
|
||||
dynarray.cpp C B
|
||||
dynlib.cpp C B
|
||||
event.cpp C
|
||||
extended.c C B
|
||||
ffile.cpp C B
|
||||
file.cpp C B
|
||||
fileconf.cpp C B
|
||||
filefn.cpp C B
|
||||
filesys.cpp C B
|
||||
fontcmn.cpp C
|
||||
framecmn.cpp C
|
||||
fs_inet.cpp C
|
||||
fs_zip.cpp C
|
||||
ftp.cpp C S
|
||||
gdicmn.cpp C
|
||||
gifdecod.cpp C
|
||||
hash.cpp C B
|
||||
helpbase.cpp C
|
||||
http.cpp C S
|
||||
imagbmp.cpp C
|
||||
image.cpp C
|
||||
imagall.cpp C
|
||||
imaggif.cpp C
|
||||
imagjpeg.cpp C 32
|
||||
imagpcx.cpp C 32
|
||||
imagpng.cpp C 32
|
||||
imagpnm.cpp C 32
|
||||
intl.cpp C B
|
||||
ipcbase.cpp C
|
||||
layout.cpp C
|
||||
list.cpp C B
|
||||
log.cpp C B
|
||||
memory.cpp C
|
||||
mimetype.cpp C 32,B
|
||||
module.cpp C B
|
||||
mstream.cpp C
|
||||
object.cpp C B
|
||||
objstrm.cpp C
|
||||
odbc.cpp C R
|
||||
paper.cpp C
|
||||
prntbase.cpp C
|
||||
process.cpp C 32,B
|
||||
protocol.cpp C S
|
||||
resource.cpp C
|
||||
sckaddr.cpp C S
|
||||
sckfile.cpp C S
|
||||
sckipc.cpp C S
|
||||
sckstrm.cpp C S
|
||||
serbase.cpp C
|
||||
sizer.cpp C
|
||||
socket.cpp C S
|
||||
stream.cpp C
|
||||
strconv.cpp C B
|
||||
string.cpp C B
|
||||
tbarbase.cpp C
|
||||
tbarsmpl.cpp C
|
||||
textcmn.cpp C
|
||||
textfile.cpp C B
|
||||
time.cpp C B
|
||||
timercmn.cpp C B
|
||||
tokenzr.cpp C B
|
||||
txtstrm.cpp C
|
||||
unzip.c C
|
||||
url.cpp C S
|
||||
utilscmn.cpp C B
|
||||
valgen.cpp C
|
||||
validate.cpp C
|
||||
valtext.cpp C
|
||||
variant.cpp C B
|
||||
wfstream.cpp C
|
||||
wincmn.cpp C
|
||||
wxchar.cpp C B
|
||||
wxexpr.cpp C
|
||||
zipstrm.cpp C
|
||||
zstream.cpp C
|
||||
|
||||
accel.cpp M
|
||||
app.cpp M
|
||||
automtn.cpp M O
|
||||
bitmap.cpp M
|
||||
bmpbuttn.cpp M
|
||||
brush.cpp M
|
||||
button.cpp M
|
||||
caret.cpp M
|
||||
checkbox.cpp M
|
||||
checklst.cpp M
|
||||
choice.cpp M
|
||||
clipbrd.cpp M
|
||||
colordlg.cpp M
|
||||
colour.cpp M
|
||||
combobox.cpp M
|
||||
control.cpp M
|
||||
curico.cpp M
|
||||
cursor.cpp M
|
||||
data.cpp M
|
||||
dataobj.cpp M O
|
||||
dc.cpp M
|
||||
dcclient.cpp M
|
||||
dcmemory.cpp M
|
||||
dcprint.cpp M
|
||||
dcscreen.cpp M
|
||||
dde.cpp M
|
||||
dialog.cpp M
|
||||
dib.cpp M
|
||||
dibutils.cpp M
|
||||
dirdlg.cpp M 32
|
||||
dragimag.cpp M
|
||||
dropsrc.cpp M O
|
||||
droptgt.cpp M O
|
||||
filedlg.cpp M
|
||||
font.cpp M
|
||||
fontdlg.cpp M
|
||||
frame.cpp M
|
||||
gauge95.cpp M 32
|
||||
gaugemsw.cpp M 16
|
||||
gdiobj.cpp M
|
||||
helpwin.cpp M
|
||||
icon.cpp M
|
||||
imaglist.cpp M 32
|
||||
iniconf.cpp M 16
|
||||
joystick.cpp M
|
||||
listbox.cpp M
|
||||
listctrl.cpp M 32
|
||||
main.cpp M
|
||||
mdi.cpp M
|
||||
menu.cpp M
|
||||
menuitem.cpp M
|
||||
metafile.cpp M
|
||||
minifram.cpp M
|
||||
msgdlg.cpp M
|
||||
nativdlg.cpp M
|
||||
notebook.cpp M 32
|
||||
oleutils.cpp M O
|
||||
ownerdrw.cpp M
|
||||
palette.cpp M
|
||||
pen.cpp M
|
||||
penwin.cpp M
|
||||
pnghand.cpp M 32
|
||||
printdlg.cpp M
|
||||
printwin.cpp M
|
||||
radiobox.cpp M
|
||||
radiobut.cpp M
|
||||
regconf.cpp M 32
|
||||
region.cpp M
|
||||
registry.cpp M 32
|
||||
scrolbar.cpp M
|
||||
settings.cpp M
|
||||
slider95.cpp M 32
|
||||
slidrmsw.cpp M 16
|
||||
spinbutt.cpp M
|
||||
statbmp.cpp M
|
||||
statbox.cpp M
|
||||
statbr95.cpp M 32
|
||||
statline.cpp M
|
||||
stattext.cpp M
|
||||
tabctrl.cpp M
|
||||
taskbar.cpp M 32
|
||||
tbar95.cpp M 32
|
||||
tbarmsw.cpp M 16
|
||||
textctrl.cpp M
|
||||
thread.cpp M 32
|
||||
timer.cpp M
|
||||
tooltip.cpp M 32
|
||||
treectrl.cpp M 32
|
||||
utils.cpp M
|
||||
utilsexc.cpp M
|
||||
uuid.cpp M O
|
||||
wave.cpp M
|
||||
window.cpp M
|
||||
xpmhand.cpp M
|
||||
gsocket.c M S
|
||||
|
||||
dialup.cpp U
|
||||
threadpsx.cpp U
|
||||
utilsunx.cpp U
|
||||
gsocket.c U
|
||||
|
||||
gsockgtk.c R
|
||||
win_gtk.c R
|
||||
accel.cpp R
|
||||
app.cpp R
|
||||
bitmap.cpp R
|
||||
bmpbuttn.cpp R
|
||||
brush.cpp R
|
||||
button.cpp R
|
||||
checkbox.cpp R
|
||||
checklst.cpp R
|
||||
choice.cpp R
|
||||
clipbrd.cpp R
|
||||
colour.cpp R
|
||||
combobox.cpp R
|
||||
control.cpp R
|
||||
cursor.cpp R
|
||||
data.cpp R
|
||||
dataobj.cpp R
|
||||
dc.cpp R
|
||||
dcclient.cpp R
|
||||
dcmemory.cpp R
|
||||
dcscreen.cpp R
|
||||
dialog.cpp R
|
||||
dnd.cpp R
|
||||
font.cpp R
|
||||
fontdlg.cpp R
|
||||
frame.cpp R
|
||||
gauge.cpp R
|
||||
gdiobj.cpp R
|
||||
icon.cpp R
|
||||
listbox.cpp R
|
||||
main.cpp R
|
||||
mdi.cpp R
|
||||
menu.cpp R
|
||||
minifram.cpp R
|
||||
notebook.cpp R
|
||||
palette.cpp R
|
||||
pen.cpp R
|
||||
radiobox.cpp R
|
||||
radiobut.cpp R
|
||||
region.cpp R
|
||||
scrolbar.cpp R
|
||||
settings.cpp R
|
||||
slider.cpp R
|
||||
spinbutt.cpp R
|
||||
statbmp.cpp R
|
||||
statbox.cpp R
|
||||
statline.cpp R
|
||||
stattext.cpp R
|
||||
tbargtk.cpp R
|
||||
textctrl.cpp R
|
||||
timer.cpp R
|
||||
tooltip.cpp R
|
||||
utilsgtk.cpp R
|
||||
utilsres.cpp R
|
||||
wave.cpp R
|
||||
window.cpp R
|
||||
|
||||
gsockmot.c X S
|
||||
accel.cpp X
|
||||
app.cpp X
|
||||
bitmap.cpp X
|
||||
bmpbuttn.cpp X
|
||||
brush.cpp X
|
||||
button.cpp X
|
||||
checkbox.cpp X
|
||||
checklst.cpp X
|
||||
choice.cpp X
|
||||
clipbrd.cpp X
|
||||
colour.cpp X
|
||||
combobox.cpp X
|
||||
control.cpp X
|
||||
cursor.cpp X
|
||||
data.cpp X
|
||||
dataobj.cpp X
|
||||
dc.cpp X
|
||||
dcclient.cpp X
|
||||
dcmemory.cpp X
|
||||
dcscreen.cpp X
|
||||
dialog.cpp X
|
||||
filedlg.cpp X
|
||||
font.cpp X
|
||||
fontenum.cpp X
|
||||
frame.cpp X
|
||||
gauge.cpp X
|
||||
gdiobj.cpp X
|
||||
icon.cpp X
|
||||
listbox.cpp X
|
||||
main.cpp X
|
||||
mdi.cpp X
|
||||
menu.cpp X
|
||||
menuitem.cpp X
|
||||
minifram.cpp X
|
||||
msgdlg.cpp X
|
||||
palette.cpp X
|
||||
pen.cpp X
|
||||
radiobox.cpp X
|
||||
radiobut.cpp X
|
||||
region.cpp X
|
||||
scrolbar.cpp X
|
||||
settings.cpp X
|
||||
slider.cpp X
|
||||
spinbutt.cpp X
|
||||
statbmp.cpp X
|
||||
statbox.cpp X
|
||||
stattext.cpp X
|
||||
toolbar.cpp X
|
||||
textctrl.cpp X
|
||||
timer.cpp X
|
||||
utils.cpp X
|
||||
window.cpp X
|
||||
|
||||
helpdata.cpp H
|
||||
helpfrm.cpp H
|
||||
helpctrl.cpp H
|
||||
htmlcell.cpp H
|
||||
htmlfilt.cpp H
|
||||
htmlpars.cpp H
|
||||
htmltag.cpp H
|
||||
htmlwin.cpp H
|
||||
winpars.cpp H
|
||||
m_fonts.cpp H
|
||||
m_hline.cpp H
|
||||
m_image.cpp H
|
||||
m_layout.cpp H
|
||||
m_links.cpp H
|
||||
m_list.cpp H
|
||||
m_pre.cpp H
|
||||
m_tables.cpp H
|
||||
search.cpp H
|
||||
|
||||
arrimpl.cpp W
|
||||
listimpl.cpp W
|
||||
accel.h W
|
||||
app.h W
|
||||
bitmap.h W
|
||||
bmpbuttn.h W
|
||||
brush.h W
|
||||
buffer.h W
|
||||
busyinfo.h W
|
||||
button.h W
|
||||
caret.h W
|
||||
checkbox.h W
|
||||
checklst.h W
|
||||
choicdlg.h W
|
||||
choice.h W
|
||||
clipbrd.h W
|
||||
cmndata.h W
|
||||
colordlg.h W
|
||||
colour.h W
|
||||
combobox.h W
|
||||
confbase.h W
|
||||
config.h W
|
||||
control.h W
|
||||
cursor.h W
|
||||
dataobj.h W
|
||||
date.h W
|
||||
datstrm.h W
|
||||
db.h W
|
||||
dbtable.h W
|
||||
dc.h W
|
||||
dcclient.h W
|
||||
dcmemory.h W
|
||||
dcprint.h W
|
||||
dcps.h W
|
||||
dcscreen.h W
|
||||
dde.h W
|
||||
debug.h W
|
||||
defs.h W
|
||||
dialog.h W
|
||||
dirdlg.h W
|
||||
dnd.h W
|
||||
docmdi.h W
|
||||
docview.h W
|
||||
dragimag.h W
|
||||
dynarray.h W
|
||||
dynlib.h W
|
||||
event.h W
|
||||
expr.h W
|
||||
ffile.h W
|
||||
file.h W
|
||||
fileconf.h W
|
||||
filedlg.h W
|
||||
filefn.h W
|
||||
filesys.h W
|
||||
font.h W
|
||||
fontdlg.h W
|
||||
frame.h W
|
||||
fs_inet.h W
|
||||
fs_zip.h W
|
||||
gauge.h W
|
||||
gdicmn.h W
|
||||
gdiobj.h W
|
||||
gifdecod.h W
|
||||
grid.h W
|
||||
gsocket.h W
|
||||
hash.h W
|
||||
help.h W
|
||||
helpbase.h W
|
||||
helphtml.h W
|
||||
helpwin.h W
|
||||
helpxlp.h W
|
||||
icon.h W
|
||||
image.h W
|
||||
imaglist.h W
|
||||
intl.h W
|
||||
ioswrap.h W
|
||||
ipcbase.h W
|
||||
joystick.h W
|
||||
layout.h W
|
||||
laywin.h W
|
||||
list.h W
|
||||
listbox.h W
|
||||
listctrl.h W
|
||||
log.h W
|
||||
longlong.h W
|
||||
matrix.h W
|
||||
mdi.h W
|
||||
memory.h W
|
||||
menu.h W
|
||||
menuitem.h W
|
||||
metafile.h W
|
||||
mimetype.h W
|
||||
minifram.h W
|
||||
module.h W
|
||||
msgdlg.h W
|
||||
mstream.h W
|
||||
notebook.h W
|
||||
object.h W
|
||||
objstrm.h W
|
||||
odbc.h W
|
||||
ownerdrw.h W
|
||||
palette.h W
|
||||
panel.h W
|
||||
paper.h W
|
||||
pen.h W
|
||||
pnghand.h W
|
||||
print.h W
|
||||
printdlg.h W
|
||||
prntbase.h W
|
||||
process.h W
|
||||
progdlg.h W
|
||||
prop.h W
|
||||
propform.h W
|
||||
proplist.h W
|
||||
radiobox.h W
|
||||
radiobut.h W
|
||||
region.h W
|
||||
resource.h W
|
||||
sashwin.h W
|
||||
sckaddr.h W
|
||||
sckipc.h W
|
||||
sckstrm.h W
|
||||
scrolbar.h W
|
||||
scrolwin.h W
|
||||
serbase.h W
|
||||
settings.h W
|
||||
setup.h W
|
||||
sizer.h W
|
||||
slider.h W
|
||||
socket.h W
|
||||
spinbutt.h W
|
||||
splitter.h W
|
||||
statbmp.h W
|
||||
statbox.h W
|
||||
statline.h W
|
||||
stattext.h W
|
||||
statusbr.h W
|
||||
strconv.h W
|
||||
stream.h W
|
||||
string.h W
|
||||
tab.h W
|
||||
tabctrl.h W
|
||||
taskbar.h W
|
||||
tbar95.h W
|
||||
tbarbase.h W
|
||||
tbarmsw.h W
|
||||
tbarsmpl.h W
|
||||
textctrl.h W
|
||||
textdlg.h W
|
||||
textfile.h W
|
||||
txtstrm.h W
|
||||
thread.h W
|
||||
time.h W
|
||||
timer.h W
|
||||
tipdlg.h W
|
||||
tokenzr.h W
|
||||
toolbar.h W
|
||||
tooltip.h W
|
||||
treectrl.h W
|
||||
types.h W
|
||||
url.h W
|
||||
utils.h W
|
||||
valgen.h W
|
||||
validate.h W
|
||||
valtext.h W
|
||||
variant.h W
|
||||
version.h W
|
||||
wave.h W
|
||||
wfstream.h W
|
||||
window.h W
|
||||
wx.h W
|
||||
wx_cw.h W
|
||||
wx_cw_cm.h W
|
||||
wx_cw_d.h W
|
||||
wxchar.h W
|
||||
wxexpr.h W
|
||||
wxhtml.h W
|
||||
wxprec.h W
|
||||
xpmhand.h W
|
||||
zipstrm.h W
|
||||
zstream.h W
|
||||
|
||||
accel.h K
|
||||
app.h K
|
||||
bitmap.h K
|
||||
bmpbuttn.h K
|
||||
brush.h K
|
||||
button.h K
|
||||
checkbox.h K
|
||||
checklst.h K
|
||||
choice.h K
|
||||
clipbrd.h K
|
||||
colour.h K
|
||||
combobox.h K
|
||||
control.h K
|
||||
cursor.h K
|
||||
dataobj.h K
|
||||
dc.h K
|
||||
dcclient.h K
|
||||
dcmemory.h K
|
||||
dcscreen.h K
|
||||
dialog.h K
|
||||
dnd.h K
|
||||
filedlg.h K
|
||||
font.h K
|
||||
fontdlg.h K
|
||||
frame.h K
|
||||
gauge.h K
|
||||
gdiobj.h K
|
||||
icon.h K
|
||||
joystick.h K
|
||||
listbox.h K
|
||||
mdi.h K
|
||||
menu.h K
|
||||
menuitem.h K
|
||||
minifram.h K
|
||||
notebook.h K
|
||||
palette.h K
|
||||
pen.h K
|
||||
radiobox.h K
|
||||
radiobut.h K
|
||||
region.h K
|
||||
scrolbar.h K
|
||||
settings.h K
|
||||
slider.h K
|
||||
spinbutt.h K
|
||||
statbmp.h K
|
||||
statbox.h K
|
||||
statline.h K
|
||||
stattext.h K
|
||||
tbargtk.h K
|
||||
textctrl.h K
|
||||
timer.h K
|
||||
tooltip.h K
|
||||
treectrl.h K
|
||||
wave.h K
|
||||
win_gtk.h K
|
||||
window.h K
|
||||
|
||||
accel.h F
|
||||
app.h F
|
||||
bitmap.h F
|
||||
bmpbuttn.h F
|
||||
brush.h F
|
||||
button.h F
|
||||
checkbox.h F
|
||||
checklst.h F
|
||||
choice.h F
|
||||
clipbrd.h F
|
||||
colordlg.h F
|
||||
colour.h F
|
||||
combobox.h F
|
||||
control.h F
|
||||
cursor.h F
|
||||
dataobj.h F
|
||||
dc.h F
|
||||
dcclient.h F
|
||||
dcmemory.h F
|
||||
dcprint.h F
|
||||
dcscreen.h F
|
||||
dialog.h F
|
||||
dnd.h F
|
||||
filedlg.h F
|
||||
font.h F
|
||||
fontdlg.h F
|
||||
frame.h F
|
||||
gauge.h F
|
||||
gdiobj.h F
|
||||
icon.h F
|
||||
joystick.h F
|
||||
listbox.h F
|
||||
mdi.h F
|
||||
menu.h F
|
||||
menuitem.h F
|
||||
metafile.h F
|
||||
minifram.h F
|
||||
msgdlg.h F
|
||||
palette.h F
|
||||
pen.h F
|
||||
print.h F
|
||||
printdlg.h F
|
||||
private.h F
|
||||
radiobox.h F
|
||||
radiobut.h F
|
||||
region.h F
|
||||
scrolbar.h F
|
||||
settings.h F
|
||||
slider.h F
|
||||
spinbutt.h F
|
||||
statbmp.h F
|
||||
statbox.h F
|
||||
stattext.h F
|
||||
textctrl.h F
|
||||
timer.h F
|
||||
toolbar.h F
|
||||
window.h F
|
||||
|
||||
accel.h B
|
||||
app.h B
|
||||
bitmap.h B
|
||||
bmpbuttn.h B
|
||||
brush.h B
|
||||
button.h B
|
||||
caret.h B
|
||||
checkbox.h B
|
||||
checklst.h B
|
||||
choice.h B
|
||||
clipbrd.h B
|
||||
colordlg.h B
|
||||
colour.h B
|
||||
combobox.h B
|
||||
control.h B
|
||||
curico.h B
|
||||
curicop.h B
|
||||
cursor.h B
|
||||
dc.h B
|
||||
dcclient.h B
|
||||
dcmemory.h B
|
||||
dcprint.h B
|
||||
dcscreen.h B
|
||||
dde.h B
|
||||
dialog.h B
|
||||
dib.h B
|
||||
dibutils.h B
|
||||
dirdlg.h B
|
||||
dragimag.h B
|
||||
filedlg.h B
|
||||
font.h B
|
||||
fontdlg.h B
|
||||
frame.h B
|
||||
gauge.h B
|
||||
gauge95.h B
|
||||
gaugemsw.h B
|
||||
gdiobj.h B
|
||||
helpwin.h B
|
||||
icon.h B
|
||||
imaglist.h B
|
||||
iniconf.h B
|
||||
joystick.h B
|
||||
listbox.h B
|
||||
listctrl.h B
|
||||
mdi.h B
|
||||
menu.h B
|
||||
menuitem.h B
|
||||
metafile.h B
|
||||
minifram.h B
|
||||
msgdlg.h B
|
||||
msvcrt.h B
|
||||
notebook.h B
|
||||
palette.h B
|
||||
pen.h B
|
||||
pnghand.h B
|
||||
pngread.h B
|
||||
printdlg.h B
|
||||
printwin.h B
|
||||
private.h B
|
||||
radiobox.h B
|
||||
radiobut.h B
|
||||
regconf.h B
|
||||
region.h B
|
||||
registry.h B
|
||||
scrolbar.h B
|
||||
settings.h B
|
||||
setup0.h B
|
||||
slider.h B
|
||||
slider95.h B
|
||||
slidrmsw.h B
|
||||
spinbutt.h B
|
||||
statbmp.h B
|
||||
statbox.h B
|
||||
statbr95.h B
|
||||
statline.h B
|
||||
stattext.h B
|
||||
tabctrl.h B
|
||||
taskbar.h B
|
||||
tbar95.h B
|
||||
tbarmsw.h B
|
||||
textctrl.h B
|
||||
timer.h B
|
||||
tooltip.h B
|
||||
treectrl.h B
|
||||
wave.h B
|
||||
window.h B
|
||||
winundef.h B
|
||||
xpmhand.h B
|
||||
# blank.cur B
|
||||
# bullseye.cur B
|
||||
# child.ico B
|
||||
# clock.cur B
|
||||
# error.ico B
|
||||
# hand.cur B
|
||||
# heart.cur B
|
||||
# info.ico B
|
||||
# magnif1.cur B
|
||||
# mdi.ico B
|
||||
# noentry.cur B
|
||||
# pbrush.cur B
|
||||
# pencil.cur B
|
||||
# pntleft.cur B
|
||||
# pntright.cur B
|
||||
# query.cur B
|
||||
# question.ico B
|
||||
# roller.cur B
|
||||
# size.cur B
|
||||
# std.ico B
|
||||
# tip.ico B
|
||||
# warning.ico B
|
||||
# watch1.cur B
|
||||
# disable.bmp B
|
||||
# wx.rc B
|
||||
|
||||
execute.h S
|
||||
|
||||
file.h P
|
||||
ftp.h P
|
||||
http.h P
|
||||
protocol.h P
|
||||
|
||||
forcelnk.h L
|
||||
helpdata.h L
|
||||
helpfrm.h L
|
||||
helpctrl.h L
|
||||
htmlcell.h L
|
||||
htmldefs.h L
|
||||
htmlfilt.h L
|
||||
htmlpars.h L
|
||||
htmltag.h L
|
||||
htmlwin.h L
|
||||
winpars.h L
|
||||
m_templ.h L
|
||||
version.h L
|
||||
|
||||
caret.h N
|
||||
choicdgg.h N
|
||||
colrdlgg.h N
|
||||
dcpsg.h N
|
||||
dirdlgg.h N
|
||||
fontdlgg.h N
|
||||
filedlgg.h N
|
||||
gridg.h N
|
||||
helpext.h N
|
||||
helpwxht.h N
|
||||
helphtml.h N
|
||||
helpxlp.h N
|
||||
imaglist.h N
|
||||
laywin.h N
|
||||
listctrl.h N
|
||||
msgdlgg.h N
|
||||
notebook.h N
|
||||
panelg.h N
|
||||
printps.h N
|
||||
prntdlgg.h N
|
||||
progdlgg.h N
|
||||
sashwin.h N
|
||||
scrolwin.h N
|
||||
splitter.h N
|
||||
statusbr.h N
|
||||
tabg.h N
|
||||
textdlgg.h N
|
||||
treectrl.h N
|
||||
|
||||
# vi: set noet ts=16 nolist:
|
263
distrib/msw/tmake/g295.t
Normal file
@@ -0,0 +1,263 @@
|
||||
#!#############################################################################
|
||||
#! File: g295.t
|
||||
#! Purpose: tmake template file from which makefile.g295 is generated by running
|
||||
#! tmake -t g295 wxwin.pro -o makefile.g295
|
||||
#! Author: Vadim Zeitlin, Robert Roebling, Julian Smart
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
|
||||
#! so take the generic version
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
|
||||
next;
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXGENERICOBJS"} .= '$(GENDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\b(16)\b/;
|
||||
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXCOMMONOBJS"} .= '$(COMMDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! Mingw32 doesn't have the OLE headers and has some troubles with
|
||||
#! socket code
|
||||
next if $wxMSW{$file} =~ /\b(16)\b/;
|
||||
|
||||
$project{"WXMSWOBJS"} .= '$(MSWDIR)/';
|
||||
$project{"WXMSWOBJS"} .= 'ole/' if $wxMSW{$file} =~ /\bO\b/;
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXMSWOBJS"} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXHTMLOBJS"} .= '$(HTMLDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
#$}
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G295.T!
|
||||
|
||||
#
|
||||
# File: makefile.g295
|
||||
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
||||
# Created: 1993
|
||||
# Updated: 1999
|
||||
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
||||
# Copyright:(c) 1999, Vadim Zeitlin
|
||||
# Copyright:(c) 1999, Robert Roebling
|
||||
#
|
||||
# Makefile for libwx.a
|
||||
|
||||
# Replace this with your own path if necessary
|
||||
WXDIR = ../..
|
||||
|
||||
# All common compiler flags and options are now in
|
||||
# this central makefile.
|
||||
include $(WXDIR)/src/makeg95.env
|
||||
|
||||
# Subordinate library possibilities
|
||||
|
||||
EXTRAOBJS=
|
||||
|
||||
GENDIR = $(WXDIR)/src/generic
|
||||
COMMDIR = $(WXDIR)/src/common
|
||||
HTMLDIR = $(WXDIR)/src/html
|
||||
XPMDIR = $(WXDIR)/src/xpm
|
||||
PNGDIR = $(WXDIR)/src/png
|
||||
JPEGDIR = $(WXDIR)/src/jpeg
|
||||
ZLIBDIR = $(WXDIR)/src/zlib
|
||||
OLEDIR = $(WXDIR)/src/msw/ole
|
||||
MSWDIR = $(WXDIR)/src/msw
|
||||
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
|
||||
GENERICOBJS = \
|
||||
#$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
$(COMMDIR)/y_tab.$(OBJSUFF) \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
HTMLOBJS = \
|
||||
#$ ExpandList("WXHTMLOBJS");
|
||||
|
||||
MSWOBJS = \
|
||||
#$ ExpandList("WXMSWOBJS");
|
||||
|
||||
ZLIBOBJS = \
|
||||
$(ZLIBDIR)/adler32.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/compress.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/crc32.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/gzio.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/uncompr.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/deflate.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/trees.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/zutil.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inflate.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infblock.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inftrees.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infcodes.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infutil.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inffast.$(OBJSUFF)
|
||||
|
||||
PNGOBJS = \
|
||||
$(PNGDIR)/png.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngread.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrtran.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrutil.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngpread.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngtrans.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwrite.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwtran.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwutil.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngerror.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngmem.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwio.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrio.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngget.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngset.$(OBJSUFF)
|
||||
|
||||
|
||||
JPEGOBJS = \
|
||||
$(JPEGDIR)/jcomapi.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jutils.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jerror.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jmemmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jmemnobs.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcapimin.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcapistd.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jctrans.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcparam.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdatadst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcinit.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmaster.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmarker.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmainct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcprepct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jccoefct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jccolor.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcsample.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jchuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcphuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctfst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctflt.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctint.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdapimin.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdapistd.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdtrans.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdatasrc.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmaster.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdinput.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmarker.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdhuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdphuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmainct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdcoefct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdpostct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jddctmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctfst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctflt.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctint.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctred.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdsample.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdcolor.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jquant1.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jquant2.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmerge.$(OBJSUFF)
|
||||
|
||||
XPMOBJECTS = $(XPMDIR)/crbuffri.o\
|
||||
$(XPMDIR)/crdatfri.o\
|
||||
$(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
|
||||
$(XPMDIR)/crifrdat.o\
|
||||
$(XPMDIR)/data.o\
|
||||
$(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
|
||||
$(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
|
||||
$(XPMDIR)/rdftoi.o\
|
||||
$(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
|
||||
$(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
|
||||
$(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
|
||||
|
||||
OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
|
||||
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
|
||||
|
||||
all: $(OBJECTS) $(WXLIB)
|
||||
|
||||
$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
|
||||
ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
|
||||
|
||||
$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
|
||||
$(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
|
||||
|
||||
$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
|
||||
copy ..\common\dosyacc.c ..\common\y_tab.c
|
||||
|
||||
$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
|
||||
copy ..\common\doslex.c ..\common\lex_yy.c
|
||||
|
||||
# Replace lex with flex if you run into compilation
|
||||
# problems with lex_yy.c. See also note about LEX_SCANNER
|
||||
# above.
|
||||
# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
|
||||
# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
|
||||
#
|
||||
# Try one of these if the above line doesn't work.
|
||||
# Alternative syntax (1)
|
||||
# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
|
||||
# Alternative syntax (2)
|
||||
# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
|
||||
#
|
||||
# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
|
||||
# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
|
||||
# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
|
||||
# rm -f lex.yy.c
|
||||
#
|
||||
# Replace yacc with bison if you run into compilation
|
||||
# problems with y_tab.c.
|
||||
#
|
||||
# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
|
||||
# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
|
||||
#
|
||||
# If you use e.g. gcc on Unix, uncomment these lines
|
||||
# and comment out the above.
|
||||
#
|
||||
# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
|
||||
# $(YACC) $(COMMDIR)/parser.y
|
||||
# mv y.tab.c $(COMMDIR)/y_tab.c
|
||||
|
||||
clean:
|
||||
-erase *.o
|
||||
-erase *.bak
|
||||
-erase core
|
||||
-erase ..\common\y_tab.c
|
||||
-erase ..\common\lex_yy.c
|
||||
-erase ..\common\*.o
|
||||
-erase ..\common\*.bak
|
||||
-erase ..\generic\*.o
|
||||
-erase ..\generic\*.bak
|
||||
-erase ..\html\*.o
|
||||
-erase ..\png\*.o
|
||||
-erase ..\png\*.bak
|
||||
-erase ..\zlib\*.o
|
||||
-erase ..\zlib\*.bak
|
||||
-erase ..\jpeg\*.o
|
||||
-erase ..\..\lib\libwx.a
|
||||
|
||||
cleanall: clean
|
267
distrib/msw/tmake/g95.t
Normal file
@@ -0,0 +1,267 @@
|
||||
#!#############################################################################
|
||||
#! File: g95.t
|
||||
#! Purpose: tmake template file from which makefile.g95 is generated by running
|
||||
#! tmake -t g95 wxwin.pro -o makefile.g95
|
||||
#! Author: Vadim Zeitlin, Robert Roebling, Julian Smart
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
|
||||
#! so take the generic version
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
|
||||
next unless $file =~ /^dirdlgg\./;
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXGENERICOBJS"} .= '$(GENDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\b(16)\b/;
|
||||
|
||||
#! needs extra files (sql*.h) so not compiled by default.
|
||||
next if $file =~ /^odbc\./;
|
||||
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXCOMMONOBJS"} .= '$(COMMDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! Mingw32 doesn't have the OLE headers and has some troubles with
|
||||
#! socket code
|
||||
next if $wxMSW{$file} =~ /\b(O|16)\b/;
|
||||
|
||||
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
|
||||
next if $file =~ /^dirdlg\./;
|
||||
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXMSWOBJS"} .= '$(MSWDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
$file =~ s/cp?p?$/\$(OBJSUFF)/;
|
||||
$project{"WXHTMLOBJS"} .= '$(HTMLDIR)/' . $file . " "
|
||||
}
|
||||
|
||||
#$}
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
|
||||
|
||||
#
|
||||
# File: makefile.g95
|
||||
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
||||
# Created: 1993
|
||||
# Updated: 1999
|
||||
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
||||
# Copyright:(c) 1999, Vadim Zeitlin
|
||||
# Copyright:(c) 1999, Robert Roebling
|
||||
#
|
||||
# Makefile for libwx.a
|
||||
|
||||
# Replace this with your own path if necessary
|
||||
WXDIR = ../..
|
||||
|
||||
# All common compiler flags and options are now in
|
||||
# this central makefile.
|
||||
include $(WXDIR)/src/makeg95.env
|
||||
|
||||
# Subordinate library possibilities
|
||||
|
||||
EXTRAOBJS=
|
||||
|
||||
GENDIR = $(WXDIR)/src/generic
|
||||
COMMDIR = $(WXDIR)/src/common
|
||||
HTMLDIR = $(WXDIR)/src/html
|
||||
XPMDIR = $(WXDIR)/src/xpm
|
||||
PNGDIR = $(WXDIR)/src/png
|
||||
JPEGDIR = $(WXDIR)/src/jpeg
|
||||
ZLIBDIR = $(WXDIR)/src/zlib
|
||||
OLEDIR = $(WXDIR)/src/msw/ole
|
||||
MSWDIR = $(WXDIR)/src/msw
|
||||
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
|
||||
GENERICOBJS = \
|
||||
#$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
$(COMMDIR)/y_tab.$(OBJSUFF) \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
HTMLOBJS = \
|
||||
#$ ExpandList("WXHTMLOBJS");
|
||||
|
||||
MSWOBJS = \
|
||||
#$ ExpandList("WXMSWOBJS");
|
||||
|
||||
ZLIBOBJS = \
|
||||
$(ZLIBDIR)/adler32.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/compress.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/crc32.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/gzio.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/uncompr.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/deflate.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/trees.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/zutil.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inflate.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infblock.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inftrees.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infcodes.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/infutil.$(OBJSUFF) \
|
||||
$(ZLIBDIR)/inffast.$(OBJSUFF)
|
||||
|
||||
PNGOBJS = \
|
||||
$(PNGDIR)/png.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngread.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrtran.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrutil.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngpread.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngtrans.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwrite.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwtran.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwutil.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngerror.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngmem.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngwio.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngrio.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngget.$(OBJSUFF) \
|
||||
$(PNGDIR)/pngset.$(OBJSUFF)
|
||||
|
||||
|
||||
JPEGOBJS = \
|
||||
$(JPEGDIR)/jcomapi.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jutils.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jerror.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jmemmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jmemnobs.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcapimin.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcapistd.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jctrans.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcparam.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdatadst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcinit.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmaster.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmarker.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcmainct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcprepct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jccoefct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jccolor.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcsample.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jchuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcphuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctfst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctflt.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jfdctint.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdapimin.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdapistd.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdtrans.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdatasrc.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmaster.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdinput.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmarker.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdhuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdphuff.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmainct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdcoefct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdpostct.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jddctmgr.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctfst.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctflt.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctint.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jidctred.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdsample.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdcolor.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jquant1.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jquant2.$(OBJSUFF) \
|
||||
$(JPEGDIR)/jdmerge.$(OBJSUFF)
|
||||
|
||||
XPMOBJECTS = $(XPMDIR)/crbuffri.o\
|
||||
$(XPMDIR)/crdatfri.o\
|
||||
$(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
|
||||
$(XPMDIR)/crifrdat.o\
|
||||
$(XPMDIR)/data.o\
|
||||
$(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
|
||||
$(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
|
||||
$(XPMDIR)/rdftoi.o\
|
||||
$(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
|
||||
$(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
|
||||
$(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
|
||||
|
||||
OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
|
||||
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
|
||||
|
||||
all: $(OBJECTS) $(WXLIB)
|
||||
|
||||
$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
|
||||
ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
|
||||
|
||||
$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
|
||||
$(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
|
||||
|
||||
$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
|
||||
copy ..\common\dosyacc.c ..\common\y_tab.c
|
||||
|
||||
$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
|
||||
copy ..\common\doslex.c ..\common\lex_yy.c
|
||||
|
||||
# Replace lex with flex if you run into compilation
|
||||
# problems with lex_yy.c. See also note about LEX_SCANNER
|
||||
# above.
|
||||
# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
|
||||
# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
|
||||
#
|
||||
# Try one of these if the above line doesn't work.
|
||||
# Alternative syntax (1)
|
||||
# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
|
||||
# Alternative syntax (2)
|
||||
# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
|
||||
#
|
||||
# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
|
||||
# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
|
||||
# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
|
||||
# rm -f lex.yy.c
|
||||
#
|
||||
# Replace yacc with bison if you run into compilation
|
||||
# problems with y_tab.c.
|
||||
#
|
||||
# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
|
||||
# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
|
||||
#
|
||||
# If you use e.g. gcc on Unix, uncomment these lines
|
||||
# and comment out the above.
|
||||
#
|
||||
# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
|
||||
# $(YACC) $(COMMDIR)/parser.y
|
||||
# mv y.tab.c $(COMMDIR)/y_tab.c
|
||||
|
||||
clean:
|
||||
-erase *.o
|
||||
-erase *.bak
|
||||
-erase core
|
||||
-erase ..\common\y_tab.c
|
||||
-erase ..\common\lex_yy.c
|
||||
-erase ..\common\*.o
|
||||
-erase ..\common\*.bak
|
||||
-erase ..\generic\*.o
|
||||
-erase ..\generic\*.bak
|
||||
-erase ..\html\*.o
|
||||
-erase ..\png\*.o
|
||||
-erase ..\png\*.bak
|
||||
-erase ..\zlib\*.o
|
||||
-erase ..\zlib\*.bak
|
||||
-erase ..\jpeg\*.o
|
||||
-erase ..\..\lib\libwx.a
|
||||
|
||||
cleanall: clean
|
55
distrib/msw/tmake/makeall.bat
Executable file
@@ -0,0 +1,55 @@
|
||||
@echo off
|
||||
rem File: makeall.bat
|
||||
rem Purpose: create wxWindows makefiles for all compilers
|
||||
rem Author: Vadim Zeitlin
|
||||
rem Created: 14.07.99
|
||||
rem Copyright: (c) 1999 Vadim Zeitlin
|
||||
rem Version: $Id$
|
||||
rem
|
||||
rem Makefile to create the makefiles for all compilers from the templates using
|
||||
rem tmake. The environment variable WX or WXWIN should be defined and contain
|
||||
rem the root directory of wxWindows installation. TMAKE program should be in
|
||||
rem path or, alternatively, TMAKE environment variable should be set.
|
||||
|
||||
if "x%WX%" == "x" goto skip
|
||||
set WXDIR=%WX%
|
||||
goto ok
|
||||
|
||||
:skip
|
||||
if "x%WXWIN%" == "x" goto no_wx
|
||||
set WXDIR=%WXWIN%
|
||||
goto ok
|
||||
|
||||
:no_wx
|
||||
echo "Please set WX environment variable!"
|
||||
goto end
|
||||
|
||||
:ok
|
||||
set TM=tmake
|
||||
if "x%TMAKE%" == "x" goto skip2
|
||||
set TM=%TMAKE%
|
||||
|
||||
:skip2
|
||||
|
||||
rem this loop just doesn't want to work under command.com and cmd.exe and
|
||||
rem 4nt.exe, so I preferred to unroll it.
|
||||
rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
|
||||
|
||||
echo Generating for Visual C++ 4.0...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t vc wxwin.pro -o makefile.vc
|
||||
echo Generating for Borland C++ (32 bits)...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t b32 wxwin.pro -o makefile.b32
|
||||
echo Generating for Visual C++ 1.52...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t dos wxwin.pro -o makefile.dos
|
||||
echo Generating for Borland C++ (16 bits)...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t bcc wxwin.pro -o makefile.bcc
|
||||
echo Generating for Cygwin/Mingw32
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t g95 wxwin.pro -o makefile.g95
|
||||
echo Generating for Symantec C++...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t sc wxwin.pro -o makefile.sc
|
||||
echo Generating for Watcom C++...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t wat wxwin.pro -o makefile.wat
|
||||
echo Generating for Unix and Configure...
|
||||
E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t unx wxwin.pro -o makefile.unx.in
|
||||
|
||||
:end
|
54
distrib/msw/tmake/makeall.sh
Executable file
@@ -0,0 +1,54 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# File: makeall.sh
|
||||
# Purpose: create wxWindows makefiles for all compilers
|
||||
# Author: Michael Bedward
|
||||
# Created: 29 Aug 1999
|
||||
# Copyright: (c) 1999 Michael Bedward
|
||||
# Version: $Id$
|
||||
#
|
||||
# This creates the makefiles for all compilers from the templates using
|
||||
# tmake. The tmake executable should be in the path.
|
||||
|
||||
# Assume we are in distrib/msw/tmake
|
||||
#
|
||||
topdir="../../.."
|
||||
mswdir="$topdir/src/msw"
|
||||
|
||||
for tname in `ls *.t`
|
||||
do
|
||||
case $tname in
|
||||
b32.t)
|
||||
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
|
||||
tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;;
|
||||
|
||||
bcc.t)
|
||||
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
|
||||
tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
|
||||
|
||||
dos.t)
|
||||
echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
|
||||
tmake -t dos wxwin.pro -o $mswdir/makefile.dos;;
|
||||
|
||||
g95.t)
|
||||
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
|
||||
tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;;
|
||||
|
||||
sc.t)
|
||||
echo "Generating $mswdir/makefile.sc for Symantec C++..."
|
||||
tmake -t sc wxwin.pro -o $mswdir/makefile.sc;;
|
||||
|
||||
vc.t)
|
||||
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
|
||||
tmake -t vc wxwin.pro -o $mswdir/makefile.vc;;
|
||||
|
||||
wat.t)
|
||||
echo "Generating $mswdir/makefile.wat for Watcom C++..."
|
||||
tmake -t wat wxwin.pro -o $mswdir/makefile.wat;;
|
||||
|
||||
unx.t)
|
||||
echo "Generating $topdir/Makefile.in for Unix and Configure..."
|
||||
tmake -t unx wxwin.pro -o $topdir/Makefile.in;;
|
||||
esac
|
||||
done
|
||||
|
119
distrib/msw/tmake/sc.t
Normal file
@@ -0,0 +1,119 @@
|
||||
#!#############################################################################
|
||||
#! File: sc.t
|
||||
#! Purpose: tmake template file from which makefile.sc is generated by running
|
||||
#! tmake -t sc wxwin.pro -o makefile.sc
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
my $tag = "";
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
|
||||
$tag = "WXNONESSENTIALOBJS";
|
||||
}
|
||||
else {
|
||||
$tag = "WXGENERICOBJS";
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{$tag} .= '$(GENDIR)\\' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXCOMMONOBJS"} .= '$(COMMDIR)\\' . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! these files don't compile with SC++ 6
|
||||
next if $file =~ /^(joystick|pnghand)\./;
|
||||
|
||||
next if $wxGeneric{$file} =~ /\b16\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXMSWOBJS"} .= '$(MSWDIR)\\' . $file . " "
|
||||
}
|
||||
#$}
|
||||
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T!
|
||||
|
||||
# Symantec C++ makefile for the msw objects
|
||||
# called from src\makefile.sc
|
||||
|
||||
# configuration section (see src\makefile.sc) ###########################
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
include ..\makesc.env
|
||||
|
||||
DEBUG=0
|
||||
|
||||
LIBTARGET = $(LIBDIR)\wx.lib
|
||||
|
||||
OPTIONS=
|
||||
|
||||
# end of configuration section ##########################################
|
||||
|
||||
GENDIR=$(WXDIR)\src\generic
|
||||
COMMDIR=$(WXDIR)\src\common
|
||||
XPMDIR=$(WXDIR)\src\xpm
|
||||
OLEDIR=ole
|
||||
MSWDIR=$(WXDIR)\src\msw
|
||||
|
||||
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
$(COMMDIR)\y_tab.obj \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
||||
|
||||
XPMOBJECTS = $(XPMDIR)\crbuffri.obj\
|
||||
$(XPMDIR)\crdatfri.obj\
|
||||
$(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\
|
||||
$(XPMDIR)\crifrdat.obj\
|
||||
$(XPMDIR)\data.obj\
|
||||
$(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\
|
||||
$(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\
|
||||
$(XPMDIR)\rdftoi.obj\
|
||||
$(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\
|
||||
$(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\
|
||||
$(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj
|
||||
|
||||
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS)
|
||||
|
||||
all: $(LIBTARGET)
|
||||
|
||||
$(LIBTARGET): $(OBJECTS)
|
||||
-del $(LIBTARGET)
|
||||
*lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul;
|
||||
|
||||
clean:
|
||||
-del *.obj
|
||||
-del $(LIBTARGET)
|
||||
|
||||
$(COMMDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
|
||||
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
|
||||
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
# $(COMMDIR)\cmndata.obj: $(COMMDIR)\cmndata.cpp
|
||||
# *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj
|
||||
|
||||
MFTYPE=sc
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
57
distrib/msw/tmake/tmake.conf
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# tmake configuration for linux-g++
|
||||
#
|
||||
|
||||
TEMPLATE = app
|
||||
CONFIG = qt warn_on release
|
||||
|
||||
TMAKE_CC = gcc
|
||||
TMAKE_CFLAGS =
|
||||
TMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
TMAKE_CFLAGS_WARN_OFF =
|
||||
TMAKE_CFLAGS_RELEASE = -O2 -fno-strength-reduce
|
||||
TMAKE_CFLAGS_DEBUG = -g
|
||||
TMAKE_CFLAGS_SHLIB = -fPIC
|
||||
TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
TMAKE_CXX = g++
|
||||
TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
|
||||
TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
|
||||
TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
|
||||
TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
|
||||
TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
|
||||
TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
|
||||
TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
|
||||
|
||||
TMAKE_INCDIR =
|
||||
TMAKE_LIBDIR =
|
||||
TMAKE_INCDIR_X11 = /usr/X11R6/include
|
||||
TMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
||||
TMAKE_INCDIR_QT = $(QTDIR)/include
|
||||
TMAKE_LIBDIR_QT = $(QTDIR)/lib
|
||||
TMAKE_INCDIR_OPENGL = /usr/X11R6/include
|
||||
TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
|
||||
|
||||
TMAKE_LINK = g++
|
||||
TMAKE_LINK_SHLIB = g++
|
||||
TMAKE_LFLAGS = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib
|
||||
TMAKE_LFLAGS_RELEASE =
|
||||
TMAKE_LFLAGS_DEBUG =
|
||||
TMAKE_LFLAGS_SHLIB = -shared
|
||||
TMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
|
||||
TMAKE_LIBS =
|
||||
TMAKE_LIBS_X11 = -lX11 -lXext
|
||||
TMAKE_LIBS_QT = -lqt
|
||||
TMAKE_LIBS_QT_OPENGL = -lqgl
|
||||
TMAKE_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
|
||||
TMAKE_MOC = moc
|
||||
|
||||
TMAKE_AR = ar cqs
|
||||
TMAKE_RANLIB =
|
||||
|
||||
TMAKE_TAR = tar -cf
|
||||
TMAKE_GZIP = gzip -9f
|
956
distrib/msw/tmake/unx.t
Normal file
@@ -0,0 +1,956 @@
|
||||
#!################################################################################
|
||||
#! File: unx.t
|
||||
#! Purpose: tmake template file from which Makefile.in is generated by running
|
||||
#! tmake -t unx wxwin.pro -o Makefile.in
|
||||
#! Author: Vadim Zeitlin, Robert Roebling, Julian Smart
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!################################################################################
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! Generic
|
||||
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
|
||||
#! so take the generic version
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
|
||||
next unless $file =~ /^dirdlgg\./;
|
||||
}
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMSW_GENERICOBJS"} .= $file . " ";
|
||||
$project{"WXMSW_GENERICDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
#! skip generic files not required for the wxGTK port
|
||||
next if $wxGeneric{$file} =~ /\bR\b/;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXGTK_GENERICOBJS"} .= $file . " ";
|
||||
$project{"WXGTK_GENERICDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
next if $wxGeneric{$file} =~ /\bX\b/;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMOTIF_GENERICOBJS"} .= $file . " ";
|
||||
$project{"WXMOTIF_GENERICDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
#! Common
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\bR\b/;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXGTK_COMMONOBJS"} .= $file . " ";
|
||||
$project{"WXGTK_COMMONDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\bX\b/;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMOTIF_COMMONOBJS"} .= $file . " ";
|
||||
$project{"WXMOTIF_COMMONDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\b(16)\b/;
|
||||
|
||||
#! needs extra files (sql*.h) so not compiled by default.
|
||||
next if $file =~ /^odbc\./;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMSW_COMMONOBJS"} .= $file . " ";
|
||||
$project{"WXMSW_COMMONDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
#! GUI
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! Mingw32 doesn't have the OLE headers and has some troubles with
|
||||
#! socket code
|
||||
next if $wxMSW{$file} =~ /\b(O|16)\b/;
|
||||
|
||||
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
|
||||
next if $file =~ /^dirdlg\./;
|
||||
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMSW_GUIOBJS"} .= $file . " ";
|
||||
$project{"WXMSW_GUIDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGTK) {
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXGTK_GUIOBJS"} .= $file . " ";
|
||||
$project{"WXGTK_GUIDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMOTIF) {
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXMOTIF_GUIOBJS"} .= $file . " ";
|
||||
$project{"WXMOTIF_GUIDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
#! others
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXHTMLOBJS"} .= $file . " ";
|
||||
$project{"WXHTMLDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxUNIX) {
|
||||
$file2 = $file;
|
||||
$file =~ s/cp?p?$/\o/;
|
||||
$file2 =~ s/cp?p?$/\d/;
|
||||
$project{"WXUNIXOBJS"} .= $file . " ";
|
||||
$project{"WXUNIXDEPS"} .= $file2 . " "
|
||||
}
|
||||
|
||||
#! headers
|
||||
|
||||
foreach $file (sort keys %wxWXINCLUDE) {
|
||||
$project{"WX_HEADERS"} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGENERICINCLUDE) {
|
||||
$project{"WXGENERIC_HEADERS"} .= "generic/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMOTIFINCLUDE) {
|
||||
$project{"WXMOTIF_HEADERS"} .= "motif/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGTKINCLUDE) {
|
||||
$project{"WXGTK_HEADERS"} .= "gtk/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSWINCLUDE) {
|
||||
$project{"WXMSW_HEADERS"} .= "msw/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTMLINCLUDE) {
|
||||
$project{"WXHTML_HEADERS"} .= "html/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxUNIXINCLUDE) {
|
||||
$project{"WXUNIX_HEADERS"} .= "unix/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
|
||||
$project{"WXPROTOCOL_HEADERS"} .= "protocol/" . $file . " "
|
||||
}
|
||||
#$}
|
||||
#
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
||||
|
||||
#
|
||||
# File: makefile.unx
|
||||
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
||||
# Created: 1993
|
||||
# Updated: 1999
|
||||
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
||||
# Copyright:(c) 1999, Vadim Zeitlin
|
||||
# Copyright:(c) 1999, Robert Roebling
|
||||
#
|
||||
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
|
||||
|
||||
###################################################################
|
||||
|
||||
include ./src/make.env
|
||||
|
||||
############## override make.env for PIC ##########################
|
||||
|
||||
# Clears all default suffixes
|
||||
.SUFFIXES: .o .cpp .c .cxx
|
||||
|
||||
.c.o :
|
||||
$(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
|
||||
|
||||
.cpp.o :
|
||||
$(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
|
||||
|
||||
.cxx.o :
|
||||
$(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
|
||||
|
||||
########################### Paths #################################
|
||||
|
||||
srcdir = @srcdir@
|
||||
|
||||
VP1 = @top_srcdir@/src/common
|
||||
VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
|
||||
VP3 = @top_srcdir@/src/motif/xmcombo
|
||||
VP4 = @top_srcdir@/src/generic
|
||||
VP5 = @top_srcdir@/src/unix
|
||||
VP6 = @top_srcdir@/src/html
|
||||
VP7 = @top_srcdir@/src/png
|
||||
VP8 = @top_srcdir@/src/jpeg
|
||||
VP9 = @top_srcdir@/src/zlib
|
||||
|
||||
VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9)
|
||||
|
||||
top_srcdir = @top_srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = .
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
# my autoconf doesn't set this
|
||||
#INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
# maybe do an additional chmod if needed?
|
||||
INSTALL_SCRIPT = @INSTALL@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
############################# Dirs #################################
|
||||
|
||||
WXDIR = $(top_srcdir)
|
||||
|
||||
# Subordinate library possibilities
|
||||
|
||||
SRCDIR = $(WXDIR)/src
|
||||
GENDIR = $(WXDIR)/src/generic
|
||||
COMMDIR = $(WXDIR)/src/common
|
||||
HTMLDIR = $(WXDIR)/src/html
|
||||
UNIXDIR = $(WXDIR)/src/unix
|
||||
PNGDIR = $(WXDIR)/src/png
|
||||
JPEGDIR = $(WXDIR)/src/jpeg
|
||||
ZLIBDIR = $(WXDIR)/src/zlib
|
||||
GTKDIR = $(WXDIR)/src/gtk
|
||||
MOTIFDIR = $(WXDIR)/src/motif
|
||||
MSWDIR = $(WXDIR)/src/msw
|
||||
INCDIR = $(WXDIR)/include
|
||||
SAMPDIR = $(WXDIR)/samples
|
||||
UTILSDIR = $(WXDIR)/utils
|
||||
MISCDIR = $(WXDIR)/misc
|
||||
|
||||
DOCDIR = $(WXDIR)/docs
|
||||
|
||||
########################## Archive name ###############################
|
||||
|
||||
WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
|
||||
DISTDIR = ./_dist_dir/wx$(TOOLKIT)
|
||||
|
||||
############################## Files ##################################
|
||||
|
||||
WX_HEADERS = \
|
||||
#$ ExpandList("WX_HEADERS");
|
||||
|
||||
GTK_HEADERS = \
|
||||
#$ ExpandList("WXGTK_HEADERS");
|
||||
|
||||
MOTIF_HEADERS = \
|
||||
#$ ExpandList("WXMOTIF_HEADERS");
|
||||
|
||||
MSW_HEADERS = \
|
||||
#$ ExpandList("WXMSW_HEADERS");
|
||||
|
||||
UNIX_HEADERS = \
|
||||
#$ ExpandList("WXUNIX_HEADERS");
|
||||
|
||||
GENERIC_HEADERS = \
|
||||
#$ ExpandList("WXGENERIC_HEADERS");
|
||||
|
||||
PROTOCOL_HEADERS = \
|
||||
#$ ExpandList("WXPROTOCOL_HEADERS");
|
||||
|
||||
HTML_HEADERS = \
|
||||
#$ ExpandList("WXHTML_HEADERS");
|
||||
|
||||
GTK_GENERICOBJS = \
|
||||
#$ ExpandList("WXGTK_GENERICOBJS");
|
||||
|
||||
GTK_GENERICDEPS = \
|
||||
#$ ExpandList("WXGTK_GENERICDEPS");
|
||||
|
||||
GTK_COMMONOBJS = \
|
||||
parser.o \
|
||||
#$ ExpandList("WXGTK_COMMONOBJS");
|
||||
|
||||
GTK_COMMONDEPS = \
|
||||
parser.d \
|
||||
#$ ExpandList("WXGTK_COMMONDEPS");
|
||||
|
||||
GTK_GUIOBJS = \
|
||||
#$ ExpandList("WXGTK_GUIOBJS");
|
||||
|
||||
GTK_GUIDEPS = \
|
||||
#$ ExpandList("WXGTK_GUIDEPS");
|
||||
|
||||
MOTIF_GENERICOBJS = \
|
||||
#$ ExpandList("WXMOTIF_GENERICOBJS");
|
||||
|
||||
MOTIF_GENERICDEPS = \
|
||||
#$ ExpandList("WXMOTIF_GENERICDEPS");
|
||||
|
||||
MOTIF_COMMONOBJS = \
|
||||
parser.o \
|
||||
#$ ExpandList("WXMOTIF_COMMONOBJS");
|
||||
|
||||
MOTIF_COMMONDEPS = \
|
||||
parser.d \
|
||||
#$ ExpandList("WXMOTIF_COMMONDEPS");
|
||||
|
||||
MOTIF_GUIOBJS = \
|
||||
xmcombo.o \
|
||||
#$ ExpandList("WXMOTIF_GUIOBJS");
|
||||
|
||||
MOTIF_GUIDEPS = \
|
||||
xmcombo.d \
|
||||
#$ ExpandList("WXMOTIF_GUIDEPS");
|
||||
|
||||
MSW_GENERICOBJS = \
|
||||
#$ ExpandList("WXMSW_GENERICOBJS");
|
||||
|
||||
MSW_GENERICDEPS = \
|
||||
#$ ExpandList("WXMSW_GENERICDEPS");
|
||||
|
||||
MSW_COMMONOBJS = \
|
||||
parser.o \
|
||||
#$ ExpandList("WXMSW_COMMONOBJS");
|
||||
|
||||
MSW_COMMONDEPS = \
|
||||
parser.d \
|
||||
#$ ExpandList("WXMSW_COMMONDEPS");
|
||||
|
||||
MSW_GUIOBJS = \
|
||||
#$ ExpandList("WXMSW_GUIOBJS");
|
||||
|
||||
MSW_GUIDEPS = \
|
||||
#$ ExpandList("WXMSW_GUIDEPS");
|
||||
|
||||
HTMLOBJS = \
|
||||
#$ ExpandList("WXHTMLOBJS");
|
||||
|
||||
HTMLDEPS = \
|
||||
#$ ExpandList("WXHTMLDEPS");
|
||||
|
||||
UNIXOBJS = \
|
||||
#$ ExpandList("WXUNIXOBJS");
|
||||
|
||||
UNIXDEPS = \
|
||||
#$ ExpandList("WXUNIXDEPS");
|
||||
|
||||
ZLIBOBJS = \
|
||||
adler32.o \
|
||||
compress.o \
|
||||
crc32.o \
|
||||
gzio.o \
|
||||
uncompr.o \
|
||||
deflate.o \
|
||||
trees.o \
|
||||
zutil.o \
|
||||
inflate.o \
|
||||
infblock.o \
|
||||
inftrees.o \
|
||||
infcodes.o \
|
||||
infutil.o \
|
||||
inffast.o
|
||||
|
||||
PNGOBJS = \
|
||||
png.o \
|
||||
pngread.o \
|
||||
pngrtran.o \
|
||||
pngrutil.o \
|
||||
pngpread.o \
|
||||
pngtrans.o \
|
||||
pngwrite.o \
|
||||
pngwtran.o \
|
||||
pngwutil.o \
|
||||
pngerror.o \
|
||||
pngmem.o \
|
||||
pngwio.o \
|
||||
pngrio.o \
|
||||
pngget.o \
|
||||
pngset.o
|
||||
|
||||
|
||||
JPEGOBJS = \
|
||||
jcomapi.o \
|
||||
jutils.o \
|
||||
jerror.o \
|
||||
jmemmgr.o \
|
||||
jmemnobs.o \
|
||||
jcapimin.o \
|
||||
jcapistd.o \
|
||||
jctrans.o \
|
||||
jcparam.o \
|
||||
jdatadst.o \
|
||||
jcinit.o \
|
||||
jcmaster.o \
|
||||
jcmarker.o \
|
||||
jcmainct.o \
|
||||
jcprepct.o \
|
||||
jccoefct.o \
|
||||
jccolor.o \
|
||||
jcsample.o \
|
||||
jchuff.o \
|
||||
jcphuff.o \
|
||||
jcdctmgr.o \
|
||||
jfdctfst.o \
|
||||
jfdctflt.o \
|
||||
jfdctint.o \
|
||||
jdapimin.o \
|
||||
jdapistd.o \
|
||||
jdtrans.o \
|
||||
jdatasrc.o \
|
||||
jdmaster.o \
|
||||
jdinput.o \
|
||||
jdmarker.o \
|
||||
jdhuff.o \
|
||||
jdphuff.o \
|
||||
jdmainct.o \
|
||||
jdcoefct.o \
|
||||
jdpostct.o \
|
||||
jddctmgr.o \
|
||||
jidctfst.o \
|
||||
jidctflt.o \
|
||||
jidctint.o \
|
||||
jidctred.o \
|
||||
jdsample.o \
|
||||
jdcolor.o \
|
||||
jquant1.o \
|
||||
jquant2.o \
|
||||
jdmerge.o
|
||||
|
||||
|
||||
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
|
||||
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
|
||||
|
||||
DEPFILES = $(@GUIDEPS@) $(@COMMONDEPS@) $(@GENERICDEPS@) $(UNIXDEPS) $(HTMLDEPS)
|
||||
|
||||
HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
|
||||
$(GENERIC_HEADERS) $(WX_HEADERS)
|
||||
|
||||
all: @WX_CREATE_LINKS@
|
||||
|
||||
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
|
||||
@$(INSTALL) -d ./lib
|
||||
$(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
|
||||
$(RANLIB) ./lib/$@
|
||||
|
||||
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
|
||||
@$(INSTALL) -d ./lib
|
||||
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
|
||||
|
||||
CREATE_LINKS: @WX_TARGET_LIBRARY@
|
||||
@$(RM) ./lib/@WX_LIBRARY_LINK1@
|
||||
@$(RM) ./lib/@WX_LIBRARY_LINK2@
|
||||
@$(RM) ./lib/@WX_LIBRARY_LINK3@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
|
||||
|
||||
CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
|
||||
$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
||||
$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
||||
$(RM) $(libdir)/@WX_LIBRARY_LINK3@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
|
||||
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
|
||||
|
||||
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
|
||||
|
||||
parser.o: parser.c lexer.c
|
||||
$(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
|
||||
|
||||
parser.c: $(COMMDIR)/parser.y lexer.c
|
||||
$(YACC) $(COMMDIR)/parser.y
|
||||
@sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
|
||||
sed -e "s/BUFSIZ/5000/g" | \
|
||||
sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
|
||||
sed -e "s/yy/PROIO_yy/g" | \
|
||||
sed -e "s/input/PROIO_input/g" | \
|
||||
sed -e "s/unput/PROIO_unput/g" > parser.c
|
||||
@$(RM) y.tab.c
|
||||
|
||||
lexer.c: $(COMMDIR)/lexer.l
|
||||
$(LEX) $(COMMDIR)/lexer.l
|
||||
@sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
|
||||
sed -e "s/yy/PROIO_yy/g" | \
|
||||
sed -e "s/input/PROIO_input/g" | \
|
||||
sed -e "s/unput/PROIO_unput/g" > lexer.c
|
||||
@$(RM) lex.yy.c
|
||||
|
||||
-include $(DEPFILES)
|
||||
|
||||
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
|
||||
@echo " "
|
||||
@echo " Installing wxWindows..."
|
||||
@echo " "
|
||||
|
||||
$(INSTALL) -d $(prefix)
|
||||
$(INSTALL) -d $(bindir)
|
||||
$(INSTALL) -d $(libdir)
|
||||
$(INSTALL) -d $(datadir)
|
||||
|
||||
$(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
|
||||
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
|
||||
|
||||
$(INSTALL) -d $(libdir)/wx
|
||||
$(INSTALL) -d $(libdir)/wx/include
|
||||
$(INSTALL) -d $(libdir)/wx/include/wx
|
||||
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
|
||||
$(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
|
||||
|
||||
$(INSTALL) -d $(datadir)/wx
|
||||
$(INSTALL) -d $(datadir)/wx/afm
|
||||
$(INSTALL) -d $(datadir)/wx/gs_afm
|
||||
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
|
||||
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
|
||||
|
||||
$(INSTALL) -d $(includedir)/wx
|
||||
$(INSTALL) -d $(includedir)/wx/msw
|
||||
$(INSTALL) -d $(includedir)/wx/gtk
|
||||
$(INSTALL) -d $(includedir)/wx/motif
|
||||
$(INSTALL) -d $(includedir)/wx/html
|
||||
$(INSTALL) -d $(includedir)/wx/protocol
|
||||
$(INSTALL) -d $(includedir)/wx/unix
|
||||
$(INSTALL) -d $(includedir)/wx/generic
|
||||
@list='$(HEADERS)'; for p in $$list; do \
|
||||
$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
|
||||
echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
|
||||
done
|
||||
|
||||
write_message:
|
||||
@echo " "
|
||||
@echo " The installation of wxWindows is finished. On certain"
|
||||
@echo " platforms (e.g. Linux, Solaris) you'll now have to run"
|
||||
@echo " ldconfig if you installed a shared library."
|
||||
@echo " "
|
||||
@echo " wxWindows comes with no guarantees and doesn't claim"
|
||||
@echo " to be suitable for any purpose."
|
||||
@echo " "
|
||||
@echo " Read the wxWindows Licence on licencing conditions."
|
||||
@echo " "
|
||||
|
||||
install: preinstall @WX_CREATE_INSTALLED_LINKS@ write_message
|
||||
|
||||
uninstall:
|
||||
@echo " "
|
||||
@echo " Uninstalling wxWindows..."
|
||||
@echo " "
|
||||
@echo " Removing library..."
|
||||
@$(RM) $(libdir)/@WX_TARGET_LIBRARY@
|
||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK3@
|
||||
@echo " Removing helper files..."
|
||||
@$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
|
||||
@$(RM) $(bindir)/wx-config
|
||||
@$(RM) $(datadir)/wx/afm/*
|
||||
@$(RM) $(datadir)/wx/gs_afm/*
|
||||
@rmdir $(datadir)/wx/gs_afm
|
||||
@rmdir $(datadir)/wx/afm
|
||||
@rmdir $(datadir)/wx
|
||||
@echo " Removing headers..."
|
||||
@list='$(HEADERS)'; for p in $$list; do \
|
||||
$(RM) $(includedir)/wx/$$p; \
|
||||
done
|
||||
@echo " Removing directories..."
|
||||
@if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
|
||||
@if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
|
||||
@if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
|
||||
@if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
|
||||
@if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
|
||||
@if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
|
||||
@if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
|
||||
@if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
|
||||
@if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
|
||||
@if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
|
||||
@if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
|
||||
@if test -d $(includedir)/wx; then rmdir $(includedir)/wx; fi
|
||||
|
||||
ALL_DIST:
|
||||
mkdir _dist_dir
|
||||
mkdir $(DISTDIR)
|
||||
cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
|
||||
cp $(WXDIR)/configure $(DISTDIR)
|
||||
cp $(WXDIR)/config.sub $(DISTDIR)
|
||||
cp $(WXDIR)/config.guess $(DISTDIR)
|
||||
cp $(WXDIR)/install-sh $(DISTDIR)
|
||||
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
||||
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
||||
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
||||
cp $(WXDIR)/Makefile.in $(DISTDIR)
|
||||
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
||||
cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
|
||||
cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||
cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
|
||||
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
|
||||
mkdir $(DISTDIR)/include
|
||||
mkdir $(DISTDIR)/include/wx
|
||||
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
||||
mkdir $(DISTDIR)/include/wx/generic
|
||||
mkdir $(DISTDIR)/include/wx/html
|
||||
mkdir $(DISTDIR)/include/wx/unix
|
||||
mkdir $(DISTDIR)/include/wx/protocol
|
||||
cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
|
||||
cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
|
||||
cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
|
||||
cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
|
||||
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
|
||||
cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
|
||||
cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
|
||||
mkdir $(DISTDIR)/src
|
||||
mkdir $(DISTDIR)/src/common
|
||||
mkdir $(DISTDIR)/src/generic
|
||||
mkdir $(DISTDIR)/src/html
|
||||
mkdir $(DISTDIR)/src/html/bitmaps
|
||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||
mkdir $(DISTDIR)/src/unix
|
||||
mkdir $(DISTDIR)/src/png
|
||||
mkdir $(DISTDIR)/src/jpeg
|
||||
mkdir $(DISTDIR)/src/zlib
|
||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
||||
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
|
||||
cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
|
||||
cp $(COMMDIR)/*.l $(DISTDIR)/src/common
|
||||
cp $(COMMDIR)/*.h $(DISTDIR)/src/common
|
||||
cp $(COMMDIR)/*.y $(DISTDIR)/src/common
|
||||
cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
|
||||
cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
|
||||
cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
|
||||
cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
|
||||
cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
|
||||
cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
|
||||
cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
|
||||
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
|
||||
cp $(PNGDIR)/*.c $(DISTDIR)/src/png
|
||||
cp $(PNGDIR)/README $(DISTDIR)/src/png
|
||||
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||
cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
||||
cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
|
||||
cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
|
||||
cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
|
||||
|
||||
GTK_DIST:
|
||||
cp $(WXDIR)/wxGTK.spec $(DISTDIR)
|
||||
cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
|
||||
cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
|
||||
cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
||||
cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
||||
cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
||||
|
||||
MOTIF_DIST:
|
||||
cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
|
||||
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
||||
cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
|
||||
cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
|
||||
mkdir $(DISTDIR)/src/motif/xmcombo
|
||||
cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
|
||||
cp $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
|
||||
cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
|
||||
|
||||
MSW_DIST:
|
||||
cp $(WXDIR)/wxWINE.spec $(DISTDIR)
|
||||
cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
|
||||
cp $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
|
||||
cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
|
||||
cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
|
||||
cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
|
||||
cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
|
||||
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
|
||||
cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
|
||||
mkdir $(DISTDIR)/src/msw/ole
|
||||
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
|
||||
|
||||
SAMPLES_DIST:
|
||||
mkdir $(DISTDIR)/samples
|
||||
cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
|
||||
mkdir $(DISTDIR)/samples/bombs
|
||||
cp $(SAMPDIR)/bombs/Makefile.in $(DISTDIR)/samples/bombs
|
||||
cp $(SAMPDIR)/bombs/*.cpp $(DISTDIR)/samples/bombs
|
||||
cp $(SAMPDIR)/bombs/*.h $(DISTDIR)/samples/bombs
|
||||
cp $(SAMPDIR)/bombs/*.xpm $(DISTDIR)/samples/bombs
|
||||
cp $(SAMPDIR)/bombs/readme.txt $(DISTDIR)/samples/bombs
|
||||
mkdir $(DISTDIR)/samples/caret
|
||||
cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
|
||||
cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
|
||||
cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
|
||||
mkdir $(DISTDIR)/samples/config
|
||||
cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
|
||||
cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
|
||||
mkdir $(DISTDIR)/samples/controls
|
||||
mkdir $(DISTDIR)/samples/controls/icons
|
||||
cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
|
||||
cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
|
||||
cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
|
||||
cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
|
||||
mkdir $(DISTDIR)/samples/checklst
|
||||
cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
|
||||
cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
|
||||
cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
|
||||
mkdir $(DISTDIR)/samples/printing
|
||||
cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
|
||||
cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
|
||||
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
|
||||
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
|
||||
cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
|
||||
mkdir $(DISTDIR)/samples/dialogs
|
||||
cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
|
||||
cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
|
||||
cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
|
||||
cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
|
||||
mkdir $(DISTDIR)/samples/dnd
|
||||
cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
|
||||
cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
|
||||
cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
|
||||
cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
|
||||
cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
|
||||
mkdir $(DISTDIR)/samples/docview
|
||||
cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
|
||||
cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
|
||||
cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
|
||||
cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
|
||||
mkdir $(DISTDIR)/samples/docvwmdi
|
||||
cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
|
||||
cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
|
||||
cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
|
||||
mkdir $(DISTDIR)/samples/drawing
|
||||
cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
|
||||
cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
|
||||
cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
|
||||
mkdir $(DISTDIR)/samples/dynamic
|
||||
cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
|
||||
cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
|
||||
cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
|
||||
mkdir $(DISTDIR)/samples/html
|
||||
cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
|
||||
mkdir $(DISTDIR)/samples/html/about
|
||||
cp $(SAMPDIR)/html/about/Makefile.in $(DISTDIR)/samples/html/about
|
||||
cp $(SAMPDIR)/html/about/*.cpp $(DISTDIR)/samples/html/about
|
||||
mkdir $(DISTDIR)/samples/html/about/data
|
||||
cp $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
|
||||
cp $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
|
||||
mkdir $(DISTDIR)/samples/html/help
|
||||
cp $(SAMPDIR)/html/help/Makefile.in $(DISTDIR)/samples/html/help
|
||||
cp $(SAMPDIR)/html/help/*.cpp $(DISTDIR)/samples/html/help
|
||||
mkdir $(DISTDIR)/samples/html/help/helpfiles
|
||||
cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
||||
mkdir $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing
|
||||
cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
||||
mkdir $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
|
||||
cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
|
||||
mkdir $(DISTDIR)/samples/html/virtual
|
||||
cp $(SAMPDIR)/html/virtual/Makefile.in $(DISTDIR)/samples/html/virtual
|
||||
cp $(SAMPDIR)/html/virtual/*.cpp $(DISTDIR)/samples/html/virtual
|
||||
cp $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
|
||||
mkdir $(DISTDIR)/samples/html/widget
|
||||
cp $(SAMPDIR)/html/widget/Makefile.in $(DISTDIR)/samples/html/widget
|
||||
cp $(SAMPDIR)/html/widget/*.cpp $(DISTDIR)/samples/html/widget
|
||||
cp $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
|
||||
mkdir $(DISTDIR)/samples/html/zip
|
||||
cp $(SAMPDIR)/html/zip/Makefile.in $(DISTDIR)/samples/html/zip
|
||||
cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
|
||||
cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
|
||||
cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
|
||||
mkdir $(DISTDIR)/samples/image
|
||||
cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
|
||||
cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
|
||||
cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
|
||||
mkdir $(DISTDIR)/samples/layout
|
||||
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
|
||||
cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
|
||||
cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
|
||||
mkdir $(DISTDIR)/samples/listctrl
|
||||
cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
|
||||
cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
|
||||
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
||||
mkdir $(DISTDIR)/samples/listctrl/bitmap
|
||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
||||
mkdir $(DISTDIR)/samples/mdi
|
||||
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
||||
cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
|
||||
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
||||
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
||||
mkdir $(DISTDIR)/samples/minifram
|
||||
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
||||
cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
|
||||
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
||||
mkdir $(DISTDIR)/samples/minifram/bitmap
|
||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
||||
mkdir $(DISTDIR)/samples/minimal
|
||||
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
||||
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
||||
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
||||
mkdir $(DISTDIR)/samples/notebook
|
||||
cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
|
||||
cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
|
||||
cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
|
||||
mkdir $(DISTDIR)/samples/proplist
|
||||
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
|
||||
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
|
||||
cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
|
||||
mkdir $(DISTDIR)/samples/sashtest
|
||||
cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
|
||||
cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
|
||||
cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
|
||||
mkdir $(DISTDIR)/samples/scroll
|
||||
cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
|
||||
cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
|
||||
mkdir $(DISTDIR)/samples/splitter
|
||||
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
||||
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
||||
mkdir $(DISTDIR)/samples/text
|
||||
cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
|
||||
cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
|
||||
cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
|
||||
mkdir $(DISTDIR)/samples/thread
|
||||
cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
|
||||
cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
|
||||
mkdir $(DISTDIR)/samples/toolbar
|
||||
cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
|
||||
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
||||
cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
|
||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
||||
mkdir $(DISTDIR)/samples/toolbar/bitmap
|
||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
|
||||
mkdir $(DISTDIR)/samples/treectrl
|
||||
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
||||
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
||||
cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
|
||||
cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
|
||||
mkdir $(DISTDIR)/samples/typetest
|
||||
cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
|
||||
cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
|
||||
cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
|
||||
cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
|
||||
mkdir $(DISTDIR)/samples/validate
|
||||
cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
|
||||
cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
|
||||
cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
|
||||
cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
|
||||
mkdir $(DISTDIR)/samples/wizard
|
||||
cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
|
||||
cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
|
||||
cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
|
||||
mkdir $(DISTDIR)/samples/wxpoem
|
||||
cp $(SAMPDIR)/wxpoem/Makefile.in $(DISTDIR)/samples/wxpoem
|
||||
cp $(SAMPDIR)/wxpoem/*.cpp $(DISTDIR)/samples/wxpoem
|
||||
cp $(SAMPDIR)/wxpoem/*.xpm $(DISTDIR)/samples/wxpoem
|
||||
cp $(SAMPDIR)/wxpoem/*.dat $(DISTDIR)/samples/wxpoem
|
||||
cp $(SAMPDIR)/wxpoem/*.txt $(DISTDIR)/samples/wxpoem
|
||||
mkdir $(DISTDIR)/samples/wxsocket
|
||||
cp $(SAMPDIR)/wxsocket/Makefile.in $(DISTDIR)/samples/wxsocket
|
||||
cp $(SAMPDIR)/wxsocket/*.cpp $(DISTDIR)/samples/wxsocket
|
||||
cp $(SAMPDIR)/wxsocket/*.xpm $(DISTDIR)/samples/wxsocket
|
||||
|
||||
UTILS_DIST:
|
||||
mkdir $(DISTDIR)/utils
|
||||
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
||||
mkdir $(DISTDIR)/utils/wxMMedia2
|
||||
cp $(UTILSDIR)/wxMMedia2/Makefile.in $(DISTDIR)/utils/wxMMedia2
|
||||
mkdir $(DISTDIR)/utils/wxMMedia2/lib
|
||||
cp $(UTILSDIR)/wxMMedia2/lib/Makefile.in $(DISTDIR)/utils/wxMMedia2/lib
|
||||
cp $(UTILSDIR)/wxMMedia2/lib/*.h $(DISTDIR)/utils/wxMMedia2/lib
|
||||
cp $(UTILSDIR)/wxMMedia2/lib/*.cpp $(DISTDIR)/utils/wxMMedia2/lib
|
||||
cp $(UTILSDIR)/wxMMedia2/lib/*.def $(DISTDIR)/utils/wxMMedia2/lib
|
||||
mkdir $(DISTDIR)/utils/wxMMedia2/sample
|
||||
cp $(UTILSDIR)/wxMMedia2/sample/Makefile.in $(DISTDIR)/utils/wxMMedia2/sample
|
||||
cp $(UTILSDIR)/wxMMedia2/sample/*.cpp $(DISTDIR)/utils/wxMMedia2/sample
|
||||
mkdir $(DISTDIR)/utils/glcanvas
|
||||
cp $(UTILSDIR)/glcanvas/Makefile.in $(DISTDIR)/utils/glcanvas
|
||||
cp $(UTILSDIR)/glcanvas/docs/notes.txt $(DISTDIR)/utils/glcanvas/NOTES.txt
|
||||
mkdir $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
|
||||
cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/Makefile.in $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
|
||||
cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.h $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
|
||||
cp $(UTILSDIR)/glcanvas/$(TOOLKITDIR)/*.cpp $(DISTDIR)/utils/glcanvas/$(TOOLKITDIR)
|
||||
|
||||
MISC_DIST:
|
||||
mkdir $(DISTDIR)/misc
|
||||
mkdir $(DISTDIR)/misc/afm
|
||||
cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
|
||||
mkdir $(DISTDIR)/misc/gs_afm
|
||||
cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
|
||||
|
||||
dist: ALL_DIST @GUIDIST@ SAMPLES_DIST UTILS_DIST MISC_DIST
|
||||
cd _dist_dir; tar ch wx$(TOOLKIT) | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
|
||||
$(RM) -r _dist_dir
|
||||
|
||||
clean:
|
||||
$(RM) *.o
|
||||
$(RM) *.d
|
||||
$(RM) parser.c
|
||||
$(RM) lexer.c
|
||||
$(RM) ./lib/*
|
||||
|
||||
cleanall: clean
|
643
distrib/msw/tmake/vc.t
Normal file
@@ -0,0 +1,643 @@
|
||||
#!#############################################################################
|
||||
#! File: vc.t
|
||||
#! Purpose: tmake template file from which makefile.vc is generated by running
|
||||
#! tmake -t vc wxwin.pro -o makefile.vc
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
my $tag = "";
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
|
||||
$tag = "WXNONESSENTIALOBJS";
|
||||
}
|
||||
else {
|
||||
$tag = "WXGENERICOBJS";
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{$tag} .= "..\\generic\\\$D\\" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\b16\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
next if $wxMSW{$file} =~ /\b16\b/;
|
||||
|
||||
#! OLE files live in a subdir
|
||||
$project{"WXMSWOBJS"} .= '..\msw\\';
|
||||
$project{"WXMSWOBJS"} .= 'ole\\' if $wxMSW{$file} =~ /\bO\b/;
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXMSWOBJS"} .= '$D\\' . $file . " ";
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
next if $wxHTML{$file} =~ /\b16\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXHTMLOBJS"} .= "..\\html\\\$D\\" . $file . " "
|
||||
}
|
||||
|
||||
#$}
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
|
||||
|
||||
# File: makefile.vc
|
||||
# Author: Julian Smart
|
||||
# Created: 1997
|
||||
# Updated:
|
||||
# Copyright: (c) 1997, Julian Smart
|
||||
#
|
||||
# "%W% %G%"
|
||||
#
|
||||
# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
|
||||
# Arguments:
|
||||
#
|
||||
# FINAL=1 argument to nmake to build version with no debugging info.
|
||||
# dll builds a library (wxdll.lib) suitable for creating DLLs
|
||||
#
|
||||
!include <..\makevc.env>
|
||||
|
||||
THISDIR=$(WXWIN)\src\msw
|
||||
|
||||
!if "$(WXMAKINGDLL)" == "1"
|
||||
LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
|
||||
DUMMYOBJ=$D\dummydll.obj
|
||||
!else
|
||||
LIBTARGET=$(WXLIB)
|
||||
DUMMYOBJ=$D\dummy.obj
|
||||
!endif
|
||||
|
||||
# Please set these according to the settings in setup.h, so we can include
|
||||
# the appropriate libraries in wx.lib
|
||||
|
||||
# This one overrides the others, to be consistent with the settings in setup.h
|
||||
MINIMAL_WXWINDOWS_SETUP=0
|
||||
|
||||
PERIPH_LIBS=
|
||||
PERIPH_TARGET=
|
||||
PERIPH_CLEAN_TARGET=
|
||||
|
||||
# These are absolute paths, so that the compiler
|
||||
# generates correct __FILE__ symbols for debugging.
|
||||
# Otherwise you don't be able to double-click on a memory
|
||||
# error to load that file.
|
||||
GENDIR=$(WXDIR)\src\generic
|
||||
COMMDIR=$(WXDIR)\src\common
|
||||
OLEDIR=ole
|
||||
MSWDIR=$(WXDIR)\src\msw
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
HTMLDIR = $(WXDIR)\src\html
|
||||
|
||||
{..\generic}.cpp{..\generic\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS) /Fo$@ /c /Tp $<
|
||||
<<
|
||||
|
||||
{..\common}.cpp{..\common\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS) /Fo$@ /c /Tp $<
|
||||
<<
|
||||
|
||||
{..\common}.c{..\common\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /Fo$@ /c /Tc $<
|
||||
<<
|
||||
|
||||
{..\msw}.cpp{..\msw\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS) /Fo$@ /c /Tp $<
|
||||
<<
|
||||
|
||||
{..\msw}.c{..\msw\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /Fo$@ /c /Tc $<
|
||||
<<
|
||||
|
||||
{..\msw\ole}.cpp{..\msw\ole\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS) /Fo$@ /c /Tp $<
|
||||
<<
|
||||
|
||||
{..\html}.cpp{..\html\$D}.obj:
|
||||
cl @<<
|
||||
$(CPPFLAGS) /Fo$@ /c /Tp $<
|
||||
<<
|
||||
|
||||
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
||||
|
||||
# These are generic things that don't need to be compiled on MSW,
|
||||
# but sometimes it's useful to do so for testing purposes.
|
||||
NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
|
||||
|
||||
COMMONOBJS = \
|
||||
..\common\$D\y_tab.obj \
|
||||
#$ ExpandList("WXCOMMONOBJS");
|
||||
|
||||
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
||||
|
||||
HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
|
||||
|
||||
|
||||
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
|
||||
# Add $(HTMLOBJS) if wanting wxHTML classes
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
|
||||
|
||||
# Normal, static library
|
||||
all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
|
||||
|
||||
dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
|
||||
|
||||
|
||||
test: $(MSWDIR)\$D\wave.obj
|
||||
test2: ..\common\Debug\config.obj
|
||||
|
||||
$D:
|
||||
mkdir $D
|
||||
|
||||
$(COMMDIR)\$D:
|
||||
mkdir $(COMMDIR)\$D
|
||||
|
||||
$(MSWDIR)\$D:
|
||||
mkdir $(MSWDIR)\$D
|
||||
|
||||
$(GENDIR)\$D:
|
||||
mkdir $(GENDIR)\$D
|
||||
|
||||
$(OLEDIR)\$D:
|
||||
mkdir $(OLEDIR)\$D
|
||||
|
||||
$(HTMLDIR)\$D:
|
||||
mkdir $(HTMLDIR)\$D
|
||||
|
||||
# wxWindows library as DLL
|
||||
dll:
|
||||
nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
|
||||
|
||||
cleandll:
|
||||
nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
|
||||
|
||||
# wxWindows + app as DLL. Only affects main.cpp.
|
||||
dllapp:
|
||||
nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
|
||||
|
||||
# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
|
||||
dllnp:
|
||||
nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
|
||||
|
||||
# Use this to make dummy.obj and generate a PCH.
|
||||
# You might use the dll target, then the pch target, in order to
|
||||
# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
|
||||
#
|
||||
# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
|
||||
# are associated with wx.lib. When using a DLL version of wxWindows, however,
|
||||
# the DLL is compiled without a PCH, so you only need it for compiling the app.
|
||||
# In fact headers are compiled differently depending on whether a DLL is being made
|
||||
# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
|
||||
# in each case) so you couldn't use the same PCH.
|
||||
pch:
|
||||
nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
|
||||
|
||||
pch1: dirs $(DUMMYOBJ)
|
||||
echo $(DUMMYOBJ)
|
||||
|
||||
!if "$(WXMAKINGDLL)" != "1"
|
||||
|
||||
### Static library
|
||||
|
||||
$(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
|
||||
-erase $(LIBTARGET)
|
||||
$(implib) @<<
|
||||
-out:$@
|
||||
-machine:$(CPU)
|
||||
$(OBJECTS) $(PERIPH_LIBS)
|
||||
<<
|
||||
|
||||
!else
|
||||
|
||||
### Update the import library
|
||||
|
||||
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
|
||||
$(implib) @<<
|
||||
-machine:$(CPU)
|
||||
-def:wx.def
|
||||
$(DUMMYOBJ) $(OBJECTS)
|
||||
-out:$(WXDIR)\lib\$(WXLIBNAME).lib
|
||||
<<
|
||||
|
||||
# Update the dynamic link library
|
||||
$(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
|
||||
$(link) @<<
|
||||
$(LINKFLAGS)
|
||||
-out:$(WXDIR)\lib\$(WXLIBNAME).dll
|
||||
$(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\xpm.lib $(WXDIR)\lib\jpeg.lib
|
||||
<<
|
||||
|
||||
!endif
|
||||
|
||||
|
||||
########################################################
|
||||
# Windows-specific objects
|
||||
|
||||
$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
|
||||
cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
|
||||
|
||||
$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
|
||||
cl @<<
|
||||
$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
|
||||
<<
|
||||
|
||||
# If taking wxWindows from CVS, setup.h doesn't exist yet.
|
||||
# Actually the 'if not exist setup.h' test doesn't work
|
||||
# (copies the file anyway)
|
||||
# we'll have to comment this rule out.
|
||||
|
||||
# $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
|
||||
# cd "$(WXDIR)"\include\wx\msw
|
||||
# if not exist setup.h copy setup0.h setup.h
|
||||
# cd "$(WXDIR)"\src\msw
|
||||
|
||||
..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
|
||||
<<
|
||||
|
||||
..\common\y_tab.c: ..\common\dosyacc.c
|
||||
copy "..\common"\dosyacc.c "..\common"\y_tab.c
|
||||
|
||||
..\common\lex_yy.c: ..\common\doslex.c
|
||||
copy "..\common"\doslex.c "..\common"\lex_yy.c
|
||||
|
||||
$(OBJECTS): $(WXDIR)/include/wx/setup.h
|
||||
|
||||
..\common\$D\unzip.obj: ..\common\unzip.c
|
||||
cl @<<
|
||||
$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
|
||||
<<
|
||||
|
||||
# Peripheral components
|
||||
|
||||
png:
|
||||
cd $(WXDIR)\src\png
|
||||
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_png:
|
||||
cd $(WXDIR)\src\png
|
||||
nmake -f makefile.vc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_zlib:
|
||||
cd $(WXDIR)\src\zlib
|
||||
nmake -f makefile.vc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
jpeg:
|
||||
cd $(WXDIR)\src\jpeg
|
||||
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_jpeg:
|
||||
cd $(WXDIR)\src\jpeg
|
||||
nmake -f makefile.vc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
xpm:
|
||||
cd $(WXDIR)\src\xpm
|
||||
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_xpm:
|
||||
cd $(WXDIR)\src\xpm
|
||||
nmake -f makefile.vc clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
rcparser:
|
||||
cd $(WXDIR)\utils\rcparser\src
|
||||
nmake -f makefile.vc FINAL=$(FINAL)
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
|
||||
-erase $(LIBTARGET)
|
||||
-erase $(WXDIR)\lib\$(WXLIBNAME).pdb
|
||||
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
|
||||
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
|
||||
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
|
||||
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
|
||||
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
|
||||
-erase *.pdb
|
||||
-erase *.sbr
|
||||
-erase $(WXLIBNAME).pch
|
||||
-erase $(GENDIR)\$D\*.obj
|
||||
-erase $(GENDIR)\$D\*.pdb
|
||||
-erase $(GENDIR)\$D\*.sbr
|
||||
-erase $(COMMDIR)\$D\*.obj
|
||||
-erase $(COMMDIR)\$D\*.pdb
|
||||
-erase $(COMMDIR)\$D\*.sbr
|
||||
-erase $(COMMDIR)\\y_tab.c
|
||||
-erase $(COMMDIR)\lex_yy.c
|
||||
-erase $(MSWDIR)\$D\*.obj
|
||||
-erase $(MSWDIR)\$D\*.sbr
|
||||
-erase $(MSWDIR)\$D\*.pdb
|
||||
-erase $(OLEDIR)\$D\*.obj
|
||||
-erase $(OLEDIR)\$D\*.sbr
|
||||
-erase $(OLEDIR)\$D\*.pdb
|
||||
-erase $(HTMLDIR)\$D\*.obj
|
||||
-erase $(HTMLDIR)\$D\*.sbr
|
||||
-erase $(HTMLDIR)\$D\*.pdb
|
||||
-rmdir $(D)
|
||||
-rmdir ole\$(D)
|
||||
-rmdir ..\generic\$(D)
|
||||
-rmdir ..\common\$(D)
|
||||
-rmdir ..\html\$(D)
|
||||
|
||||
cleanall: clean
|
||||
|
||||
# Making documents
|
||||
docs: allhlp allhtml allpdfrtf
|
||||
alldocs: docs
|
||||
hlp: wxhlp portinghlp
|
||||
wxhlp: $(DOCDIR)/winhelp/wx.hlp
|
||||
prophlp: $(DOCDIR)/winhelp/prop.hlp
|
||||
refhlp: $(DOCDIR)/winhelp/techref.hlp
|
||||
rtf: $(DOCDIR)/winhelp/wx.rtf
|
||||
proprtf: $(DOCDIR)/winhelp/prop.rtf
|
||||
pdfrtf: $(DOCDIR)/pdf/wx.rtf
|
||||
proppdfrtf: $(DOCDIR)/pdf/prop.rtf
|
||||
refpdfrtf: $(DOCDIR)/pdf/techref.rtf
|
||||
html: wxhtml portinghtml
|
||||
wxhtml: $(DOCDIR)\html\wx\wx.htm
|
||||
htmlhelp: $(DOCDIR)\html\wx\wx.chm
|
||||
prophtml: $(DOCDIR)\html\proplist\prop.htm
|
||||
ps: wxps referencps
|
||||
wxps: $(WXDIR)\docs\ps\wx.ps
|
||||
propps: $(WXDIR)\docs\ps\prop.ps
|
||||
referencps: $(WXDIR)\docs\ps\referenc.ps
|
||||
|
||||
portinghtml: $(DOCDIR)\html\porting\port.htm
|
||||
portingrtf: $(DOCDIR)/winhelp/porting.rtf
|
||||
portinghlp: $(DOCDIR)/winhelp/porting.hlp
|
||||
portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
|
||||
portingps: $(WXDIR)\docs\ps\porting.ps
|
||||
|
||||
allhlp: wxhlp portinghlp prophlp
|
||||
cd $(WXDIR)\utils\dialoged\src
|
||||
nmake -f makefile.vc hlp
|
||||
cd $(THISDIR)
|
||||
|
||||
# cd $(WXDIR)\utils\wxhelp\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\tex2rtf\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\wxgraph\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\wxchart\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\wxtree\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\wxbuild\src
|
||||
# nmake -f makefile.vc hlp
|
||||
# cd $(WXDIR)\utils\wxgrid\src
|
||||
# nmake -f makefile.vc hlp
|
||||
|
||||
allhtml: wxhtml portinghtml prophtml
|
||||
cd $(WXDIR)\utils\dialoged\src
|
||||
nmake -f makefile.vc html
|
||||
cd $(THISDIR)
|
||||
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\dialoged\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\hytext\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\wxhelp\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\tex2rtf\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\wxgraph\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\wxchart\src
|
||||
# nmake -f makefile.vc html
|
||||
# cd $(WXDIR)\utils\wxtree\src
|
||||
# nmake -f makefile.vc html
|
||||
|
||||
allps: wxps referencps portingps propps
|
||||
cd $(WXDIR)\utils\dialoged\src
|
||||
nmake -f makefile.vc ps
|
||||
cd $(THISDIR)
|
||||
|
||||
allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
|
||||
cd $(WXDIR)\utils\dialoged\src
|
||||
nmake -f makefile.vc pdfrtf
|
||||
cd $(THISDIR)
|
||||
|
||||
# cd $(WXDIR)\utils\wxhelp\src
|
||||
# nmake -f makefile.vc ps
|
||||
# cd $(WXDIR)\utils\tex2rtf\src
|
||||
# nmake -f makefile.vc ps
|
||||
# cd $(WXDIR)\utils\wxgraph\src
|
||||
# nmake -f makefile.vc ps
|
||||
# cd $(WXDIR)\utils\wxchart\src
|
||||
# nmake -f makefile.vc ps
|
||||
# cd $(WXDIR)\utils\wxtree\src
|
||||
# nmake -f makefile.vc ps
|
||||
# cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
|
||||
cd $(DOCDIR)/latex/wx
|
||||
-erase wx.ph
|
||||
hc wx
|
||||
move wx.hlp $(DOCDIR)\winhelp\wx.hlp
|
||||
move wx.cnt $(DOCDIR)\winhelp\wx.cnt
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
|
||||
cd $(DOCDIR)/latex/porting
|
||||
-erase porting.ph
|
||||
hc porting
|
||||
move porting.hlp $(DOCDIR)\winhelp\porting.hlp
|
||||
move porting.cnt $(DOCDIR)\winhelp\porting.cnt
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
|
||||
cd $(DOCDIR)/latex/proplist
|
||||
-erase prop.ph
|
||||
hc prop
|
||||
move prop.hlp $(DOCDIR)\winhelp\prop.hlp
|
||||
move prop.cnt $(DOCDIR)\winhelp\prop.cnt
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
|
||||
cd $(DOCDIR)/latex/techref
|
||||
-erase techref.ph
|
||||
hc techref
|
||||
move techref.hlp $(DOCDIR)\winhelp\techref.hlp
|
||||
move techref.cnt $(DOCDIR)\winhelp\techref.cnt
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
|
||||
cd $(DOCDIR)\latex\wx
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
|
||||
cd $(DOCDIR)\latex\porting
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/latex/proplist/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
|
||||
cd $(DOCDIR)\latex\proplist
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
|
||||
cd $(DOCDIR)\latex\techref
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
|
||||
cd $(DOCDIR)\latex\wx
|
||||
-copy *.wmf $(DOCDIR)\pdf
|
||||
-copy *.bmp $(DOCDIR)\pdf
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
|
||||
cd $(DOCDIR)\latex\porting
|
||||
-copy *.wmf $(DOCDIR)\pdf
|
||||
-copy *.bmp $(DOCDIR)\pdf
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
|
||||
cd $(DOCDIR)\latex\proplist
|
||||
-copy *.wmf $(DOCDIR)\pdf
|
||||
-copy *.bmp $(DOCDIR)\pdf
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
|
||||
cd $(DOCDIR)\latex\techref
|
||||
-copy *.wmf $(DOCDIR)\pdf
|
||||
-copy *.bmp $(DOCDIR)\pdf
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
|
||||
cd $(DOCDIR)\latex\wx
|
||||
-mkdir $(DOCDIR)\html\wx
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
|
||||
-erase $(DOCDIR)\html\wx\*.con
|
||||
-erase $(DOCDIR)\html\wx\*.ref
|
||||
-erase $(DOCDIR)\latex\wx\*.con
|
||||
-erase $(DOCDIR)\latex\wx\*.ref
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
|
||||
cd $(DOCDIR)\html\wx
|
||||
-hhc wx.hhp
|
||||
cd $(THISDIR)
|
||||
|
||||
|
||||
$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
|
||||
cd $(DOCDIR)\latex\porting
|
||||
-mkdir $(DOCDIR)\html\porting
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
|
||||
-erase $(DOCDIR)\html\porting\*.con
|
||||
-erase $(DOCDIR)\html\porting\*.ref
|
||||
-erase $(DOCDIR)\latex\porting\*.con
|
||||
-erase $(DOCDIR)\latex\porting\*.ref
|
||||
cd $(THISDIR)
|
||||
|
||||
$(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex
|
||||
cd $(DOCDIR)\latex\proplist
|
||||
-mkdir $(DOCDIR)\html\proplist
|
||||
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
|
||||
-erase $(DOCDIR)\html\proplist\*.con
|
||||
-erase $(DOCDIR)\html\proplist\*.ref
|
||||
-erase $(DOCDIR)\latex\proplist\*.con
|
||||
-erase $(DOCDIR)\latex\proplist\*.ref
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
|
||||
cd $(WXDIR)\docs\latex\wx
|
||||
-latex manual
|
||||
-latex manual
|
||||
-makeindx manual
|
||||
-bibtex manual
|
||||
-latex manual
|
||||
-latex manual
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
|
||||
cd $(WXDIR)\docs\latex\porting
|
||||
-latex porting
|
||||
-latex porting
|
||||
-makeindx porting
|
||||
-bibtex porting
|
||||
-latex porting
|
||||
-latex porting
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
|
||||
cd $(WXDIR)\docs\latex\wx
|
||||
-dvips32 -o wx.ps manual
|
||||
move wx.ps $(WXDIR)\docs\ps\wx.ps
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
|
||||
cd $(WXDIR)\docs\latex\porting
|
||||
-dvips32 -o porting.ps porting
|
||||
move porting.ps $(WXDIR)\docs\ps\porting.ps
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
|
||||
cd $(WXDIR)\docs\latex\wx
|
||||
-latex referenc
|
||||
-latex referenc
|
||||
-makeindx referenc
|
||||
-bibtex referenc
|
||||
-latex referenc
|
||||
-latex referenc
|
||||
cd $(THISDIR)
|
||||
|
||||
$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
|
||||
cd $(WXDIR)\docs\latex\wx
|
||||
-dvips32 -o referenc.ps referenc
|
||||
move referenc.ps $(WXDIR)\docs\ps\referenc.ps
|
||||
cd $(THISDIR)
|
||||
|
||||
# In order to force document reprocessing
|
||||
touchmanual:
|
||||
-touch $(WXDIR)\docs\latex\wx\manual.tex
|
||||
|
||||
updatedocs: touchmanual alldocs
|
||||
|
||||
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
|
||||
# Office StartUp folder, and PDFMaker should be installed.
|
||||
updatepdf: # touchmanual pdfrtf
|
||||
start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
|
||||
|
||||
|
||||
MFTYPE=vc
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
||||
|
152
distrib/msw/tmake/vc6.t
Normal file
@@ -0,0 +1,152 @@
|
||||
#!#############################################################################
|
||||
#! File: vc6.t
|
||||
#! Purpose: tmake template file from which wxWindows.dsp is generated by running
|
||||
#! tmake -t vc6 wxwin.pro -o wxWindows.dsp
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
|
||||
$project{"WXGENERICSRCS"} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\b16\b/;
|
||||
|
||||
my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
|
||||
$project{$tag} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
next if $wxMSW{$file} =~ /\b16\b/;
|
||||
|
||||
my $tag = $wxMSW{$file} =~ /\bO\b/ ? "WXOLESRCS" : "WXMSWSRCS";
|
||||
$project{$tag} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
next if $wxHTML{$file} =~ /\b16\b/;
|
||||
$project{"WXHTMLSRCS"} .= $file . " "
|
||||
}
|
||||
#$}
|
||||
# Microsoft Developer Studio Project File - Name="wxWindows" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=wxWindows - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "wxWindows.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "wxWindows.mak" CFG="wxWindows - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "wxWindows - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "wxWindows - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "wxWindows - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /Zi /O2 /I "$(wx)\include" /I "$(wx)\src\zlib" /D "NDEBUG" /D WIN95=1 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN32__" /Yu"wx/wxprec.h" /FD /c
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /W4 /Zi /Od /I "$(wx)\include" /I "$(wx)\src\zlib" /D "_DEBUG" /D DEBUG=1 /D WXDEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WIN32__" /D "__WXMSW__" /Fr /Yu"wx/wxprec.h" /FD /c
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo /o"lib/wxWindows.bsc"
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "wxWindows - Win32 Release"
|
||||
# Name "wxWindows - Win32 Debug"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\src\msw\dummy.cpp
|
||||
# ADD CPP /Yc"wx/wxprec.h"
|
||||
# End Source File
|
||||
#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n");
|
||||
#$ ExpandGlue("WXOLESRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\ole\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\ole\\", "\n# End Source File\n");
|
||||
#$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\src\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\generic\\", "\n# End Source File\n");
|
||||
#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n");
|
||||
#$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
|
||||
#$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\src\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\html\\", "\n# End Source File\n");
|
||||
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\src\common\y_tab.c
|
||||
|
||||
!IF "$(CFG)" == "wxWindows - Win32 Release"
|
||||
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
|
||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
|
||||
|
||||
# ADD CPP /W1
|
||||
# SUBTRACT CPP /YX /Yc /Yu
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
326
distrib/msw/tmake/wat.t
Normal file
@@ -0,0 +1,326 @@
|
||||
#!#############################################################################
|
||||
#! File: wat.t
|
||||
#! Purpose: tmake template file from which makefile.wat is generated by running
|
||||
#! tmake -t wat wxwin.pro -o makefile.wat
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric and %wxMSW hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! now transform these hashes into $project tags
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
my $tag = "";
|
||||
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
|
||||
$tag = "WXNONESSENTIALOBJS";
|
||||
}
|
||||
else {
|
||||
$tag = "WXGENERICOBJS";
|
||||
}
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{$tag} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
#! doesn't compile, apparently
|
||||
next if $file =~ /^imagjpeg\./;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXCOMMONOBJS"} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxMSW) {
|
||||
#! these files don't compile
|
||||
next if $file =~ /^pnghand\./;
|
||||
|
||||
next if $wxGeneric{$file} =~ /\b16\b/;
|
||||
|
||||
$file =~ s/cp?p?$/obj/;
|
||||
$project{"WXMSWOBJS"} .= $file . " "
|
||||
}
|
||||
#$}
|
||||
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T!
|
||||
|
||||
#! an attempt to embed '#' directly in the string somehow didn't work...
|
||||
#$ $text = chr(35) . '!/binb/wmake.exe';
|
||||
|
||||
#
|
||||
# File: makefile.wat
|
||||
# Author: Julian Smart
|
||||
# Created: 1998
|
||||
#
|
||||
# Makefile : Builds wxWindows library for Watcom C++, WIN32
|
||||
|
||||
WXDIR = ..\..
|
||||
|
||||
!include $(WXDIR)\src\makewat.env
|
||||
|
||||
WXLIB = $(WXDIR)\lib
|
||||
|
||||
LIBTARGET = $(WXLIB)\wx.lib
|
||||
DUMMY=dummydll
|
||||
# ODBCLIB = ..\..\contrib\odbc\odbc32.lib
|
||||
|
||||
EXTRATARGETS = xpm png zlib
|
||||
EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib
|
||||
GENDIR=$(WXDIR)\src\generic
|
||||
COMMDIR=$(WXDIR)\src\common
|
||||
XPMDIR=$(WXDIR)\src\xpm
|
||||
OLEDIR=ole
|
||||
MSWDIR=$(WXDIR)\src\msw
|
||||
|
||||
DOCDIR = $(WXDIR)\docs
|
||||
|
||||
GENERICOBJS= #$ ExpandGlue("WXGENERICOBJS", "", " &\n\t")
|
||||
|
||||
# These are generic things that don't need to be compiled on MSW,
|
||||
# but sometimes it's useful to do so for testing purposes.
|
||||
NONESSENTIALOBJS= #$ ExpandGlue("WXNONESSENTIALOBJS", "", " &\n\t")
|
||||
|
||||
COMMONOBJS = &
|
||||
y_tab.obj &
|
||||
#$ ExpandGlue("WXCOMMONOBJS", "", " &\n\t")
|
||||
|
||||
MSWOBJS = #$ ExpandGlue("WXMSWOBJS", "", " &\n\t")
|
||||
|
||||
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
|
||||
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
|
||||
|
||||
all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
|
||||
|
||||
$(LIBTARGET) : $(OBJECTS)
|
||||
%create tmp.lbc
|
||||
@for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
|
||||
wlib /b /c /n /p=512 $^@ @tmp.lbc
|
||||
|
||||
#test : $(OBJECTS)
|
||||
# %create tmp.lbc
|
||||
# @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
|
||||
# wlib /b /c /n /p=512 $^@ @tmp.lbc
|
||||
|
||||
|
||||
clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
|
||||
-erase *.obj
|
||||
-erase $(LIBTARGET)
|
||||
-erase *.pch
|
||||
-erase *.err
|
||||
-erase *.lbc
|
||||
|
||||
cleanall: clean
|
||||
|
||||
#${
|
||||
$_ = $project{"WXMSWOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_ . ': $(';
|
||||
s/\.obj$//;
|
||||
if ( $wxMSW{$_} =~ /\bO\b/ ) {
|
||||
$text .= 'OLEDIR)\\';
|
||||
} else {
|
||||
$text .= 'MSWDIR)\\';
|
||||
}
|
||||
$text .= $_ . ".cpp\n" .
|
||||
' *$(CCC) $(CPPFLAGS) $(IFLAGS) $<' . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
########################################################
|
||||
# Common objects (always compiled)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXCOMMONOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_;
|
||||
s/\.obj$//;
|
||||
$text .= ': $(COMMDIR)\\';
|
||||
$text .= $_ . ".cpp\n" .
|
||||
' *$(CCC) $(CPPFLAGS) $(IFLAGS) $<' . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
|
||||
|
||||
# *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
|
||||
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
|
||||
|
||||
$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
|
||||
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
|
||||
|
||||
########################################################
|
||||
# Generic objects (not always compiled, depending on
|
||||
# whether platforms have native implementations)
|
||||
|
||||
#${
|
||||
$_ = $project{"WXGENERICOBJS"};
|
||||
my @objs = split;
|
||||
foreach (@objs) {
|
||||
$text .= $_;
|
||||
s/\.obj$//;
|
||||
$text .= ': $(GENDIR)\\';
|
||||
$text .= $_ . ".cpp\n" .
|
||||
' *$(CCC) $(CPPFLAGS) $(IFLAGS) $<' . "\n\n";
|
||||
}
|
||||
#$}
|
||||
|
||||
crbuffri.obj: $(XPMDIR)\crbuffri.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crbuffrp.obj: $(XPMDIR)\crbuffrp.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crdatfri.obj: $(XPMDIR)\crdatfri.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crdatfrp.obj: $(XPMDIR)\crdatfrp.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
create.obj: $(XPMDIR)\create.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crifrbuf.obj: $(XPMDIR)\crifrbuf.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crifrdat.obj: $(XPMDIR)\crifrdat.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
crpfrdat.obj: $(XPMDIR)\crpfrdat.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
# TODO: what to do about this clash of filename????
|
||||
#data.obj: $(XPMDIR)\data.c
|
||||
# *$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
hashtab.obj: $(XPMDIR)\hashtab.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
misc.obj: $(XPMDIR)\misc.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
parse.obj: $(XPMDIR)\parse.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
rdftodat.obj: $(XPMDIR)\rdftodat.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
rdftoi.obj: $(XPMDIR)\rdftoi.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
rdftop.obj: $(XPMDIR)\rdftop.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
rgb.obj: $(XPMDIR)\rgb.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
scan.obj: $(XPMDIR)\scan.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
simx.obj: $(XPMDIR)\simx.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
wrffrdat.obj: $(XPMDIR)\wrffrdat.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
wrffri.obj: $(XPMDIR)\wrffri.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
wrffrp.obj: $(XPMDIR)\wrffrp.c
|
||||
*$(CC) $(CPPFLAGS) $(IFLAGS) $<
|
||||
|
||||
OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
|
||||
trees$(O)
|
||||
OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
|
||||
infutil$(O) inffast$(O)
|
||||
|
||||
adler32.obj: adler32.c zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
compress.obj: compress.c zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
crc32.obj: crc32.c zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
gzio.obj: gzio.c zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
|
||||
infcodes.h infutil.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
|
||||
infcodes.h inffast.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
uncompr.obj: uncompr.c zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
zutil.obj: zutil.c zutil.h zlib.h zconf.h
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
xpm: .SYMBOLIC
|
||||
cd $(WXDIR)\src\xpm
|
||||
wmake -f makefile.wat all
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_xpm: .SYMBOLIC
|
||||
cd $(WXDIR)\src\xpm
|
||||
wmake -f makefile.wat clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
png: .SYMBOLIC
|
||||
cd $(WXDIR)\src\png
|
||||
wmake -f makefile.wat all
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_png: .SYMBOLIC
|
||||
cd $(WXDIR)\src\png
|
||||
wmake -f makefile.wat clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
zlib: .SYMBOLIC
|
||||
cd $(WXDIR)\src\zlib
|
||||
wmake -f makefile.wat all
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
clean_zlib: .SYMBOLIC
|
||||
cd $(WXDIR)\src\zlib
|
||||
wmake -f makefile.wat clean
|
||||
cd $(WXDIR)\src\msw
|
||||
|
||||
MFTYPE=wat
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
10
distrib/msw/tmake/wxwin.pro
Normal file
@@ -0,0 +1,10 @@
|
||||
###############################################################################
|
||||
# File: wxwin.pro
|
||||
# Purpose: tmake project file from which makefiles for wxWindows are generated
|
||||
# tmake -t vc wxwin.pro
|
||||
# Author: Vadim Zeitlin
|
||||
# Created: 14.07.99
|
||||
# Version: $Id$
|
||||
###############################################################################
|
||||
|
||||
# this file is empty
|
@@ -3,25 +3,15 @@ user/Makefile
|
||||
user/wxConvert/*.cpp
|
||||
user/wxConvert/*.h
|
||||
user/wxConvert/Makefile
|
||||
user/wxConvert/Makefile.in
|
||||
|
||||
user/wxFile/*.cpp
|
||||
user/wxFile/*.h
|
||||
user/wxFile/Makefile
|
||||
user/wxFile/Makefile.in
|
||||
user/wxFile/*.xpm
|
||||
|
||||
user/wxTest/*.cpp
|
||||
user/wxTest/*.h
|
||||
user/wxTest/Makefile
|
||||
user/wxTest/Makefile.in
|
||||
user/wxTest/*.xpm
|
||||
user/wxTest/*.png
|
||||
|
||||
user/wxLayout/*.cpp
|
||||
user/wxLayout/*.h
|
||||
user/wxLayout/Makefile
|
||||
user/wxLayout/Makefile.in
|
||||
user/wxLayout/*.xpm
|
||||
user/wxLayout/*.png
|
||||
|
||||
|
@@ -20,10 +20,14 @@ cd %src
|
||||
echo Zipping...
|
||||
|
||||
zip32 -@ %dest\wx200gen.zip < %src\distrib\msw\generic.rsp
|
||||
zip32 -@ -u %dest\wx200gen.zip < %src\distrib\msw\makefile.rsp
|
||||
zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp
|
||||
zip32 -@ -u %dest\wx200msw.zip < %src\distrib\msw\makefile.rsp
|
||||
zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp
|
||||
zip32 -@ -u %dest\wx200gtk.zip < %src\distrib\msw\makefile.rsp
|
||||
zip32 -@ %dest\wx200stubs.zip < %src\distrib\msw\stubs.rsp
|
||||
zip32 -@ %dest\wx200mot.zip < %src\distrib\msw\motif.rsp
|
||||
zip32 -@ -u %dest\wx200mot.zip < %src\distrib\msw\makefile.rsp
|
||||
zip32 -@ %dest\wx200user.zip < %src\distrib\msw\user.rsp
|
||||
|
||||
zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp
|
||||
|
@@ -17,6 +17,8 @@ General:
|
||||
|
||||
- Fixed day_of_week bug (Peter Stadel).
|
||||
- Added Inside(), SetLeft/Right/Top/Bottom, +, += to wxRect.
|
||||
- Added wxHTML, an HTML library and widget.
|
||||
- Added ZIP input stream.
|
||||
|
||||
2.1.0, b4, May 9th 1999
|
||||
-----------------------
|
||||
|
@@ -1,4 +1,114 @@
|
||||
|
||||
28th August '99: Ninth wxGTK 2.1 snapshot released
|
||||
|
||||
As the old makefile system didn't work, I trashed it and wrote
|
||||
a new one - mo more GNU. This, of course, caused a lot of people
|
||||
to start sing their song of complaints - any change is a good
|
||||
opportunity to complain, but the effect of the change is that
|
||||
we now have shared library support on Linux and Solaris (and
|
||||
probably others as well) and that the Linux shared library no
|
||||
longer depends on libstdc++, so that we can finally create an
|
||||
RPM that works on different Linux distributions. Also, the
|
||||
Unix make system is now much simpler and directly mirrors its
|
||||
Windows counterparts, making it easier to understand and maintain.
|
||||
As it is independent of the various GNU tools, the requirements
|
||||
for using CVS versions are also much less (any make, any compiler,
|
||||
no other tools).
|
||||
|
||||
Split RPMs into two, one for run-time requirements and one
|
||||
for developement (mostly headers).
|
||||
|
||||
Addition of new layout classes that work like Java's, GTK's
|
||||
or Qt`s - basically, you pack item in a box and let it tell
|
||||
you how much space it needs. These class are called wxSizer
|
||||
and I consider them a great addition as they make true cross-
|
||||
platform dialogs a child's play and are very quick to write
|
||||
and easy to read. Do consider using them.
|
||||
|
||||
Rewritten all dialogs to make use of the new sizers. Also
|
||||
added a new wxFileDialog like Win95 and replaced the generic
|
||||
wxFontDialog with GTK's native font selection dialog - this
|
||||
probably isn't perfect though.
|
||||
|
||||
A few more fixes to wxListCtrl and wxTreeCtrl, implemented
|
||||
more options and modes like the wxMSW version.
|
||||
|
||||
New handler for PNM files. Added CanRead() function to image
|
||||
handlers, updates to GIF handler for preparing the new wxAnimation
|
||||
class. We'll also get a PCX and hopefully a TIFF handler so
|
||||
that we support all common general-purpose file formats I know
|
||||
about. PhotoShop and PhotoPaint images are not general purpose.
|
||||
I also tried to correct a wxImage bug in connection with big-endian
|
||||
vs. little-endian problems, but I have no Sparc to actually test
|
||||
this.
|
||||
|
||||
Inclusion of wxMultiMedia. Can play most sound formats on GTK
|
||||
and MSW and (using xanim on Unix and Win95's MM functions)
|
||||
display a video in a wxWindow. This will probably be moved to
|
||||
the core library.
|
||||
|
||||
Small updates to socket code. The MSW version is still missing.
|
||||
|
||||
Implemented wxBitmapDataObject class.
|
||||
|
||||
Added wxFFileStream using FILE* instead if file desrcriptor.
|
||||
Useful for creating a "cerr" like class as in normal C++.
|
||||
Also added "endl" for use with wxTextStream and fixed a few
|
||||
minor problems with buffered streams etc.
|
||||
|
||||
Corrected Tabbing code in wxPanel and made it work with wxNotebook.
|
||||
|
||||
Small cursor fixes in connection with text control.
|
||||
|
||||
Added experimental wxWizard class. Work in progress.
|
||||
|
||||
A few more minor fixes.
|
||||
|
||||
6th August '99: Eight wxGTK 2.1 snapshot released
|
||||
|
||||
The new makefile system is not able to produce shared libraries
|
||||
on Unix with the exception of Linux - libtool is really great.
|
||||
Therefore, the build system defaults to static libraries on
|
||||
anything but Linux for now.
|
||||
|
||||
Work in wxPen, wxBrush and wxDC to match wxMSW more exactly and
|
||||
to implement missing feature etc.
|
||||
|
||||
Reimplemented radio buttons. The first of a group of such buttons
|
||||
is now marked by having the wxRB_GROUP style.
|
||||
|
||||
Complete redesign of all stream classes, including tests for them
|
||||
in the samples.
|
||||
|
||||
Controls now send the same messages (or more importantly none if
|
||||
changed programmatically) as per wxMSW.
|
||||
|
||||
New implementation of wxSocket using an intermediate library called
|
||||
GSocket. This willl hopefully change in the future.
|
||||
|
||||
Reworked in-place editing of wxListCtrl and wxTreeCtrl.
|
||||
|
||||
Fixed bug reporting two refreshes when scrolling.
|
||||
|
||||
Corrected bug in wxComboBox client data code.
|
||||
|
||||
Corrected reported but unverified bug in BMP loading code.
|
||||
|
||||
Added a few more methods to wxStaticBitmap.
|
||||
|
||||
Integration of wxHTML code in the main library, including wxZIPStream,
|
||||
wxFilesystem, wxHTMLHelpController and others.
|
||||
|
||||
Added a wrapper for ffile() etc functions.
|
||||
|
||||
Updates to wxDynamicLibrary.
|
||||
|
||||
New documentation.
|
||||
|
||||
New version of wxPython, of course.
|
||||
|
||||
Fixed in unenclosed number of other bugs...
|
||||
|
||||
25th June '99: Seventh wxGTK 2.1 snapshot released
|
||||
|
||||
Many fixes to th new makefile system. The last version gave
|
||||
|
@@ -6,22 +6,30 @@
|
||||
* The most simple case
|
||||
-----------------------
|
||||
|
||||
If you compile wxWindows on Unix for the first time and don't like to read
|
||||
If you compile wxWindows on Linux for the first time and don't like to read
|
||||
install instructions just do (in the base dir):
|
||||
|
||||
./configure
|
||||
make
|
||||
su <type root password>
|
||||
make install
|
||||
ldconfig
|
||||
exit
|
||||
> ./configure --with-gtk
|
||||
> make
|
||||
> su <type root password>
|
||||
> make install
|
||||
> ldconfig
|
||||
> exit
|
||||
|
||||
Afterwards you can continue with
|
||||
|
||||
> make
|
||||
> su <type root password>
|
||||
> make install
|
||||
> ldconfig
|
||||
> exit
|
||||
|
||||
If you want to remove wxWindows on Unix you can do this:
|
||||
|
||||
su <type root password>
|
||||
make uninstall
|
||||
ldconfig
|
||||
exit
|
||||
> su <type root password>
|
||||
> make uninstall
|
||||
> ldconfig
|
||||
> exit
|
||||
|
||||
* The expert case
|
||||
-----------------
|
||||
@@ -259,6 +267,13 @@ The following options handle the kind of library you want to build.
|
||||
binary size. Also fewer crashes during the
|
||||
actual compilation...
|
||||
|
||||
--enable-no_deps Enable compilation without creation of
|
||||
dependency information.
|
||||
|
||||
--enable-permissive Enable compilation without creation of
|
||||
giving erros as soon as you compile with
|
||||
Solaris ANSI-defying headers...
|
||||
|
||||
--enable-mem_tracing Add built-in memory tracing.
|
||||
|
||||
--enable-dmalloc Use the dmalloc memory debugger.
|
||||
|
@@ -1,18 +1,15 @@
|
||||
|
||||
Welcome to wxWindows/Gtk 2.1 snapshot 7,
|
||||
Welcome to wxWindows/Gtk 2.1 snapshot 9,
|
||||
|
||||
you have downloaded version 2.1 of the GTK+ 1.2 port of
|
||||
the wxWindows GUI library. This is a developers release
|
||||
and is it not suited for production development. Beware
|
||||
that major changes can happen before a final release.
|
||||
|
||||
Beginning with snapshot 6, wxWindows uses a completely
|
||||
new make file system on Unix that uses GNU automake,
|
||||
GNU autoconf and GNU autoheader. You do not need these
|
||||
programs in order to use the library, but for taking
|
||||
part in its development, they are required. Read the
|
||||
INSTALL.txt file for learning what you can do with the
|
||||
new configure/automake/libtool system.
|
||||
Beginning with snapshot 9, wxWindows uses a completely
|
||||
new make file system on Unix which no longer uses the
|
||||
various GNU tools and I hope that I'll never again have
|
||||
to write any more makefiles.
|
||||
|
||||
More information is available from my homepage at:
|
||||
|
||||
@@ -26,7 +23,8 @@ at Julian Smart's homepage at:
|
||||
|
||||
Information on how to install can be found in the file
|
||||
INSTALL.txt, but if you cannot wait, this should work on
|
||||
many systems (when using GTK 1.0 read the INSTALL.txt):
|
||||
many systems (when using GTK 1.0 or when not using Linux
|
||||
read the INSTALL.txt):
|
||||
|
||||
./configure
|
||||
make
|
||||
|
@@ -3,27 +3,23 @@
|
||||
|
||||
Finalise DnD API.
|
||||
|
||||
Fix bug that thread sample reports about non-finished threads.
|
||||
|
||||
Added wxExpandedImageList to wxTreeControl.
|
||||
|
||||
More testing of Unicode support.
|
||||
|
||||
New wxSizer class implementation.
|
||||
|
||||
Make wxSockets work on all platform.
|
||||
|
||||
Do something about reentry problems with GUI threads
|
||||
when doing asynchronous work (clipboard transfer,
|
||||
DnD, sockets, different threads).
|
||||
|
||||
Add ID based i18n system as a replacement for the
|
||||
unelegant gettext system.
|
||||
|
||||
Add controls to toolbar.
|
||||
Add controls to wxToolbar.
|
||||
|
||||
Add TIFF handler. Someone? (Hint, hint).
|
||||
|
||||
Improve, update translations. Install *.mo files somewehere.
|
||||
|
||||
Completely remove internal usage of C++ iostreams.
|
||||
|
||||
Sleep, eat, walk, study, shave, read, play piano and wash less.
|
||||
|
||||
-------------------- Medium priority ---------------------
|
||||
|
@@ -192,6 +192,9 @@ We are using the <a href="cvs.htm">CVS</a> system to develop and maintain wxWind
|
||||
us to make alterations and upload them instantly to the server in Edinburgh, from
|
||||
which others can update their source.<P>
|
||||
|
||||
To build source from CVS, see the file BuildCVS.txt in the top-level wxWindows distribution
|
||||
directory.<P>
|
||||
|
||||
<H3>How is wxWindows 2 distributed?</H3>
|
||||
|
||||
By ftp, and via the <a href="cdrom2.htm">wxWindows CD-ROM</a>.<P>
|
||||
@@ -203,8 +206,8 @@ finished?) to think very far ahead. However, we know we want to make wxWindows a
|
||||
and well-publicised as possible. We also want to aim for better platform-independence of
|
||||
resources such as icons and bitmaps, standardising on the PNG for all platforms.<P>
|
||||
|
||||
Other possibilities include: DCOM/CORBA compatibility; a wxWindows book; an
|
||||
<a href="http://web.ukonline.co.uk/julian.smart/wxwin/wxide.htm">IDE</a>;
|
||||
Other possibilities include: DCOM/CORBA compatibility; a wxWindows book;
|
||||
<a href="http://wxstudio.linuxbox.com/">wxStudio</a>, an IDE;
|
||||
other platforms; other interface abilities such as speech output.<P>
|
||||
|
||||
We will investigate the possibility of compiler or operating system vendors bundling wxWindows with
|
||||
|
@@ -166,6 +166,79 @@ optimized. For example, in wxWindows project, set to 'Minimum
|
||||
Size'. In Dialog Editor project, set to 'Customize: Favor Small
|
||||
Code' (and no others). This will then work.<P>
|
||||
|
||||
<H3>How are the wxWindows makefiles edited under Windows?</H3>
|
||||
|
||||
As of wxWindows 2.1, there is a new system written by Vadim Zeitlin, that
|
||||
generates the makefiles from templates using tmake.<P>
|
||||
|
||||
Here are Vadim's notes:<P>
|
||||
|
||||
<blockquote>
|
||||
To use these new makefiles, you don't need anything (but see below).
|
||||
However, you should NOT modify them because these files will be
|
||||
rewritten when I regenerate them using tmake the next time. So, if
|
||||
you find a problem with any of these makefiles (say, makefile.b32)
|
||||
you'll need to modify the corresponding template (b32.t in this
|
||||
example) and regenerate the makefile using tmake.<P>
|
||||
|
||||
tmake can be found at
|
||||
<a href="http://www.troll.no/freebies/tmake.html" target=_new>www.troll.no/freebies/tmake.html</a>.
|
||||
It's a Perl5 program and so it needs Perl (doh). There is a binary for
|
||||
Windows (available from the same page), but I haven't used it, so
|
||||
I don't know if it works as flawlessly as "perl tmake" does (note
|
||||
for people knowing Perl: don't try to run tmake with -w, it won't
|
||||
do you any good). Using it extremely simple: to regenerate makefile.b32
|
||||
just go to distrib/msw/tmake and type<P>
|
||||
|
||||
<pre>tmake -t b32 wxwin.pro -o ../../src/msw/makefile.b32</pre><P>
|
||||
|
||||
The makefiles are untested - I don't have any of Borland, Watcom or
|
||||
Symantec and I don't have enough diskspace to recompile even with
|
||||
VC6 using makefiles. The new makefiles are as close as possible to the
|
||||
old ones, but not closer: in fact, there has been many strange things
|
||||
(should I say bugs?) in some of makefiles, some files were not compiled
|
||||
without any reason etc. Please test them and notify me about any problems.
|
||||
Better yet, modify the template files to generate the correct makefiles
|
||||
and check them in.<P>
|
||||
|
||||
The templates are described in tmake ref manual (1-2 pages of text)
|
||||
and are quite simple. They do contain some Perl code, but my Perl is
|
||||
primitive (very C like) so it should be possible for anybody to make
|
||||
trivial modifications to it (I hope that only trivial modifications
|
||||
will be needed). I've tagged the ol makefiles as MAKEFILES_WITHOUT_TMAKE
|
||||
in the cvs, so you can always retrieve them and compare the new ones,
|
||||
this will make it easier to solve the problems you might have.<P>
|
||||
|
||||
Another important file is filelist.txt: it contains the list of all
|
||||
files to be compiled. Some of them are only compiled in 16/32 bit mode.
|
||||
Some other are only compiled with some compilers (others can't compile
|
||||
them) - all this info is contained in this file.<P>
|
||||
|
||||
So now adding a new file to wxWindows is as easy as modifying filelist.txt
|
||||
(and Makefile.ams for Unix ports) and regenerating the makefiles - no
|
||||
need to modify all files manually any more.<P>
|
||||
|
||||
Finally, there is also a file vc6.t which I use myself: this one
|
||||
generates a project file for VC++ 6.0 (I didn't create vc5.t because
|
||||
I don't need it and can't test it, but it should be trivial to create
|
||||
one from vc6.t - probably the only things to change would be the
|
||||
version number in the very beginning and the /Z option - VC5 doesn't
|
||||
support edit-and=continue). This is not an officially supported way
|
||||
of building wxWindows (that is, nobody guarantees that it will work),
|
||||
but it has been very useful to me and I hope it will be also for
|
||||
others. To generate wxWindows.dsp run<P>
|
||||
|
||||
<pre>tmake -t vc6 wxwin.pro -o ../../wxWindows.dsp</pre><P>
|
||||
|
||||
Then just include this project in any workspace or open it from VC IDE
|
||||
and it will create a new workspace for you.<P>
|
||||
|
||||
If all goes well, I'm planning to create a template file for Makefile.ams
|
||||
under src/gtk and src/motif and also replace all makefiles in the samples
|
||||
subdirectories with the project files from which all the others will be
|
||||
generated. At least it will divide the number of files in samples
|
||||
directory by 10 (and the number of files to be maintained too).
|
||||
</blockquote>
|
||||
|
||||
</font>
|
||||
|
||||
|
@@ -185,6 +185,7 @@ downloaded from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P
|
||||
|
||||
<ul>
|
||||
<li><a href="../../samples/bombs">bombs</a>: minesweeper-like game.
|
||||
<li><a href="../../samples/caret">caret</a>: a sample to test the wxCaret class.
|
||||
<li><a href="../../samples/checklst">checklst</a>: demonstrates wxCheckListBox on
|
||||
supported platforms (currently Windows and GTK only).
|
||||
<li><a href="../../samples/config">config</a>: demonstrates use of wxConfig, which
|
||||
@@ -210,6 +211,8 @@ fully-fledged application!
|
||||
<li><a href="../../samples/fractal">fractal</a>: fractal mountains by Andrew Davison.
|
||||
<li><a href="../../samples/grid">grid</a>: demonstrates the wxGrid class.
|
||||
<li><a href="../../samples/help">help</a>: shows how to use wxHelpController.
|
||||
<li><a href="../../samples/html">html</a>: a number of demos for the wxHTML class library, used inside
|
||||
applications and also as a help facility.
|
||||
<li><a href="../../samples/image">image</a>: shows off the cross-platform wxImage class.
|
||||
<li><a href="../../samples/internat">internat</a>: use of wxWindows' internationalization support.
|
||||
<li><a href="../../samples/joytest">joytest</a>: tests the wxJoystick class (currently Windows and GTK only).
|
||||
@@ -237,6 +240,8 @@ Excel to be present).
|
||||
<li><a href="../../samples/proplist">proplist</a>: demonstrates the property list classes (a VB-style property editor).
|
||||
<li><a href="../../samples/regtest">regtest</a>: tests the low-level Windows registry functions (Windows only).
|
||||
<li><a href="../../samples/resource">resource</a>: shows how to use wxWindows resources (.wxr files).
|
||||
<li><a href="../../samples/richedit">richedit</a>: a work-in-progress rich text editor with plain text and HTML export
|
||||
facilities.
|
||||
<li><a href="../../samples/sashtest">sashtest</a>: demonstrates use of the wxSashWindow class to allow
|
||||
the user to resize subwindows.
|
||||
<li><a href="../../samples/splitter">splitter</a>: demonstrates the wxSplitterWindow class.
|
||||
@@ -246,6 +251,8 @@ implementing wxNotebook on platforms with no native support.
|
||||
<li><a href="../../samples/taskbar">taskbar</a>: demonstrates the wxTaskBarIcon class, for
|
||||
adding icons to the system tray. Windows only, but may eventually be implemented for other desktop
|
||||
environments that use this metaphor.
|
||||
<li><a href="../../samples/text">text</a>: demonstrates single and multiline text controls,
|
||||
and clipboard operations.
|
||||
<li><a href="../../samples/thread">thread</a>: tests the family of classes for doing thread
|
||||
programming.
|
||||
<li><a href="../../samples/toolbar">toolbar</a>: demonstrates wxToolBar.
|
||||
@@ -253,6 +260,7 @@ programming.
|
||||
<li><a href="../../samples/typetest">typetest</a>: tests various data type classes, including
|
||||
wxTime, wxDate and wxVariant.
|
||||
<li><a href="../../samples/validate">validate</a>: shows simple use of validation.
|
||||
<li><a href="../../samples/wizard">wizard</a>: demonstrates the wxWizard class.
|
||||
<li><a href="../../samples/wxpoem">wxpoem</a>: a little poetry display program.
|
||||
<li><a href="../../samples/wxsocket">wxsocket</a>: demonstrates the TCP/IP family of classes.
|
||||
</ul>
|
||||
|
292
docs/html/news.htm
Normal file
@@ -0,0 +1,292 @@
|
||||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<TITLE>News</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#FF0000 VLINK=#000000>
|
||||
|
||||
<font face="Arial, Lucida Sans, Helvetica">
|
||||
|
||||
<table width=100% border=4 cellpadding=5 cellspacing=0>
|
||||
<tr>
|
||||
<td bgcolor="#660000">
|
||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||
News
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<H3>August 6th, 1999</H3><P>
|
||||
|
||||
Today, a snapshot release of the MSW and the GTK ports has been
|
||||
made. The two snapshots are synchronized and have been tested
|
||||
for several weeks and should thus be considered to be quite stable.
|
||||
|
||||
Among the many new features that have appeared since version 2.0
|
||||
was release are:
|
||||
|
||||
<ul>
|
||||
<li> A great number of incompatiblities between the GTK and the MSW port have been removed. This
|
||||
holds escecially true for the way, time and order, controls send notifications to the user program.
|
||||
<li> Practically all widgets have been updated, removing bugs or adding missing features to
|
||||
specific ports (mostly the GTK port).
|
||||
<li> The GTK port now supports GTK version 1.2 as well as 1.0, giving access to the many new
|
||||
features, such as e.g. menu accelerators.
|
||||
<li> Many of the non-GUI classes have been reworked and new ones added, the stream classes
|
||||
having undergone a complete rewrite.
|
||||
<li> The addition of code to handle Unicode has begun and is in an advanced state.
|
||||
<li> The Python bindings (wxPython) have been largely improved and upadted to the newest
|
||||
API and features.
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<H3>July 31st, 1999</H3><P>
|
||||
|
||||
We are glad to announce the start of the work on the new wxWindows port - wxBeOS
|
||||
which will implement wxWindows 2 API for <A HREF="http://www.be.com">BeOS</A>.
|
||||
Thanks to Be for donating licenses to wxWindows project to make it possible.
|
||||
<P>
|
||||
If you're interested in helping with this new port, please write to wxWindows
|
||||
developers mailing list!
|
||||
|
||||
<H3>May 27th, 1999</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Beta 1 of <a href="dl_mac2.htm">wxWindows 2 for Mac</a> has been released, thanks to Stefan Csomor's amazing efforts.
|
||||
<li>Work continues on the development branch of wxWindows 2 for MSW, GTK and Motif. Vadim has been reworking the
|
||||
MSW implementation to solve some internal design problems, as well as factoring out base classes to make
|
||||
development easier.
|
||||
<li>Work on consistent drag and drop support in GTK and MSW continues.
|
||||
</ul>
|
||||
|
||||
<H3>March 1st, 1999</H3><P>
|
||||
|
||||
wxWindows 2 launch day!<P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows 2 officially launched, after more than two years' development of
|
||||
the API and ports to Windows, GTK and Motif (Mac to follow).
|
||||
<a href="download.htm">Download</a> wxWindows 2.
|
||||
</ul>
|
||||
|
||||
<H3>November 26th 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li><a href="ftp://www.remstar.com/pub/wxwin/1.68E">wxWindows 1.68E</a> contains minor bug fixes and now compiles with MS VC++ 6.0, and
|
||||
(hopefully) BC++ 5.0, as well as Cygwin b20.
|
||||
<li>The latest <a href="ftp://www.remstar.com/pub/wxwin/2.0.1">wxWindows 2.0 alpha</a> shows good progress
|
||||
on the Motif port, with a tabbed MDI implementation, a nice wxToolBar class and most
|
||||
major classes working. wxWindows 2.0 for Windows now works with VC++ 6.0, BC++ 5.0 and
|
||||
Cygwin b20. There's a problem linking with Mingw32, I don't know why this is, perhaps
|
||||
something to do with differences in the way pragmas are handled.
|
||||
<li>There is also good progress with Stefan Csomor's wxMac 2.0: watch this space. A preview
|
||||
is available <a href="http://www.advanced.ch/wxwin/wxmac_d1.zip">here</a>.
|
||||
<li>Work is finally underway on a <a href="wxide.htm">wxWindows IDE</a>!
|
||||
<li>Aleksandras Gluchovas is working on a docking window implementation and the results
|
||||
are pretty impressive so far. Here's a <a href="http://www.soften.ktu.lt/~alex/fl_screenshot.gif">screenshot</a>;
|
||||
source code is <a href="http://www.soften.ktu.lt/~alex/fl_src_0_1.zip">here</a> and a WIN32 executable
|
||||
is <a href="http://www.soften.ktu.lt/~alex/fl_demo_exe_0_1.zip">here</a>. The source also includes
|
||||
work on persistent storage classes.
|
||||
</ul>
|
||||
|
||||
<H3>September 13th 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>The main ftp site is now <a href="ftp://www.remstar.com/pub/wxwin">www.remstar.com/pub/wxwin</a>,
|
||||
since the AIAI site is no longer available for uploads.
|
||||
</ul>
|
||||
|
||||
<H3>August 23rd 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxGTK and wxMSW 2.0 progress continues apace. The API is being unified quite successfully,
|
||||
and most of the samples now compile under both ports.
|
||||
<li>We are looking for <a href="sponsor.htm">sponsorship</a> of wxMotif 2.0.
|
||||
</ul>
|
||||
|
||||
<H3>April 28th 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows 1.68C has been released. This mainly provides compatibility with Gnu-Win32 b19
|
||||
and Mingw32.
|
||||
<li>wxWindows 2.0 beta 9 has been released. Again, this provides Gnu-Win32 b19/Mingw32 compatibility
|
||||
plus a few small bug fixes.
|
||||
</ul>
|
||||
|
||||
<H3>March 22nd 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>The mailing list addresses have changed: please see the <a href="maillist2.htm">mailing list page</a>
|
||||
for details. You may need to re-subscribe if you subscribed since February 1998.
|
||||
</ul>
|
||||
|
||||
<H3>January 5th 1998</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Happy New Year!
|
||||
<li>wxWindows 1.68B is available.
|
||||
<li>wxWindows 2.0 has another port in progress - <a href="http://www.freiburg.linux.de/~wxxt" target=_top>wxGTK</a>,
|
||||
by Robert Roebling (see also the information on the same page about Robert's FADE desktop
|
||||
environment project).
|
||||
<li>The Windows and Xt/Motif ports to 2.0 are progressing well. A large proportion of the documentation
|
||||
has been done. One of the main things to resolve is how transformations (such as scaling
|
||||
and translation) will be done in 2.0, but we're heading towards agreement.
|
||||
<li>There is a new <a href="http://wxwin.projects.ml.org" target=_top>wxWindows Developers Site</a> in preparation, for people developing ports of
|
||||
wxWindows. There are newsgroups and a wxwin-developers mailing list.
|
||||
<li>40 wxWindows CD-ROMs have been sold, mostly outside the U.K.
|
||||
<li>Antonia Charlotte Smart was born on November 1st 1997. Naturally, she's as cute as her parents.
|
||||
</ul>
|
||||
|
||||
<H3>August 13th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Added <a href="getstart.htm">Getting Started</a> page for new users.
|
||||
<li>There's a good review of wxWindows by Oliver Niedung and Stefan Gunther in
|
||||
<I>iX</I>, a German computer magazine.
|
||||
</ul>
|
||||
|
||||
<H3>July 24th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows 1.67 <a href="download.htm" target=wxmain>released</a>.
|
||||
</ul>
|
||||
|
||||
<H3>July 22nd 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows 1.67 is nearly there...
|
||||
<li>Check out <a href="apps/forty/forty.htm">Forty Thieves</a>, a great card game
|
||||
by Chris Breeze of Hitachi Europe Limited.
|
||||
</ul>
|
||||
|
||||
<H3>July 16th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Jobst Schmalenbach has set up Australian mirrors of the wxWindows ftp and Web sites:
|
||||
please see the <a href="mirrors.htm">Mirrors</a> page.
|
||||
<li>Arthur Tetzlaff-Deas is starting to look afresh at a port of wxWindows 2.0 to
|
||||
NeXTStep. This is more relevant now that the NeXT OS will be essential to the Apple Mac's future.
|
||||
<li>The next release of wxWindows for Motif/XView/Windows should be within the next two weeks or so. I have abandoned
|
||||
documentation in wxHelp form in favour of the much better quality HTML format, which I
|
||||
will be including with the distribution from now on.
|
||||
</ul>
|
||||
|
||||
<H3>July 7th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>For news on wxWindows 2.0 development, please see <a href="coming.htm">What's coming next?</a>
|
||||
- developments include DLL and experimental Netscape Plugin support. The estimate for a release
|
||||
date has been put back to October 1997 - to be out of the way before Smart Jr. arrives in November...
|
||||
<li>Negotiations with a U.S. company about development of wxWindows into a commercial product
|
||||
fell through, since it was not possible to agree about the continuation of a version
|
||||
of wxWindows that maintains the free, collaborative spirit that currently exists.
|
||||
</ul>
|
||||
|
||||
<H3>May 18th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows 2.0 development (mostly for the Windows platform) is on track thanks to funding for wxWin-related consultancy
|
||||
- thank you to those concerned! This work is still on the free version of 2.0, although an additional
|
||||
commercial version may be developed sometime in the future. Markus Holzem continues to generously donate
|
||||
his spare time for Motif/Xt developments, and Greg Whitehead is looking into the Mac version of 2.0.
|
||||
<li>Guilhem Lavaux has contributed a first version of
|
||||
<a href="ftp://www.remstar.com/pub/wxwin/contrib/wxsocket">wxSocket</a>, a set of classes for
|
||||
network programming based on work by Andrew Davison. Currently this works on Motif/Xt and is coded but not yet tested
|
||||
for Windows. The wxIPC classes on the UNIX side have been rewritten to take advantage of the new
|
||||
classes. wxSocket is a great contribution that will be a part of wxWindows 2.0. Meanwhile, do check
|
||||
it out and help Guilhem debug and develop it further.
|
||||
<li>Other noteworthy contributions in recent weeks include a patch for using bitmap
|
||||
<a href="ftp://www.remstar.com/pub/wxwin/contrib/unixmask">masks</a> on X for transparency
|
||||
effects - another Lavaux effort! - plus <a href="ftp://www.remstar.com/pub/wxwin/contrib/wxthread">thread</a> classes
|
||||
by Wolfram Gloger, updates to <a href="ftp://www.remstar.com/pub/wxwin/ports/xt">wxXt</a> by Markus Holzem,
|
||||
a start at <A HREF="ftp://www.remstar.com/pub/wxwin/contrib/wxole">OLE control</a> support by Norbert Grotz,
|
||||
an improved <A HREF="ftp://www.remstar.com/pub/wxwin/contrib/winstmod">Winstall</a> by Stefan Hammes,
|
||||
and <A HREF="ftp://www.remstar.com/pub/wxwin/contrib/wxpref">wxPreferences</a> by Bart Jourquin
|
||||
to simulate .ini files on UNIX.<P>
|
||||
Check out the <A href="contrib2.htm">Contributions</a> page for more.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>May 8th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Hitachi Europe Limited have used wxWindows both to implement and to illustrate
|
||||
their WebReuser tool - a link to <a href="http://www.stablesoft.com">their pages</a> has been
|
||||
added to the <a href="apps.htm">Applications</a> page.
|
||||
<li>Another interesting link in the Applications page is
|
||||
<a href="http://www.softwarebuero.de/wipeout-eng.html">WipeOut</a>, a C++ integrated development
|
||||
environment for Linux.
|
||||
<li>Fixes to make wxWindows 1.66F work with VC++ 5.0 are in the
|
||||
<A href="ftp://www.remstar.com/pub/wxwin/ports/msvc50">ports/msvc50</a>
|
||||
directory.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>April 20th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>wxWindows is listed in the <a href="http://SAL.KachinaTech.COM/">Scientific Applications on Linux</a> index</a>,
|
||||
<a href="http://SAL.KachinaTech.COM/F/5/WXWINDOWS.html">here</a>.
|
||||
<li>There is a new page for <a href="issues.htm">issues with the current release</a> which I would
|
||||
encourage you to read.
|
||||
<li>The wxWindows Web pages can be switched to non-frames mode, for those who find frames irritating
|
||||
(and who use browsers that don't implement Back properly :-)).
|
||||
<li>The <A href="contrib.htm">Contrib</a> page has some new entries.
|
||||
<li>wxWindows 2.0 progress is steady.
|
||||
<li><a href="mailto:grw@market.net">Greg Whitehead</a> is taking a look at what's involved for a Mac port of 2.0, possibly using MetroWerks' PowerPlant
|
||||
classes to speed up development.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
<H3>March 13th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Check out C-LAB's <a href="http://www.c-lab.de/~lipuser/lip" TARGET=_top>Lean Integration Platform</a> written in wxWindows/wxLisp: it's
|
||||
a multi-platform workflow tool. Nice Web pages!
|
||||
<li>I've written some <a href="prepare.htm">tips</a> to help you code for easy porting to wxWindows 2.0.
|
||||
<li>wxWin 2.0 progress: I've eliminated the need for the dreaded CTL3D library for Windows 95 applications.
|
||||
New MDI classes are working, plus wxStatusBar, wxScrolledWindow. Markus is starting work on the Motif
|
||||
port, with wxXt 2.0 as a second priority. But <a href="sponsors.htm">financial help</a> to keep
|
||||
the momentum going is needed!
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>February 25th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li>Yura Bidus (yari_b@automedi.com) has successfully adapted wxWindows 1.66B to compile as a DLL under
|
||||
Borland C++. He will be patching 1.66F and investigating using VC++ for building the DLL.
|
||||
<li>Early experiments indicate that application files using wxWindows 2.0
|
||||
and GNU-WIN32 will be at least twice as fast to compile as 1.66, due to elimination of base classes
|
||||
and restructuring to avoid including windows.h.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>January 29th 1997</H3><P>
|
||||
|
||||
<ul>
|
||||
<li><a href="ftp://www.remstar.com/pub/wxwin/1.66F_internal">wxWindows 1.66F</a> has been semi-released
|
||||
for people to test before the official release. It works with GNU-WIN32, and contains miscellaneous bug fixes.
|
||||
<li>ITA, Inc. have sent a debugged and
|
||||
enhanced <a href="ftp://www.remstar.com/pub/wxwin/ports/mac/ita">Mac port</a> (building on 1.61).
|
||||
<li>Markus Holzem and Julian Smart are designing wxWindows 2.0, which should make wxWindows into a force
|
||||
to be reckoned with against other free and commercial libraries. The <a href="coming.htm">What's coming next?</a>
|
||||
page will shortly contain more details.
|
||||
<li>The <a href="maillist.htm">mailing lists</a> are up and running again, with new subscription and discussion
|
||||
list addresses.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
</font>
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
213
docs/html/roadmap.htm
Normal file
@@ -0,0 +1,213 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>wxWindows Roadmap</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY>
|
||||
|
||||
<a name="top"></a>
|
||||
|
||||
<font face="Arial, Lucida Sans, Helvetica">
|
||||
|
||||
<table width=100% border=4 cellpadding=5 cellspacing=0>
|
||||
<tr>
|
||||
<td bgcolor="#660000">
|
||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||
wxWindows Roadmap
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<P>
|
||||
|
||||
<CENTER>
|
||||
<a href="#schedule">Schedule</a> | <a href="#todo">To-Do List</a>
|
||||
</CENTER>
|
||||
|
||||
<P>
|
||||
|
||||
This page represents current thinking about where wxWindows is going in the near,
|
||||
medium and long-term. It also serves as a schedule for new releases so
|
||||
that both developers and users can know what to expect when, at least approximately.<P>
|
||||
|
||||
Note (1): as the wxWindows effort is voluntary, these are not hard-and-fast deadlines:
|
||||
but we will endeavour to follow them as closely as possible.<P>
|
||||
|
||||
Note (2): the releases described are for wxGTK, wxMSW and wxMotif ports. wxMac currently follows
|
||||
its own development path but is due to merge with the main code base in November/December.
|
||||
Also, minor snapshot releases for specific platforms may be
|
||||
available at dates convenient to the developers.<P>
|
||||
|
||||
<CENTER>
|
||||
<HR> <FONT SIZE=+2><I><B><a name="schedule">Schedule</a></B></I></FONT> <HR>
|
||||
</CENTER>
|
||||
<P>
|
||||
|
||||
<H4>Release 2.0.?</H4>
|
||||
|
||||
<ul>
|
||||
<li>Release date: October 3rd, 1999
|
||||
<li>This beta is intended to be the last stable snapshot before wxWindows
|
||||
is split into base and GUI libraries.
|
||||
<li>New wxGrid in beta.
|
||||
<li>wxWizard (beta)
|
||||
<li>wxDialUpManager and wxPhoneDialer (beta)
|
||||
<li>wxFontEnumerator (beta)
|
||||
<li>Preliminary support for different encodings
|
||||
<li>wxPostEvent function
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H2>Release 2.1</H2>
|
||||
|
||||
<ul>
|
||||
<li>Release date: November 7th, 1999
|
||||
<li>Splits wxWindows into base and GUI libraries. Most, but not all makefiles
|
||||
are expected to support this: for the rest, the makefiles will build a valid
|
||||
combined base/GUI library for GUI applications only.
|
||||
<li>New wxGrid.
|
||||
<li>wxSocket working.
|
||||
<li>Full support for fonts in different encodings
|
||||
<li>Tested multithreading support (wxThread)
|
||||
<li>wxHTML printing (possibly).
|
||||
<li>Better i18n support (i.e. more translations)
|
||||
<li>Animation classes (possibly, low priority).
|
||||
<li>PCX writing capability (possibly, low priority).
|
||||
<li>wxImage handlers in separate .h and .cpp files.
|
||||
<li>Rewritten timer.cpp, possible wxChrono class.
|
||||
<li>Bug tracking system in place.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H4>Release 2.1.1</H4>
|
||||
|
||||
<ul>
|
||||
<li>Release date: January 9th, 2000
|
||||
<li>Miscellaneous fixes and small enhancements.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H4>Release 2.1.2</H4>
|
||||
|
||||
<ul>
|
||||
<li>Release date: March 5th, 2000
|
||||
<li>Miscellaneous fixes and small enhancements.
|
||||
<li>wxDateTime class in beta.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H4>Release 2.1.3</H4>
|
||||
|
||||
<ul>
|
||||
<li>Release date: May 7th, 2000
|
||||
<li>Unicode compilation starting to work in wxGTK and wxMSW.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H2>Release 2.2</H2>
|
||||
|
||||
<ul>
|
||||
<li>Release date: c. July 2nd, 2000
|
||||
<li>Unicode compilation working in wxGTK and wxMSW.
|
||||
<li>wxDateTime class.
|
||||
<li>Regular expressions support.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<H2>Release 2.3</H2>
|
||||
|
||||
<ul>
|
||||
<li>Release date: unknown
|
||||
<li>WinCE port available.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<CENTER>
|
||||
<HR> <FONT SIZE=+2><I><B><a name="todo">To-Do List</a></B></I></FONT> <HR>
|
||||
</CENTER>
|
||||
|
||||
<P>
|
||||
|
||||
Developers: please feel free to add to these, and delete them when they are done.
|
||||
|
||||
<P>
|
||||
|
||||
<B><I>General</I></B><P>
|
||||
|
||||
<ul>
|
||||
<li>wxHTML printing. When finished, this will allow an application to generate
|
||||
printed reports with very little effort.
|
||||
<li>wxSocket.
|
||||
<li>Split library into several, for base (classes and functions usable by console and GUI
|
||||
applications), console (classes and functions usable by console application only)
|
||||
and GUI (classes and functions usable by GUI application only).
|
||||
<li>Extend and unify drag and drop handling (e.g. we need to specify multiple drop targets
|
||||
that can handle multiple formats).
|
||||
<li>Expand the number of controls that can be specified in a WXR file;
|
||||
add constraint specification to WXR syntax and Dialog Editor; add multilanguage support to WXR.
|
||||
May be we'd better change the format completely and replace WXR with XML
|
||||
(providing conversion utility for old files)?
|
||||
<li>Rewrite Dialog Editor.
|
||||
<li>Modem-oriented classes: wxDialUpManager for dialing up the ISP and
|
||||
determining if there is a connection to Internet on the machine and
|
||||
wxPhoneDialer for dialing arbitrary phone numbers and otherwise communicating
|
||||
with the modem.
|
||||
<li>PCX writing code.
|
||||
<li>GIF animation code.
|
||||
<li>Tidying of timer code, addition of wxChrono class.
|
||||
<li>Debug wxPostScriptDC further.
|
||||
<li>wxDateTime class.
|
||||
<li>Expansion of wxHTML to support further tags, and frames.
|
||||
<li>MGL port (see Backroom/Future Ports page).
|
||||
<li>Rotated text support.
|
||||
<li>FreeType support.
|
||||
<li>Support for 'skins', perhaps using a set of alternative control and window classes
|
||||
written generically in wxWindows.
|
||||
<li>Serial and parallel port support.
|
||||
<li>Modem and telephony support.
|
||||
<li>Book, tutorial.
|
||||
<li>More examples.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<B><I>wxMSW</I></B><P>
|
||||
|
||||
<ul>
|
||||
<li>Windows CE port.
|
||||
<li>Cure bug whereby in a panel within another panel, all buttons become
|
||||
default buttons (heavy black border).
|
||||
<li>Write a RC->WXR converter.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<B><I>wxGTK</I></B><P>
|
||||
|
||||
<ul>
|
||||
<li>GNOME/KDE integration libraries.
|
||||
</ul>
|
||||
|
||||
<P>
|
||||
|
||||
<B><I>wxMotif</I></B><P>
|
||||
|
||||
<ul>
|
||||
<li>Fix menu accelerators
|
||||
<li>Fix refresh problems
|
||||
<li>Allow wxSystemSettings to be configurable, perhaps via a control
|
||||
panel application.
|
||||
</ul>
|
||||
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
820
docs/html/standard.htm
Normal file
@@ -0,0 +1,820 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>wxWindows Programmer Style Guide</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY>
|
||||
|
||||
<a name="top"></a>
|
||||
|
||||
<font face="Arial, Lucida Sans, Helvetica">
|
||||
|
||||
<table width=100% border=4 cellpadding=5 cellspacing=0>
|
||||
<tr>
|
||||
<td bgcolor="#660000">
|
||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||
wxWindows Programmer Style Guide
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<P>
|
||||
|
||||
by <A HREF=mailto:zeitlin@dptmaths.ens-cachan.fr>Vadim Zeitlin</A><P>
|
||||
|
||||
This guide is intended for people who are (or intending to start) writing code
|
||||
for <A HREF="http://web.ukonline.co.uk/julian.smart/wxwin/" target=_top>wxWindows</A> class library.
|
||||
|
||||
<P>
|
||||
The guide is separated into two parts: the first one addresses the general
|
||||
compatibility issues and is not wxWindows-specific. The advises in this part
|
||||
will hopefully help you to write programs which compile and run on greater
|
||||
variety of platforms. The second part details the wxWindows code organization and
|
||||
its goal it to make wxWindows as uniform as possible without imposing too
|
||||
many restrictions on the programmer.
|
||||
<P>
|
||||
Acknowledgements: This guide is partly based on <A
|
||||
HREF=http://www.mozilla.org/docs/tplist/catBuild/portable-cpp.html target=_top>
|
||||
C++ portability guide</A> by David Williams.
|
||||
|
||||
<P>
|
||||
<H3>General C++ Rules</H3>
|
||||
<UL>
|
||||
<LI>New or not widely supported C++ features</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#no_templates">Don't use C++ templates</A></LI>
|
||||
<LI><A HREF="#no_exceptions">Don't use C++ exceptions</A></LI>
|
||||
<LI><A HREF="#no_rtti">Don't use RTTI</A></LI>
|
||||
<LI><A HREF="#no_namespaces">Don't use namespaces</A></LI>
|
||||
<LI><A HREF="#no_stl">Don't use STL</A></LI>
|
||||
<LI><A HREF="#no_fordecl">Don't declare variables inside <TT>for()</TT></A></LI>
|
||||
<LI><A HREF="#no_nestedclasses">Don't use nested classes</A></LI>
|
||||
<LI><A HREF="#no_ternarywithobjects">Use ternary operator ?: carefully</A></LI>
|
||||
</OL>
|
||||
<BR>
|
||||
<LI>General recommendations</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#no_globals">No global variables with constructor</A></LI>
|
||||
<LI><A HREF="#no_warnings">Turn on all warnings and eradicate them</A></LI>
|
||||
<LI><A HREF="#no_assume_sizeof">Don't rely on <TT>sizeof(int) == 2</TT>...</A></LI>
|
||||
<LI><A HREF="#no_assignment_in_if">No assignments in conditional expressions</A></LI>
|
||||
<LI><A HREF="#no_comment_code">Use <TT>#if 0</TT> rather than comments to temporarily
|
||||
disable blocks of code</A></LI>
|
||||
<LI><A HREF="#no_extra_semicolon">Don't use extra semi-colons on top level</A></LI>
|
||||
</OL>
|
||||
<BR>
|
||||
<LI>Unix/DOS differences</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#use_cpp_ext">Use .cpp for C++ source file extension</A></LI>
|
||||
<LI><A HREF="#no_backslash">Don't use backslash ('\\') in #includes</A></LI>
|
||||
<LI><A HREF="#no_carriagereturn">Avoid carriage returns in cross-platform code</A></LI>
|
||||
<LI><A HREF="#no_caps_in_filenames">Use only lower letter filenames</A></LI>
|
||||
<LI><A HREF="#no_incomplete_files">Terminate the files with a new-line</A></LI>
|
||||
</OL>
|
||||
<BR>
|
||||
<LI>Style choices</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#naming_conv">Naming conventions: use <TT>m_</TT> for members</A></LI>
|
||||
<LI><A HREF="#no_void_param">Don't use <TT>void</TT> for functions without
|
||||
arguments</A></LI>
|
||||
<LI><A HREF="#no_const_int">Don't use <TT>const</TT> for non pointer/reference
|
||||
arguments</A></LI>
|
||||
</OL>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>wxWindows Rules</H3>
|
||||
<UL>
|
||||
<LI>Files location and naming conventions</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#file_locations">File locations</A></LI>
|
||||
<LI><A HREF="#include_guards">Include guards</A></LI>
|
||||
<LI><A HREF="#pch">Precompiled headers</A></LI>
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>File layout and indentation</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#wxwin_header">wxWindows standard header</A></LI>
|
||||
<LI><A HREF="#indentation">Indent your code with 4 spaces (no tabs!)</A></LI>
|
||||
<LI><A HREF="#class_decl">Order of parts in a class declarations</A></LI>
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>More about naming conventions</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#wx_prefix">Use wx or WX prefix for all public symbols</A></LI>
|
||||
<LI><A HREF="#wxdllexport">Use WXDLLEXPORT with all classes/functions in
|
||||
wxMSW/common code</A></LI>
|
||||
<LI><A HREF="#set_get">Use Set/Get prefixes for accessors</A></LI>
|
||||
<LI><A HREF="#constants">wxNAMING_CONSTANTS</A></LI>
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>Miscellaneous</LI>
|
||||
<OL>
|
||||
<LI><A HREF="#forward_decl">Use forward declarations whenever possible</A></LI>
|
||||
<LI><A HREF="#debug_macros">Use debugging macros</A></LI>
|
||||
</OL>
|
||||
</UL>
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>General C++ Rules</H3>
|
||||
<UL>
|
||||
<LI>New or not widely supported C++ features</LI>
|
||||
|
||||
<P>The usage of all features in this section is not recommended for one reason: they appeared in C++ relatively recently and are not yet
|
||||
supported by all compilers. Moreover, when they're supported, there are
|
||||
differences between different vendor's implementations. It's understandable that
|
||||
you might love one (or all) of these features, but you surely can write C++
|
||||
programs without them. Where possible, workarounds to compensate for absence
|
||||
of your favourite C++ abilities are indicated.
|
||||
<P>Just to suppress any doubts that there are compilers which don't support
|
||||
these new features, you can think about Win16 (a.k.a. Win 3.1) compilers,
|
||||
<I>none</I> of which supports <I>any</I> feature from the list below.
|
||||
|
||||
<OL>
|
||||
<P><LI><A NAME="no_templates"></A><B>Don't use C++ templates</B></LI><P>
|
||||
Besides the reasons mentioned above, template usage also makes the
|
||||
program compile much slower (200%-300% is not uncommon) and their support
|
||||
even in the compilers which have had it for a long time is far from perfect
|
||||
(the best example is probably gcc).
|
||||
<P><U>Workaround</U>: The things you would like to use templates for are,
|
||||
most commonly, polymorphic containers (in the sense that they can contain objects of
|
||||
any type without compromising C++ type system, i.e. using <TT>void *</TT>
|
||||
is out of question). wxWindows provides <A HREF="TODO">dynamic
|
||||
arrays and lists</A> which are sufficient in 99% of cases - please don't hesitate
|
||||
to use them. Lack of template is not a reason to use static arrays or
|
||||
type-less (passing by <TT>void *</TT>) containers.
|
||||
|
||||
<P><LI><A NAME="no_exceptions"></A><B>Don't use C++ exceptions</B></LI><P>
|
||||
The C++ exception system is an error-reporting mechanism. Another reasons not to use it,
|
||||
besides portability, are the performance penalty it imposes (small, but, at least for
|
||||
current compilers, non-zero), and subtle problems with
|
||||
memory/resource deallocation it may create (the place where you'd like to use
|
||||
C++ exceptions most of all are the constructors, but you need to be very
|
||||
careful in order to be able to do it).
|
||||
<P><U>Workaround</U>: there is no real workaround, of course, or the exceptions
|
||||
wouldn't have been added to the language. However, there are several rules which
|
||||
might help here:<P>
|
||||
|
||||
<OL>
|
||||
<LI>Every function returns an integer (or at least boolean) error code.
|
||||
<P>There is no such thing as a function that never fails - even if it can't
|
||||
fail now, it might do it later, when modified to be more powerful/general.
|
||||
Put the <TT>int</TT> or <TT>bool</TT> return type from the very beginning!<P>
|
||||
</LI><LI>Every function you call may fail - check the return code!
|
||||
<P>Never rely on the function's success, always test for a possible error.<P>
|
||||
</LI><LI>Tell the user about the error, don't silently ignore them.
|
||||
<P>Exceptions are always caught and, normally, processed when they're
|
||||
caught. In the same manner, the error return code must always be processed
|
||||
somehow. You may choose to ignore it, but at least tell the user that
|
||||
something wrong happened using <A HREF="TODO"><TT>wxLogError</TT></A> or
|
||||
<A HREF="TODO"><TT>wxLogWarning</TT></A> functions. All wxWindows
|
||||
functions (must) log the error messages on failure - this can be disabled
|
||||
by using <A HREF="TODO">wxLogNull</A> object before calling it.
|
||||
<P>Examples:<UL>
|
||||
<LI><I>Wrong</I>:
|
||||
<PRE>
|
||||
void ReadAddressBookFile(const wxString& strName)
|
||||
{
|
||||
wxFile file;
|
||||
|
||||
if ( !file.Open(strFile) )
|
||||
return;
|
||||
|
||||
...process it...
|
||||
}
|
||||
</PRE>
|
||||
</LI><LI><I>Correct</I>:
|
||||
<PRE>
|
||||
// returns false if the address book couldn't be read
|
||||
bool ReadAddressBookFile(const wxString& strName)
|
||||
{
|
||||
wxFile file;
|
||||
|
||||
if ( !file.Open(strFile) ) {
|
||||
// wxFile logged an error because file couldn't be opened which
|
||||
// contains the system error code, however it doesn't know what
|
||||
// this file is for and an error message "can't open $GLCW.ADB"
|
||||
// can be quite confusing for the user. Here we say what we mean.
|
||||
wxLogError("Can't read address book from '%s'!",
|
||||
strName.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
...process it...
|
||||
|
||||
return true;
|
||||
}
|
||||
</PRE>
|
||||
or, if it's not an error if file doesn't exist (here we could just check
|
||||
its existence, but let's suppose that there is no <TT>wxFile::Exists()</TT>)
|
||||
we can also write:
|
||||
<PRE>
|
||||
// returns false if address book file doesn't exist
|
||||
bool ReadAddressBookFile(const wxString& strName)
|
||||
{
|
||||
wxFile file;
|
||||
|
||||
// start a block inside which all log messages are suppressed
|
||||
{
|
||||
wxLogNull noLog;
|
||||
if ( !file.Open(strFile) )
|
||||
return false;
|
||||
}
|
||||
|
||||
...process it...
|
||||
|
||||
return true;
|
||||
}
|
||||
</PRE></LI>
|
||||
</UL>
|
||||
</OL>
|
||||
|
||||
<P><LI><A NAME="no_rtti"></A><B>Don't use RTTI</B></LI><P>
|
||||
RTTI stands for Run-Time Type Information and there is probably no other
|
||||
reason not to use it except the portability issue and the fact that it adds
|
||||
<TT>sizeof(void *)</TT> bytes to any class having virtual functions (at least,
|
||||
in the implementations I'm aware of).
|
||||
<P><U>Workaround</U>: use wxWindows RTTI system which allows you to do almost
|
||||
everything which the new C++ RTTI, except that, of course, you have to use
|
||||
macros instead of the (horrible looking, BTW) <TT>dynamic_cast</TT>.
|
||||
|
||||
<P><LI><A NAME="no_namespaces"></A><B>Don't use namespaces</B></LI><P>
|
||||
This topic is subject to change with time, however for the moment all wxWindows
|
||||
classes/functions live in the global namespace.
|
||||
<P><U>Workaround</U>: None.
|
||||
|
||||
<P><LI><A NAME="no_stl"></A><B>Don't use STL</B></LI><P>
|
||||
STL is the new C++ standard library, proposing all kinds of template containers
|
||||
and generic algorithm implementations. Templates are the heart (and almost
|
||||
everything else) of the library, so its usage is out of question. Besides, even
|
||||
with the compilers which do support templates, STL has many of its own problems,
|
||||
there are many "not 100% standard compatible" vendor implementations, none of existing debuggers understands its
|
||||
complicated data structures, ... the list can go on (almost) forever.
|
||||
<P><U>Workaround</U>: Use wxString, dynamic arrays and lists and other wxWindows
|
||||
classes. wxString has many of the most often used functions of std::string STL
|
||||
class (typedef to be precise).
|
||||
<P><LI><A NAME="no_fordecl"></A><B>Don't declare variables inside <TT>for()
|
||||
</TT></B></LI><P>
|
||||
The scope of a variable declared inside <TT>for()</TT> statement changed several
|
||||
years ago, however many compilers still will complain about second declaration
|
||||
of <TT>i</TT> in the following code:
|
||||
<PRE>
|
||||
for ( int i = 0; i < 10; i++ ) {
|
||||
...
|
||||
}
|
||||
|
||||
...
|
||||
|
||||
for ( int i = 0; i < 10; i++ ) {
|
||||
...
|
||||
}
|
||||
</PRE>
|
||||
Even if it's perfectly legal now.
|
||||
<P><U>Workaround</U>: write this instead:
|
||||
<PRE>
|
||||
int i;
|
||||
for ( i = 0; i < 10; i++ ) {
|
||||
...
|
||||
}
|
||||
|
||||
...
|
||||
|
||||
for ( i = 0; i < 10; i++ ) {
|
||||
...
|
||||
}
|
||||
</PRE>
|
||||
|
||||
<P><LI><A NAME="no_nestedclasses"></A><B>Don't use nested classes</B></LI><P>
|
||||
Nested classes are, without doubt, a very good thing because they allow to hide
|
||||
"private" (in the sense that they're used only inside the library) classes and,
|
||||
generally, put the related things together.
|
||||
<P>Unfortunately, some compilers have trouble understanding them, so we must
|
||||
sacrifice the ideals of software design to get a working program in this case.
|
||||
<P><U>Workaround</U>: instead of
|
||||
<PRE>
|
||||
// in the header
|
||||
class PublicLibClass {
|
||||
...
|
||||
private:
|
||||
class PrivateLibClass { ... } m_object;
|
||||
};
|
||||
</PRE>
|
||||
you can try the following:
|
||||
<PRE>
|
||||
// in the header
|
||||
class PrivateLibClass; // fwd decl
|
||||
class PublicLibClass {
|
||||
...
|
||||
private:
|
||||
class PrivateLibClass *m_pObject;
|
||||
};
|
||||
|
||||
// in the .cpp file
|
||||
class PrivateLibClass { ... };
|
||||
|
||||
PublicLibClass::PublicLibClass()
|
||||
{
|
||||
m_pObject = new PrivateLibClass;
|
||||
|
||||
...
|
||||
}
|
||||
|
||||
PublicLibClass::~PublicLibClass()
|
||||
{
|
||||
delete m_pObject;
|
||||
}
|
||||
</PRE>
|
||||
<P>A nice side effect is that you don't need to recompile all the files
|
||||
including the header if you change the PrivateLibClass declaration (it's
|
||||
an example of a more general interface/implementation separation idea).
|
||||
|
||||
<P><LI><A NAME="no_ternarywithobjects"></A><B>Use ternary operator ?: carefully</B></LI><P>
|
||||
The ternary operator <TT>?:</TT> shouldn't be used with objects (i.e. if any
|
||||
of its operands are objects) because some compilers (notable Borland C++) fail
|
||||
to compile such code.
|
||||
<P><U>Workaround</U>: use <TT>if/else</TT> instead.
|
||||
<PRE>
|
||||
wxString s1, s2;
|
||||
|
||||
// Borland C++ won't compile the line below
|
||||
wxString s = s1.Len() < s2.Len() ? s1 : s2;
|
||||
|
||||
// but any C++ compiler will compile this
|
||||
wxString s;
|
||||
if ( s1.Len() < s2.Len() )
|
||||
s = s1;
|
||||
else
|
||||
s = s2;
|
||||
</PRE>
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>General recommendations</B></LI><P>
|
||||
While the recommendations in the previous section may not apply to you if you're
|
||||
only working with perfect compilers which implement the very newest directives of
|
||||
C++ standard, this section contains compiler- (and language-) independent advice
|
||||
which <B>must</B> be followed if you wish to write correct, i.e. working, programs. It
|
||||
also contains some C/C++ specific remarks in the end which are less
|
||||
important.
|
||||
<OL>
|
||||
<P><LI><A NAME="no_globals"></A><B>No global variables with constructors</B></LI><P>
|
||||
In C++, the constructors of global variables are called before the
|
||||
<TT>main()</TT> function (or <TT>WinMain()</TT> or any other program entry point)
|
||||
starts executing. Thus, there is no possibility to initialize <I>anything</I>
|
||||
before the constructor call. The order of construction is largely
|
||||
implementation-defined, meaning that there is no guarantee that one global
|
||||
object will be initialized before another one (except if they are both defined
|
||||
in the same translation unit, i.e. .cpp file). Most importantly, no custom
|
||||
memory allocation operators are installed at the moment of execution of global
|
||||
variables constructors, so a (less restrictive) rule is that you should have
|
||||
no global variables which allocate memory (or do anything else non-trivial) in
|
||||
the constructor. Of course, if an object doesn't allocate memory in its constructor
|
||||
right now, it may start making it later, so you can only be sure about this if
|
||||
you don't use <I>any</I> variables of object (as opposed to simple:
|
||||
<TT>int</TT>, ...) types. Example: currently, wxString doesn't allocate memory
|
||||
in its default constructor, so you might think that having a global (initially)
|
||||
empty wxString is safe. However, if wxString starts allocating some minimal
|
||||
amount of memory in its default constructor (which doesn't look unreasonable),
|
||||
you would have all kinds of problems with <TT>new</TT>
|
||||
and <TT>delete</TT> operators (overloaded in wxWindows), especially because the first <TT>new</TT> called
|
||||
is the standard one (before wxWindows overloads them) and <TT>delete</TT> will
|
||||
be the overloaded operator.
|
||||
|
||||
<P><LI><A NAME="no_warnings"></A><B>Turn on all warnings and eradicate them</B></LI><P>
|
||||
Give the compiler a chance to help you - turn on all warnings! You should always
|
||||
use the maximum available warning level of your compiler and understand and
|
||||
correct each of them. If, for whatever reasons, a compiler gives a warning on
|
||||
some perfectly legal line of code and you can't change it, please insert a
|
||||
comment indicating it in the code. Most oftenly, however, all compiler warnings
|
||||
may be avoided (not suppressed!) with minimal changes to your code.
|
||||
|
||||
<P><LI><A NAME="no_assume_sizeof"></A><B>Don't rely on <TT>sizeof(int) == 2</TT>...</B></LI><P>
|
||||
You should never assume any absolute constraints on data type sizes. Currently,
|
||||
we have 16-bit, 32-bit and 64-bit machines and even inside each class data type
|
||||
sizes are different. A small table illustrates it quite well:
|
||||
<TABLE BORDER COLS=5 WIDTH="100%" NOSAVE >
|
||||
<TR>
|
||||
<TD>Architecture/OS</TD>
|
||||
<TD>sizeof(short)</TD>
|
||||
<TD>sizeof(int)</TD>
|
||||
<TD>sizeof(long)</TD>
|
||||
<TD>sizeof(void *)</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>i386/Windows 3.1</TD>
|
||||
<TD>2</TD>
|
||||
<TD>2</TD>
|
||||
<TD>4</TD>
|
||||
<TD>2 or 4</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>i386/Windows 95</TD>
|
||||
<TD>2</TD>
|
||||
<TD>4</TD>
|
||||
<TD>4</TD>
|
||||
<TD>4</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>Merced/Win64</TD>
|
||||
<TD>2</TD>
|
||||
<TD>4</TD>
|
||||
<TD>4</TD>
|
||||
<TD>8</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD>Alpha/Linux</TD>
|
||||
<TD>???</TD>
|
||||
<TD>???</TD>
|
||||
<TD>???</TD>
|
||||
<TD>???</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P><LI><A NAME="no_assignment_in_if"></A><B>No assignments in conditional expressions</B></LI><P>
|
||||
Although close to the heart of many C programmers (I plead guilty), code like
|
||||
classical <TT>if ( (c = getchar()) != EOF )</TT> is bad because it prevents you
|
||||
from enabling "assignment in conditional expression" warning (see also
|
||||
<A HREF="#no_warnings">above</A>) which is helpful to detect common
|
||||
mistypes like <TT>if ( x = 2 )</TT> instead of <TT>if ( x == 2 )</TT>.
|
||||
|
||||
<P><LI><A NAME="no_comment_code"></A><B>Use <TT>#if 0</TT> rather than comments to temporarily
|
||||
disable blocks of code</B></LI><P>
|
||||
If you have to temporarily disable some code, use
|
||||
<PRE>
|
||||
#if 0 // VZ: I think this code is unneeded, it probably must be removed
|
||||
...
|
||||
#endif // 0
|
||||
</PRE>
|
||||
instead of
|
||||
<PRE>
|
||||
/*
|
||||
...
|
||||
*/
|
||||
</PRE>
|
||||
The reason is simple: if there are any <TT>/* ... */</TT> comments inside
|
||||
<TT>...</TT> the second version will, of course, miserably fail.
|
||||
|
||||
<P><LI><A NAME="no_extra_semicolon"></A><B>Don't use extra semi-colons on top level</B></LI><P>
|
||||
Some compilers don't pay any attention to extra semicolons on top level, as in
|
||||
<PRE>
|
||||
class Foo { };;
|
||||
</PRE>
|
||||
while others complain loudly about it. Of course, you would rarely put 2
|
||||
semicolons yourself, but it may happen if you're using a macro
|
||||
(<TT>IMPLEMENT_something</TT>, for example) which already has a ';' inside and
|
||||
put another one after it.
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>Unix/DOS differences</B></LI><P>
|
||||
Two operating systems supported by wxWindows right now are (different flavours
|
||||
of) Unix and Windows 3.1/95/NT (although Mac, OS/2 and other ports exist/are
|
||||
being developed as well). The main differences between them are summarized
|
||||
here.
|
||||
|
||||
<OL>
|
||||
<P><LI><A NAME="use_cpp_ext"></A><B>Use .cpp for C++ source file extension</B></LI><P>
|
||||
There is, unfortunately, no standard exceptions for C++ source files. Different
|
||||
people use .C, .cc, .cpp, .cxx, .c++ and probably several others I forgot. Some
|
||||
compilers don't care about extension, but there are also other ones which can't
|
||||
be made to compile any file with "wrong" extension. Such compilers are very
|
||||
common in DOS/Windows land, that's why the .cpp extension is the least likely to
|
||||
cause any problems - it's the standard one under DOS and will probably be
|
||||
accepted by any Unix compiler as well (any counter examples?). The extension
|
||||
for the header files is .h.
|
||||
|
||||
<P><LI><A NAME="no_backslash"></A><B>Don't use backslash ('\\') in #includes</B></LI><P>
|
||||
Although it's too silly to mention, please don't use backslashes in
|
||||
<TT>#include</TT> preprocessor statement. Even not all Windows compilers accept
|
||||
it, without speaking about all other ones.
|
||||
|
||||
<P><LI><A NAME="no_carriagereturn"></A><B>Avoid carriage returns in cross-platform code</B></LI><P>
|
||||
This problem will hopefully not arise at all, with CVS taking care of this
|
||||
stuff, however it's perhaps not useless to remember that many Unix compilers
|
||||
(including, but not limited to, gcc) don't accept carriage returns
|
||||
(= <Ctrl-M> = '\r') in C/C++ code.
|
||||
|
||||
<P><LI><A NAME="no_caps_in_filenames"></A><B>Use only lower case filenames</B></LI><P>
|
||||
DOS/Windows 3.1 isn't case sensitive, Windows 95/NT are case preserving, but not
|
||||
case sensitive. To avoid all kinds of problems with compiling under Unix (or
|
||||
any other fully case-sensitive OS), please use only lower case letters in the
|
||||
filenames.
|
||||
|
||||
<P><LI><A NAME="no_incomplete_files"></A><B>Terminate the files with a new-line</B></LI><P>
|
||||
While DOS/Windows compilers don't seem to mind, their Unix counterparts don't
|
||||
like files without terminating new-line. Such files also give a warning message
|
||||
when loaded to vim (the Unix programmer's editor of choice :-)), so please think
|
||||
about terminating the last line.
|
||||
</OL>
|
||||
|
||||
<BR>
|
||||
<LI>Style choices</B></LI><P>
|
||||
All wxWindows specific style guidelines are specified in the next
|
||||
section, here are the choices which are not completely arbitrary,
|
||||
but have some deeper and not wxWindows-specific meaning.
|
||||
|
||||
<OL>
|
||||
<P><LI><A NAME="naming_conv"></A><B>Naming conventions: use <TT>m_</TT> for members</B></LI><P>
|
||||
It's extremely important to write readable code. One of the first steps in this
|
||||
direction is the choice of naming convention. It may be quite vague or strictly
|
||||
define the names of all the variables and function in the program, however it
|
||||
surely must somehow allow the reader to distinguish between variable and
|
||||
functions and local variables and member variables from the first glance.
|
||||
<P>The first requirement is commonly respected, but for some strange reasons, the
|
||||
second isn't, even if it's much more important because, after all, the immediate
|
||||
context usually allows you to distinguish a variable from a function in
|
||||
C/C++ code. On the other hand, you <I>cannot</I> say what <TT>x</TT> in the
|
||||
following code fragment is:
|
||||
<PRE>
|
||||
void Foo::Bar(int x_)
|
||||
{
|
||||
...
|
||||
|
||||
x = x_;
|
||||
|
||||
...
|
||||
}
|
||||
</PRE>
|
||||
It might be either a local variable (unluckily the function is too long so you
|
||||
don't see the variable declarations when you look at <TT>x = x_</TT> line), a
|
||||
member variable or a global variable - you have no way of knowing.
|
||||
<P>The wxWindows naming convention gives you, the reader of the code, much more
|
||||
information about <TT>x</TT>. In the code above you know that it's a local
|
||||
variable because:<P>
|
||||
<OL>
|
||||
<LI>global variables are always prefixed with <TT>g_</TT></LI>
|
||||
<LI>member variables are always prefixed with <TT>m_</TT></LI>
|
||||
<LI>static variables are always prefixed with <TT>s_</TT></LI>
|
||||
</OL>
|
||||
<P>Examples:
|
||||
<PRE>
|
||||
extern int g_x; // of course, 'x' is not the best name for a global...
|
||||
|
||||
void Bar()
|
||||
{
|
||||
int x;
|
||||
}
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
void SetX(int x) { m_x = x; }
|
||||
private:
|
||||
int m_x;
|
||||
};
|
||||
</PRE>
|
||||
As you see, it also solves once and for all the old C++ programmer's question:
|
||||
how to call <TT>SetX()</TT> parameter? The answer is simple: just call it
|
||||
<TT>x</TT> because there is no ambiguity with <TT>Foo::m_x</TT>.
|
||||
<P>The prefixes can be combined to give <TT>ms_</TT> and <TT>gs_</TT> for static
|
||||
member (a.k.a. class) variables and static global variables.
|
||||
<P>The convention is, of course, completely worthless if it is not followed:
|
||||
nothing like being sure that <TT>x</TT> is a local variable in the code fragment
|
||||
above and discovering later the following lines in the header:
|
||||
<PRE>
|
||||
class Foo {
|
||||
...
|
||||
int x; // I don't like wxWindows naming convention
|
||||
};
|
||||
</PRE>
|
||||
Please do use these prefixes, they make your code much easier to read. Also
|
||||
please notice that it has nothing to do with the so-called <I>Hungarian notation</I>
|
||||
which is used in wxMSW part of wxWindows code and which encodes the <I>type</I>
|
||||
of the variable in its name - it is actually quite useful in C, but has little
|
||||
or no sense in C++.
|
||||
|
||||
<P><LI><A NAME="no_void_param"></A><B>Don't use <TT>void</TT> for functions without
|
||||
arguments</B></LI><P>
|
||||
In ANSI C, <TT>void Foo()</TT> takes an arbitrary number of arbitrarily typed
|
||||
arguments (although the form <TT>void Foo(...)</TT> is preferred) and <TT>void
|
||||
Foo(void)</TT> doesn't take any arguments. In C++, however, the situation is
|
||||
different and both declarations are completely equivalent. As there is no need
|
||||
to write <TT>void</TT> in this situation, let's not write it - it can only be
|
||||
confusing and create an impression that it really means something when it's not
|
||||
at all the case.
|
||||
|
||||
<P><LI><A NAME="no_const_int"></A><B>Don't use <TT>const</TT> for non pointer/reference
|
||||
arguments</B></LI><P>
|
||||
In both C and C++ an argument passed by value cannot be modified - or, more
|
||||
precisely, if it is modified in the called function, only the local copy is
|
||||
really changed, not the caller's variable. So, semantically speaking, there is
|
||||
no difference between <TT>void Foo(int)</TT> and <TT>void Foo(const int)</TT>.
|
||||
However, the <TT>const</TT> keyword is confusing here, adds nothing to the code
|
||||
and even cannot be removed if <TT>Foo()</TT> is virtual and overridden (because
|
||||
the names are mangled differently). So, <I>for arguments passed by value</I>
|
||||
you shouldn't use <TT>const</TT>.
|
||||
<P>Of course, it doesn't apply to functions such as
|
||||
<TT>void PrintMessage(const char *text)</TT> where <TT>const</TT> is mandatory.
|
||||
</OL>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<H3>wxWindows rules</H3>
|
||||
<UL>
|
||||
<P><LI>File location and naming conventions</LI><P>
|
||||
<OL>
|
||||
<P><LI><A NAME="file_locations"></LI><B>File locations</B><P>
|
||||
The wxWindows files for each supported platform have their own subdirectories
|
||||
in "include" and "src". So, for example, there is "src/msw", "include/gtk"
|
||||
etc. There are also two special subdirectories called "common" and
|
||||
"generic". The common subdirectory contains the files which are platform
|
||||
independent (wxObject, wxString, ...) and the generic one the generic
|
||||
implementations of GUI widgets, i.e. those which use only other wxWindows
|
||||
classes to implement them. For the platforms where the given functionality
|
||||
cannot be implemented natively, the generic implementation is used and the native
|
||||
one is used for the others. As I feel that it becomes a bit too confusing,
|
||||
here is an example: wxMessageBox function is implemented natively under
|
||||
Windows (where it just calls MessageBox API), but there is also a generic
|
||||
implementation which is used under, for example, GTK. A generic class should
|
||||
normally have a name that distinguishes it from any platform-specific implementation.
|
||||
A #define will allow wxGenericMessageDialog to be wxMessageDialog on some
|
||||
platforms, for example.
|
||||
|
||||
<P>This scheme applies not only for the .cpp files, but also for the headers.
|
||||
However, as the program using wxWindows should (ideally) not use any
|
||||
"<TT>#ifdef <platform></TT>" at all, the headers are always included with
|
||||
"<TT>#include <wx/msgdlg.h></TT>" (for example). This file, in turn, includes
|
||||
the right header for given platform. Any new headers should conform to this
|
||||
setup as well to allow including <TT><wx/foo.h></TT> on any platform.<P>
|
||||
|
||||
Note that wxWindows implementation files should use quotes when including wxWindows
|
||||
headers, not angled brackets. Applications should use angled brackets. There
|
||||
is a reason for it (can anyone remember what this is?).
|
||||
|
||||
<P><LI><A NAME="include_guards"></LI><B>Include guards</B><P>
|
||||
To minimize the compile time C++ programmers often use so called include
|
||||
guards: for example, in the header file foo.h you might have
|
||||
|
||||
<PRE>
|
||||
#ifndef _FOO_H_
|
||||
#define _FOO_H_
|
||||
|
||||
... all header contents ...
|
||||
|
||||
#endif
|
||||
//_FOO_H_
|
||||
</PRE>
|
||||
|
||||
In this way, the header will only be included once for the compilation
|
||||
of any .cpp (of course, it still will be included many times for the
|
||||
compilation of the whole project, so it has nothing to do with precompiled
|
||||
headers). wxWindows is no exception and also uses include guards which should use
|
||||
the above form, except for top-level headers which include files with identical
|
||||
names, in which case you should use _FOO_H_BASE_.
|
||||
|
||||
<P><LI><A NAME="pch"></LI><B>Precompiled headers</B><P>
|
||||
The precompiled headers greatly (we're speaking about orders of hundreds of
|
||||
percent here) reduce the compilation time. wxWindows uses them if the target
|
||||
compiler supports them (it knows about MS Visual C++, Borland C++ and g++).
|
||||
You should include all the headers included from <TT><wx/wx_prec.h></TT> only
|
||||
inside "<TT>#if !USE_PRECOMP</TT>" to avoid unnecessary overhead in the case
|
||||
when the precompiled headers are used.<P>
|
||||
|
||||
The start of a cpp implementation file after the heading might look like this:<P>
|
||||
|
||||
<PRE>
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "bitmap.h"
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include <stdio.h>
|
||||
#include "wx/setup.h"
|
||||
#include "wx/list.h"
|
||||
#include "wx/utils.h"
|
||||
#include "wx/app.h"
|
||||
#include "wx/palette.h"
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/icon.h"
|
||||
#endif
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
#include "assert.h"
|
||||
</PRE>
|
||||
|
||||
|
||||
<P>Any header file should containg the following lines:
|
||||
<PRE>
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "foo.h"
|
||||
#endif
|
||||
</PRE>
|
||||
and the corresponding .cpp file:
|
||||
<PRE>
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "foo.h"
|
||||
#endif
|
||||
</PRE> for g++ compilation.
|
||||
</OL>
|
||||
|
||||
<P><LI>File layout and indentation</LI><P>
|
||||
<OL>
|
||||
<P><LI><A NAME="wxwin_header"></LI><B>wxWindows standard header</B> <a href="header.txt">here</a>. The
|
||||
copyright holder is the original author. It is assumed the author does not assert copyright,
|
||||
under the terms of the wxWindows licence. This is a legal interpretation of the informal
|
||||
usage 'public domain' (the copyright holder does not assert the copyright).<P>
|
||||
<P><LI><A NAME="indentation"></LI><B>Indent your code with 4 spaces (no tabs!)</B>
|
||||
<P><LI><A NAME="class_decl"></LI><B>Order of parts in a class declarations</B><P>
|
||||
</OL>
|
||||
|
||||
<P><LI>More about naming conventions</LI><P>
|
||||
<OL>
|
||||
<P><LI><A NAME="wx_prefix"></LI><B>Use wx or WX prefix for all public symbols</B>.
|
||||
wx should be used for functions and classes, WX for macros.
|
||||
<P><LI><A NAME="wxdllexport"</LI><B>Use WXDLLEXPORT with all classes/functions in
|
||||
wxMSW/common code</B>
|
||||
The title says it all - every public (in the sense that it is not internal to
|
||||
the library) function or class should have WXDLLEXPORT macro in its
|
||||
declaration to allow compilation of wxWindows as shared library. For example:<P>
|
||||
|
||||
<pre>
|
||||
bool WXDLLEXPORT wxYield(void);
|
||||
class WXDLLEXPORT MyClass; // (for forward declarations and real declarations)
|
||||
WXDLLEXPORT_DATA(extern wxApp*) wxTheApp;
|
||||
</pre>
|
||||
|
||||
The reason for the strange syntax for data is that some compilers use different
|
||||
keyword ordering for exporting data.
|
||||
|
||||
<P>There also several other places where you should take care of shared
|
||||
library case: all IMPLEMENT_xxx macros which are usually used in the
|
||||
corresponding .cpp files must be taken inside
|
||||
"<TT>#if !USE_SHARED_LIBRARY</TT>" and in the <TT>#if USE_SHARED_LIBRARY</TT>
|
||||
case you should put them inside <TT>common/cmndata.cpp</TT> file.
|
||||
|
||||
<P><LI><A NAME="set_get"></LI><B>Use Set/Get prefixes for accessors</B><P>
|
||||
There is a convention in wxWindows to prefix the accessors (i.e. any simple, in
|
||||
general, inline function which does nothing else except changing or returning
|
||||
the value of a member variable) with either <TT>Set</TT> or <TT>Get</TT>.
|
||||
|
||||
<P><LI><A NAME="constants"></LI><B>wxNAMING_CONSTANTS</B><P>
|
||||
The constants in wxWindows code should be defined using <TT>enum</TT> C++
|
||||
keyword (and not with <TT>#define</TT> or <TT>static const int</TT>). They
|
||||
should be declared in the global scope (and not inside class declaration) and
|
||||
their names should start with a <TT>wx</TT> prefix. Finally, the constants
|
||||
should be in all capital letters (except the first 2) to make it easier to
|
||||
distinguish them from the variables with underscores separating the words.
|
||||
|
||||
<P>For example, file-related constants should be declared like this:
|
||||
<pre>
|
||||
enum
|
||||
{
|
||||
wxFILEOPEN_READ,
|
||||
wxFILEOPEN_WRITE,
|
||||
wxFILEOPEN_READWRITE
|
||||
};
|
||||
</pre>
|
||||
|
||||
</OL>
|
||||
|
||||
<P><LI>Miscellaneous</LI><P>
|
||||
<OL>
|
||||
<P><LI><A NAME="forward_decl"></LI><B>Use forward declarations whenever possible</B><P>
|
||||
It's really a trivial piece of advice, but remember that using forward declarations
|
||||
instead of including the header of corresponding class is better because not
|
||||
only does it minimize the compile time, it also simplifies the dependencies
|
||||
between different source files.
|
||||
<P>On a related subject, in general, you should try not to include other
|
||||
headers from a header file.
|
||||
|
||||
<P><LI><A NAME="debug_macros"></LI><B>Use debugging macros</B><P>
|
||||
wxWindows provides the debugging macros <TT>wxASSERT, wxFAIL</TT> and
|
||||
<TT>wxCHECK_RET</TT> in <TT><wx/wx.h></TT> file. Please use them as often as
|
||||
you can - they will never do you any harm but can greatly simplify the bug
|
||||
tracking both for you and for others.
|
||||
<P>Also, please use <TT>wxFAIL_MSG("not implemented")</TT> instead of writing
|
||||
stubs for not (yet) implemented functions which silently return incorrect
|
||||
values - otherwise, a person using a not implemented function has no idea that
|
||||
it is, in fact, not implemented.
|
||||
<P>As all debugging macros only do something useful if the symbol
|
||||
<TT>__WXDEBUG__</TT> is defined, you should compile your programs in debug mode to profit
|
||||
from them.
|
||||
</OL>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
||||
<HR>
|
||||
Please send any comments to <A HREF=mailto:zeitlin@dptmaths.ens-cachan.fr>Vadim Zeitlin</A>.
|
||||
|
||||
</font>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
168
docs/html/wxbook.htm
Normal file
@@ -0,0 +1,168 @@
|
||||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<TITLE>wxWindows Book</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#FF0000 VLINK=#000000>
|
||||
|
||||
<font face="Arial, Lucida Sans, Helvetica">
|
||||
|
||||
<table width=100% border=4 cellpadding=5 cellspacing=0>
|
||||
<tr>
|
||||
<td bgcolor="#660000">
|
||||
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||||
wxWindows Book
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<P>
|
||||
|
||||
<center>
|
||||
<a href="#about">About</a> |
|
||||
<a href="#participants">Participants</a> |
|
||||
<a href="#publication">Publication</a> |
|
||||
<a href="#suggestions">Suggestions</a> |
|
||||
<a href="#format">Format</a> |
|
||||
<a href="#contents">Contents</a>
|
||||
</center>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="about">About the wxWindows book</a></H3>
|
||||
|
||||
Discussions have been taking place on the wxwin-developers list about
|
||||
collaboratively writing a wxWindows book. The concensus is to write a tutorial
|
||||
book for people with reasonable C++ experience, with the possibility of including the API reference either in a very compact
|
||||
form at the back of the book, or as a separate volume. The book would almost certainly
|
||||
contain a CD-ROM with wxWindows and its documentation. It would probably be available
|
||||
for free on-line, publisher permitting.<P>
|
||||
|
||||
Goals for the book:<P>
|
||||
|
||||
<ol>
|
||||
<li> to allow users to become accomplished wxWindows developers rapidly;
|
||||
<li> to be useful over a longer period than just the first few weeks, since
|
||||
there are a lot of complex areas to address and not all features will be
|
||||
used up-front in a project;
|
||||
<li> to promote wxWindows to a wider audience;
|
||||
<li> to make at least some money for the authors.
|
||||
</ol>
|
||||
|
||||
<P>
|
||||
|
||||
Audience: beginners + experienced wxWindows users, but with reasonable C++
|
||||
knowledge.<P>
|
||||
|
||||
It is suggested that any financial return from the book be allocated on a points system,
|
||||
with a predefined number of points for chapters, indexing, editing, proof-reading etc.<P>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="participants">Participants</a></H3>
|
||||
|
||||
So far, the following people are interested in taking part in this project:<P>
|
||||
|
||||
<ul>
|
||||
<li><a href="mailto:tomr@scitechsoft.com">Tom Ryan</a>, SciTech Software.
|
||||
<li><a href="mailto:robin@alldunn.com">Robin Dunn</a>. <i>Chapter on wxPython.</i>
|
||||
<li><a href="mailto:mheck@www.surveyorcorp.com">Matt Heck</a>, SurveyorCorp Inc.
|
||||
<i>
|
||||
<ol>
|
||||
<li>a case study of how and why we've used wxWindows at Surveyor Corp., and
|
||||
how it's worked out so far;
|
||||
<li>an appendix something similar about how to use wxLIVID for video capture and display;
|
||||
<li>proofreading
|
||||
</ol>
|
||||
</i>
|
||||
<li><a href="mailto:julian.smart@ukonline.co.uk">Julian Smart</a>.
|
||||
<li><a href="mailto:zeitlin@dptmaths.ens-cachan.fr">Vadim Zeitlin</a>.
|
||||
<li><a href="mailto:slavik2@czn.cz">Vaclav Slavik</a>. <i>wxHTML section</i>
|
||||
<li><a href="mailto:csomor@advancedconcepts.ch">Stefan Csomor</a>. <i>the sequence of events i.e. which action provokes which event sequence,
|
||||
this is implicit for the use on MSW, but very important for other systems; and porting to new platforms</i>
|
||||
<li><a href="mailto:karsten@phy.hw.ac.uk">Karsten Ballueder</a>. <i>short tutorials on some useful
|
||||
GNU tools, like autoconf/configure/make, programming
|
||||
strategies, etc.</i>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="publication">Publication</a></H3>
|
||||
|
||||
Tom Ryan originally wrote:<P>
|
||||
|
||||
<PRE>
|
||||
Hi Guys,
|
||||
|
||||
I just wanted to let you know that I have spoken with officials here
|
||||
at California State University, Chico and they are potentially
|
||||
interested in publishing a book on wxWindows! A wxWindows
|
||||
book would give wxWindows a great deal of exposure.
|
||||
|
||||
These discussions came out of the fact that CSUC wanted to
|
||||
switch from MFC to wxWindows in their GUI programming classes,
|
||||
but there was not a book available for students to work with.
|
||||
|
||||
I was thinking that the first edition could be primarily the reference
|
||||
documentation combined with a basic wxTutorial and examples. In
|
||||
this case, it would be fairly straightforward to get something out
|
||||
initially and then we could take it from there.
|
||||
</PRE>
|
||||
|
||||
<p>
|
||||
|
||||
<a href="mailto:benles@powernet.net">Ben Allfree</a> has also expressed an interest
|
||||
in publishing a wxWindows book, and distributing it via Amazon. Ben was thinking
|
||||
in terms of a quickie job using the existing reference manual.<P>
|
||||
|
||||
Another publishing name to think of is O'Reilly. They would probably give us a lot
|
||||
of guidance for style, formatting, etc.<P>
|
||||
|
||||
<a href="mailto:Roald.Ribe@winlink.no">Roald Ribe</a> writes:
|
||||
"<a href="http://www.bruceeckel.com/javabook.html" target=_new>Thinking in Java</a>
|
||||
is published both as a PDF for internet (by the author) and in print by Prentice Hall."<P>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="suggestions">Suggestions and comments</a></H3>
|
||||
|
||||
<ul>
|
||||
<li>Chapter on converting from MFC. (Julian Smart)
|
||||
<li>A chapter on why some inconsistencies are almost always going to show up in a
|
||||
multiplatform toolkit, how to avoid them, how to deal with when you have
|
||||
no choice, and (if wxBook explains the internals or philosophy of
|
||||
wxWindows at all) how wxWindows attempts to minimize the number we
|
||||
encounter. (Matt Heck)
|
||||
<li>Creating the shortest possible path to writing "Hello World" from scratch in wxWindows. (Matt Heck)
|
||||
<li>How will royalties for subsequent editions be shared out? (Tom Ryan)
|
||||
<li>"My personal feeling is that this project will wind up being developed
|
||||
by a small team, led by an editor that will wind up doing about half
|
||||
of the total amount of work." (Tom Ryan)
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="format">Text format</a></H3>
|
||||
|
||||
This depends partly on the publisher, but one possibility is to target Word but have
|
||||
submissions in a number of formats including Latex. We should eventually write a style
|
||||
and formatting guide.<P>
|
||||
|
||||
<hr>
|
||||
|
||||
<H3><a name="contents">Contents</a></H3>
|
||||
|
||||
This is open to suggestion.<P>
|
||||
|
||||
Last year, <a href="mailto:mlorenz@visionx.com">Mike Lorenz</a> of <a href="http://www.visionx.com">VisionX</a>
|
||||
suggested this
|
||||
<a href="http://www.visionx.com/wx/tutorial_outline.htm">tutorial outline</a>, which could
|
||||
be a good starting point.<P>
|
||||
|
||||
</font>
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
@@ -137,6 +137,10 @@ Loads the accelerator table from a Windows resource (Windows only).
|
||||
|
||||
\docparam{resource}{Name of a Windows accelerator.}
|
||||
|
||||
\pythonnote{The wxPython constructor accepts a list of
|
||||
wxAcceleratorEntry objects, or 3-tuples consisting of flags, keyCode,
|
||||
and cmd values like you would construct wxAcceleratorEntry objects with.}
|
||||
|
||||
\membersection{wxAcceleratorTable::\destruct{wxAcceleratorTable}}
|
||||
|
||||
\func{}{\destruct{wxAcceleratorTable}}{\void}
|
||||
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 42 KiB |
@@ -54,9 +54,15 @@ when the button is clicked.}
|
||||
|
||||
Default constructor.
|
||||
|
||||
\func{}{wxBitmapButton}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id}, \param{const wxBitmap\& }{bitmap},\rtfsp
|
||||
\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
|
||||
\param{long}{ style = wxBU\_AUTODRAW}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``button"}}
|
||||
\func{}{wxBitmapButton}{
|
||||
\param{wxWindow* }{parent},
|
||||
\param{wxWindowID }{id},
|
||||
\param{const wxBitmap\& }{bitmap},\rtfsp
|
||||
\param{const wxPoint\& }{pos = wxDefaultPosition},
|
||||
\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
|
||||
\param{long }{style = wxBU\_AUTODRAW},
|
||||
\param{const wxValidator\& }{validator = wxDefaultValidator},
|
||||
\param{const wxString\& }{name = ``button"}}
|
||||
|
||||
Constructor, creating and showing a button.
|
||||
|
||||
|
@@ -43,15 +43,21 @@ Copy constructor.
|
||||
\func{}{wxBitmap}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
|
||||
|
||||
Creates a bitmap from the given data, which can be of arbitrary type.
|
||||
Windows only, I think.
|
||||
|
||||
\func{}{wxBitmap}{\param{const char}{ bits[]}, \param{int}{ width}, \param{int}{ height}\\
|
||||
\param{int}{ depth = 1}}
|
||||
|
||||
Creates a bitmap from an array of bits.
|
||||
|
||||
Note that the bit depth is ignored on GTK+ and Motif. If you want to create a bitmap
|
||||
from something else than a 1-bit data array, use the \helpref{wxImage}{wximage} class.
|
||||
|
||||
\func{}{wxBitmap}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
|
||||
|
||||
Creates a new bitmap.
|
||||
Creates a new bitmap. A depth of -1 indicates the depth of the current screen or
|
||||
visual. Some platforms only support 1 for monochrome and -1 for the current colour
|
||||
setting.
|
||||
|
||||
\func{}{wxBitmap}{\param{const char**}{ bits}}
|
||||
|
||||
@@ -137,6 +143,8 @@ Under X, {\it type} defaults to wxBITMAP\_TYPE\_XPM.
|
||||
\pythonnote{Constructors supported by wxPython are:\par
|
||||
\indented{2cm}{\begin{twocollist}
|
||||
\twocolitem{\bf{wxBitmap(name, flag)}}{Loads a bitmap from a file}
|
||||
\twocolitem{\bf{wxBitmap(data, type, width, height, depth=1)}}{Creates
|
||||
a bitmap from the given data, which can be of arbitrary type.}
|
||||
\twocolitem{\bf{wxNoRefBitmap(name, flag)}}{This one won't own the
|
||||
reference, so Python won't call the destructor, this is good for toolbars
|
||||
and such where the parent will manage the bitmap.}
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 45 KiB |
117
docs/latex/wx/boxsizer.tex
Normal file
@@ -0,0 +1,117 @@
|
||||
\section{\class{wxBoxSizer}}\label{wxboxsizer}
|
||||
|
||||
The basic idea behind a box sizer is that windows will most often be laid out in rather
|
||||
simple basic geomerty, typically in a row or a column or several hierachies of either.
|
||||
|
||||
As an exmaple, we will construct a dialog that will contain a text field at the top and
|
||||
two buttons at the bottom. This can be seen as a top-hierarchy column with the text at
|
||||
the top and buttons at the bottom and a low-hierchary row with an OK button to the left
|
||||
and a Cancel button to the right. In many cases (particulary dialogs under Unix and
|
||||
normal frames) the main window will be resizable by the user and this change of size
|
||||
will have to get propagated to its children. In our case, we want the text area to grow
|
||||
with the dialog, whereas the button shall have a fixed size. In addition, there will be
|
||||
a thin border around all controls to make the dialog look nice and - to make matter worse -
|
||||
the buttons shall be centred as the width of the dialog changes.
|
||||
|
||||
It is the unique feature of a box sizer, that it can grow in both directions (height and
|
||||
width) but can distribute its growth in the main direction (horizontal for a row) {\it unevenly}
|
||||
among its children. In our example case, the vertical sizer is supposed to propagate all its
|
||||
height changes to only the text area, not to the button area. This is determined by the {\it option} parameter
|
||||
when adding a window (or another sizer) to a sizer. It is interpreted
|
||||
as a weight factor, i.e. it can be zero, indicating that the window may not be resized
|
||||
at all, or above zero. If several windows have a value above zero, the value is interpreted
|
||||
relative to the sum of all weight factors of the sizer, so when adding two windows with
|
||||
a value of 1, they will both get resized equally much and each half as much as the sizer
|
||||
owning them. Then what do we do when a column sizer changes its width? This behaviour is
|
||||
controlled by {\it flags} (the second parameter of the Add() function): Zero or no flag indicates that
|
||||
the window will get aligned at the left (in a column sizer) and the top (row sizer), whereas
|
||||
wxALIGN\_RIGHT and wxALIGN\_BOTTOM will do what they say. The item can also be centered
|
||||
using the wxCENTRE flag (same as wxCENTER) or it can be forced to grow with the sizer (using
|
||||
the wxGROW flag (same as wxEXPAND)).
|
||||
|
||||
As mentioned above, any window belonging to a sizer may have border, and it can be specified
|
||||
which of the four sides may have this border, using the wxTOP, wxLEFT, wxRIGHT and wxBOTTOM
|
||||
constants or wxALL for all directions (and you may also use wxNORTH, wxWEST etc instead). These
|
||||
flags can be used in combintaion with the alignement flags above as the second paramter of the
|
||||
Add() method using the binary or operator |. The sizer of the border also must be made known,
|
||||
and it is the third parameter in the Add() method. This means, that the entire behaviour of
|
||||
a sizer and its children can be controlled by the three parameters of the Add() method.
|
||||
|
||||
\begin{verbatim}
|
||||
// we want to get a dialog that is stretchable because it
|
||||
// has a text ctrl at the top and two buttons at the bottom
|
||||
|
||||
MyDialog::MyDialog(wxFrame *parent, wxWindowID id, const wxString &title ) :
|
||||
wxDialog( parent, id, title, wxDefaultPosition, wxDefaultSize, wxDIALOG_STYLE | wxRESIZE_BORDER )
|
||||
{
|
||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
// create text ctrl with minimal size 100x60
|
||||
topsizer->Add(
|
||||
new wxTextCtrl( this, -1, "My text.", wxDefaultPosition, wxSize(100,60), wxTE_MULTILINE),
|
||||
1, // make vertically stretchable
|
||||
wxEXPAND | // make horizontally stretchable
|
||||
wxALL, // and make border all around
|
||||
10 ); // set border width to 10
|
||||
|
||||
|
||||
wxBoxSizer *button_sizer = new wxBoxSizer( wxHORIZONTAL );
|
||||
button_sizer->Add(
|
||||
new wxButton( this, wxID_OK, "OK" ),
|
||||
0, // make horizontally unstretchable
|
||||
wxALL, // make border all around (implicit top alignment)
|
||||
10 ); // set border width to 10
|
||||
button_sizer->Add(
|
||||
new wxButton( this, wxID_CANCEL, "Cancel" ),
|
||||
0, // make horizontally unstretchable
|
||||
wxALL, // make border all around (implicit top alignment)
|
||||
10 ); // set border width to 10
|
||||
|
||||
topsizer->Add(
|
||||
button_sizer,
|
||||
0, // make vertically unstretchable
|
||||
wxCENTER ); // no border and centre horizontally
|
||||
|
||||
SetAutoLayout( TRUE ); // tell dialog to use sizer
|
||||
SetSizer( topsizer ); // actually set the sizer
|
||||
|
||||
topsizer->Fit( this ); // set size to minimum size as calculated by the sizer
|
||||
topsizer->SetSizeHints( this ); // set size hints to honour mininum size
|
||||
}
|
||||
\end{verbatim}
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxSizer}{wxsizer}
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer}
|
||||
|
||||
\func{}{wxBoxSizer}{\param{int }{orient}}
|
||||
|
||||
Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL
|
||||
or wxHORIZONTAL for creating either a column sizer or a row sizer.
|
||||
|
||||
\membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes}
|
||||
|
||||
\func{void}{RecalcSizes}{\void}
|
||||
|
||||
Implements the calculation of a box sizer's dimensions and then sets
|
||||
the size of its its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize}
|
||||
if the child is a window). It is used internally only and must not be called
|
||||
by the users. Documented for information.
|
||||
|
||||
\membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
|
||||
|
||||
\func{wxSize}{CalcMin}{\void}
|
||||
|
||||
Implements the calculation of a box sizer's minimal. It is used internally
|
||||
only and must not be called by the users. Documented for information.
|
||||
|
||||
\membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation}
|
||||
|
||||
\func{int}{GetOrientation}{\void}
|
||||
|
||||
Returns the orientation of the boxsizer, either of wxVERTICAL
|
||||
or wxHORIZONTAL.
|
||||
|
@@ -30,6 +30,5 @@ None
|
||||
|
||||
\func{}{wxBusyInfo}{\param{const wxString\&}{ msg}}
|
||||
|
||||
Constructs a busy info object, displays {\it msg} .
|
||||
|
||||
Constructs a busy info object, displays {\it msg}.
|
||||
|
||||
|
@@ -100,9 +100,22 @@ that are not static can have \helpref{validators}{wxvalidator} associated with t
|
||||
|
||||
{\large {\bf Window layout}}
|
||||
|
||||
\overview{Overview}{constraintsoverview}
|
||||
There are two different systems for layouting windows (and dialogs in particluar).
|
||||
One is based upon so-called sizers and it requires less typing, thinking and calculating
|
||||
and will in almost all cases produce dialogs looking equally well on all platforms, the
|
||||
other is based on so-called constraints and allows for more detailed layouts.
|
||||
|
||||
These are the classes relevant to automated window layout.
|
||||
These are the classes relevant to the sizer-based layout.
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{wxSizer}{wxsizer}}{Abstract base class}
|
||||
\twocolitem{\helpref{wxBoxSizer}{wxboxsizer}}{A sizer for laying out windows in a row or column}
|
||||
\twocolitem{\helpref{wxStaticBoxSizer}{wxstaticboxsizer}}{Same as wxBoxSizer, but with surrounding static box}
|
||||
\end{twocollist}
|
||||
|
||||
\overview{Overview}{constraintsoverview} over the constraints-based layout.
|
||||
|
||||
These are the classes relevant to constraints-based window layout.
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}}{Represents a single constraint dimension}
|
||||
@@ -178,9 +191,12 @@ An event object contains information about a specific event. Event handlers
|
||||
\twocolitem{\helpref{wxMouseEvent}{wxmouseevent}}{A mouse event}
|
||||
\twocolitem{\helpref{wxMoveEvent}{wxmoveevent}}{A move event}
|
||||
\twocolitem{\helpref{wxNotebookEvent}{wxnotebookevent}}{A notebook control event}
|
||||
\twocolitem{\helpref{wxNotifyEvent}{wxnotifyevent}}{A notification event, which can be vetoed}
|
||||
\twocolitem{\helpref{wxPaintEvent}{wxpaintevent}}{A paint event}
|
||||
\twocolitem{\helpref{wxProcessEvent}{wxprocessevent}}{A process ending event}
|
||||
\twocolitem{\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent}}{Used to query layout information}
|
||||
\twocolitem{\helpref{wxScrollEvent}{wxscrollevent}}{A scroll event from sliders, stand-alone scrollbars and spin buttons}
|
||||
\twocolitem{\helpref{wxScrollWinEvent}{wxscrollwinevent}}{A scroll event from scrolled windows}
|
||||
\twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{A size event}
|
||||
\twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
|
||||
\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event}
|
||||
@@ -220,6 +236,7 @@ These are the data structure classes supported by wxWindows.
|
||||
\twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region}
|
||||
\twocolitem{\helpref{wxString}{wxstring}}{A string class}
|
||||
\twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings}
|
||||
\twocolitem{\helpref{wxStringTokenizer}{wxstringtokenizer}}{A class for interpreting a string as a list of tokens or words}
|
||||
\twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers}
|
||||
\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}
|
||||
\twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation}
|
||||
@@ -265,7 +282,8 @@ classes, functions and macros.
|
||||
\overview{Overview}{ipcoverview}
|
||||
|
||||
wxWindows provides a simple interprocess communications facilities
|
||||
based on DDE.
|
||||
based on DDE. [Note that this is currently work in progress and may not
|
||||
function properly.]
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\helpref{wxDDEClient}{wxddeclient}}{Represents a client}
|
||||
@@ -275,7 +293,7 @@ based on DDE.
|
||||
\twocolitem{\helpref{wxTCPConnection}{wxtcpconnection}}{Represents the connection between a client and a server}
|
||||
\twocolitem{\helpref{wxTCPServer}{wxtcpserver}}{Represents a server}
|
||||
\twocolitem{\helpref{wxSocketClient}{wxsocketclient}}{Represents a socket client}
|
||||
\twocolitem{\helpref{wxSocketHandler}{wxsockethandler}}{Represents a socket handler}
|
||||
%\twocolitem{\helpref{wxSocketHandler}{wxsockethandler}}{Represents a socket handler}
|
||||
\twocolitem{\helpref{wxSocketServer}{wxsocketserver}}{Represents a socket server}
|
||||
\end{twocollist}
|
||||
|
||||
@@ -375,8 +393,10 @@ libraries, and to provide enhanced functionality.
|
||||
\twocolitem{\helpref{wxOutputStream}{wxoutputstream}}{Output stream class}
|
||||
\twocolitem{\helpref{wxFilterInputStream}{wxfilterinputstream}}{Filtered input stream class}
|
||||
\twocolitem{\helpref{wxFilterOutputStream}{wxfilteroutputstream}}{Filtered output stream class}
|
||||
\twocolitem{\helpref{wxDataInputStream}{wxdatainputstream}}{Platform-independent data input stream class}
|
||||
\twocolitem{\helpref{wxDataOutputStream}{wxdataoutputstream}}{Platform-independent data output stream class}
|
||||
\twocolitem{\helpref{wxDataInputStream}{wxdatainputstream}}{Platform-independent binary data input stream class}
|
||||
\twocolitem{\helpref{wxDataOutputStream}{wxdataoutputstream}}{Platform-independent binary data output stream class}
|
||||
\twocolitem{\helpref{wxTextInputStream}{wxtextinputstream}}{Platform-independent text data input stream class}
|
||||
\twocolitem{\helpref{wxTextOutputStream}{wxtextoutputstream}}{Platform-independent text data output stream class}
|
||||
\twocolitem{\helpref{wxFileInputStream}{wxfileinputstream}}{File input stream class}
|
||||
\twocolitem{\helpref{wxFileOutputStream}{wxfileoutputstream}}{File output stream class}
|
||||
\twocolitem{\helpref{wxZlibInputStream}{wxzlibinputstream}}{Zlib (compression) input stream class}
|
||||
|
@@ -99,7 +99,8 @@ Returns TRUE if it is checked, FALSE otherwise.
|
||||
|
||||
\func{void}{SetValue}{\param{const bool}{ state}}
|
||||
|
||||
Sets the checkbox to the given state.
|
||||
Sets the checkbox to the given state. This does not cause a
|
||||
wxEVT\_COMMAND\_CHECKBOX\_CLICKED event to get emitted.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
|
@@ -90,10 +90,17 @@ Destructor, destroying the choice item.
|
||||
|
||||
Adds the item to the end of the choice control.
|
||||
|
||||
\func{void}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
|
||||
|
||||
Adds the item to the end of the combobox, associating the given data
|
||||
with the item.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{item}{String to add.}
|
||||
|
||||
\docparam{clientData}{Client data to associate with the item.}
|
||||
|
||||
\membersection{wxChoice::Clear}\label{wxchoiceclear}
|
||||
|
||||
\func{void}{Clear}{\void}
|
||||
@@ -133,6 +140,20 @@ Gets the number of columns in this choice item.
|
||||
|
||||
This is implemented for Motif only.
|
||||
|
||||
\membersection{wxChoice::GetClientData}\label{wxchoicegetclientdata}
|
||||
|
||||
\constfunc{void*}{GetClientData}{\param{int}{ n}}
|
||||
|
||||
Returns a pointer to the client data associated with the given item (if any).
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{n}{An item, starting from zero.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
A pointer to the client data, or NULL if the item was not found.
|
||||
|
||||
\membersection{wxChoice::GetSelection}\label{wxchoicegetselection}
|
||||
|
||||
\constfunc{int}{GetSelection}{\void}
|
||||
@@ -165,6 +186,18 @@ Gets the selected string, or the empty string if no string is selected.
|
||||
|
||||
Returns the number of strings in the choice control.
|
||||
|
||||
\membersection{wxChoice::SetClientData}\label{wxchoicesetclientdata}
|
||||
|
||||
\func{void}{SetClientData}{\param{int}{ n}, \param{void* }{data}}
|
||||
|
||||
Associates the given client data pointer with the given item.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{n}{The zero-based item.}
|
||||
|
||||
\docparam{data}{The client data.}
|
||||
|
||||
\membersection{wxChoice::SetColumns}\label{wxchoicesetcolumns}
|
||||
|
||||
\func{void}{SetColumns}{\param{int}{ n = 1}}
|
||||
@@ -183,7 +216,8 @@ This is implemented for Motif only.
|
||||
|
||||
\func{void}{SetSelection}{\param{int}{ n}}
|
||||
|
||||
Sets the choice by passing the desired string position.
|
||||
Sets the choice by passing the desired string position. This does not cause
|
||||
a wxEVT\_COMMAND\_CHOICE\_SELECTED event to get emitted.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
@@ -197,7 +231,8 @@ Sets the choice by passing the desired string position.
|
||||
|
||||
\func{void}{SetStringSelection}{\param{const wxString\& }{ string}}
|
||||
|
||||
Sets the choice by passing the desired string.
|
||||
Sets the choice by passing the desired string. This does not cause
|
||||
a wxEVT\_COMMAND\_CHOICE\_SELECTED event to get emitted.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
|
@@ -9,6 +9,7 @@
|
||||
\input array.tex
|
||||
\input arrstrng.tex
|
||||
\input autoobj.tex
|
||||
\input boxsizer.tex
|
||||
\input busycurs.tex
|
||||
\input busyinfo.tex
|
||||
\input button.tex
|
||||
@@ -172,16 +173,20 @@
|
||||
\input sashevt.tex
|
||||
\input sashlayw.tex
|
||||
\input sashwin.tex
|
||||
\input sbsizer.tex
|
||||
\input screendc.tex
|
||||
\input scrolbar.tex
|
||||
\input scrlwevt.tex
|
||||
\input scrolevt.tex
|
||||
\input scrolwin.tex
|
||||
\input sngchdlg.tex
|
||||
\input size.tex
|
||||
\input sizeevt.tex
|
||||
\input sizer.tex
|
||||
\input slider.tex
|
||||
\input sckaddr.tex
|
||||
\input socket.tex
|
||||
%\input gsocket.tex
|
||||
\input splitevt.tex
|
||||
\input strmsock.tex
|
||||
\input spinbutt.tex
|
||||
@@ -215,6 +220,7 @@
|
||||
\input thread.tex
|
||||
\input time.tex
|
||||
\input timer.tex
|
||||
\input tipprov.tex
|
||||
\input toolbar.tex
|
||||
\input treectrl.tex
|
||||
\input treeevt.tex
|
||||
|
@@ -26,11 +26,11 @@ For example:
|
||||
// Read some text
|
||||
if (wxTheClipboard->Open())
|
||||
{
|
||||
wxTextDataObject data;
|
||||
if (wxTheClipboard->IsSupported(data))
|
||||
if (wxTheClipboard->IsSupported( "STRING" ))
|
||||
{
|
||||
wxTheClipboard->GetData(data);
|
||||
wxMessageBox(data.GetText());
|
||||
wxTextDataObject data;
|
||||
wxTheClipboard->GetData( &data );
|
||||
wxMessageBox( data.GetText() );
|
||||
}
|
||||
wxTheClipboard->Close();
|
||||
}
|
||||
@@ -83,14 +83,14 @@ Call this function to close the clipboard, having opened it with \helpref{wxClip
|
||||
|
||||
\membersection{wxClipboard::GetData}\label{wxclipboardgetdata}
|
||||
|
||||
\func{bool}{GetData}{\param{wxDataObject\&}{ data}}
|
||||
\func{bool}{GetData}{\param{wxDataObject*}{ data}}
|
||||
|
||||
Call this function to fill {\it data} with data on the clipboard, if available in the required
|
||||
format. Returns TRUE on success.
|
||||
|
||||
\membersection{wxClipboard::IsSupported}\label{wxclipboardissupported}
|
||||
|
||||
\func{bool}{IsSupported}{\param{wxDataObject\&}{ data}}
|
||||
\func{bool}{IsSupported}{\param{wxDataFormat}{ format}}
|
||||
|
||||
Returns TRUE if the format of the given data object is available on the clipboard.
|
||||
|
||||
@@ -114,3 +114,12 @@ Call this function to set the data object to the clipboard. This function will
|
||||
clear all previous contents in the clipboard, so calling it several times
|
||||
does not make any sense.
|
||||
|
||||
\membersection{wxClipboard::UsePrimarySelection}\label{wxclipboarduseprimary}
|
||||
|
||||
\func{void}{UsePrimarySelection}{\param{bool}{ primary = TRUE}}
|
||||
|
||||
On platforms supporting it (currently only GTK), selects the so called
|
||||
PRIMARY SELECTION as the clipboard as opposed to the normal clipboard,
|
||||
if {\it primary} is TRUE.
|
||||
|
||||
|
||||
|
@@ -80,10 +80,10 @@ which is generated by a control.}
|
||||
|
||||
\membersection{wxCommandEvent::m\_clientData}
|
||||
|
||||
\member{char*}{m\_clientData}
|
||||
\member{void*}{m\_clientData}
|
||||
|
||||
Contains a pointer to client data for listboxes and choices, if the event
|
||||
was a selection.
|
||||
was a selection. Beware, this is not implemented anyway...
|
||||
|
||||
\membersection{wxCommandEvent::m\_commandInt}
|
||||
|
||||
@@ -123,10 +123,10 @@ Returns TRUE or FALSE for a checkbox selection event.
|
||||
|
||||
\membersection{wxCommandEvent::GetClientData}
|
||||
|
||||
\func{char*}{GetClientData}{\void}
|
||||
\func{void*}{GetClientData}{\void}
|
||||
|
||||
Returns client data pointer for a listbox or choice selection event
|
||||
(not valid for a deselection).
|
||||
(not valid for a deselection). Beware, this is not implmented anywhere...
|
||||
|
||||
\membersection{wxCommandEvent::GetExtraLong}
|
||||
|
||||
@@ -163,7 +163,7 @@ is a deselection.
|
||||
|
||||
\membersection{wxCommandEvent::SetClientData}
|
||||
|
||||
\func{void}{SetClientData}{\param{char*}{ clientData}}
|
||||
\func{void}{SetClientData}{\param{void*}{ clientData}}
|
||||
|
||||
Sets the client data for this event.
|
||||
|
||||
|
@@ -21,7 +21,7 @@ A combobox permits a single selection only. Combobox items are numbered from zer
|
||||
\wxheading{Window styles}
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{\windowstyle{wxCB\_SIMPLE}}{Creates a combobox with a permanently displayed list.}
|
||||
\twocolitem{\windowstyle{wxCB\_SIMPLE}}{Creates a combobox with a permanently displayed list. Windows only. }
|
||||
\twocolitem{\windowstyle{wxCB\_DROPDOWN}}{Creates a combobox with a drop-down list.}
|
||||
\twocolitem{\windowstyle{wxCB\_READONLY}}{Creates a combo box consisting of a drop-down list and static text item
|
||||
displaying the current selection.}
|
||||
@@ -102,7 +102,7 @@ Destructor, destroying the combobox.
|
||||
|
||||
Adds the item to the end of the combobox.
|
||||
|
||||
\func{void}{Append}{\param{const wxString\& }{ item}, \param{char* }{clientData}}
|
||||
\func{void}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
|
||||
|
||||
Adds the item to the end of the combobox, associating the given data
|
||||
with the item.
|
||||
@@ -168,7 +168,7 @@ The position if found, or -1 if not found.
|
||||
|
||||
\membersection{wxComboBox::GetClientData}\label{wxcomboboxgetclientdata}
|
||||
|
||||
\constfunc{char*}{GetClientData}{\param{int}{ n}}
|
||||
\constfunc{void*}{GetClientData}{\param{int}{ n}}
|
||||
|
||||
Returns a pointer to the client data associated with the given item (if any).
|
||||
|
||||
@@ -265,7 +265,7 @@ Removes the text between the two positions in the combobox text field.
|
||||
|
||||
\membersection{wxComboBox::SetClientData}\label{wxcomboboxsetclientdata}
|
||||
|
||||
\func{void}{SetClientData}{\param{int}{ n}, \param{char* }{data}}
|
||||
\func{void}{SetClientData}{\param{int}{ n}, \param{void* }{data}}
|
||||
|
||||
Associates the given client data pointer with the given item.
|
||||
|
||||
@@ -295,7 +295,8 @@ Sets the insertion point at the end of the combobox text field.
|
||||
|
||||
\func{void}{SetSelection}{\param{int}{ n}}
|
||||
|
||||
Selects the given item in the combobox list.
|
||||
Selects the given item in the combobox list. This does not cause a
|
||||
wxEVT\_COMMAND\_COMBOBOX\_SELECTED event to get emitted.
|
||||
|
||||
\func{void}{SetSelection}{\param{long}{ from}, \param{long}{ to}}
|
||||
|
||||
@@ -309,6 +310,9 @@ Selects the text between the two positions, in the combobox text field.
|
||||
|
||||
\docparam{to}{The second position.}
|
||||
|
||||
\pythonnote{The second form of this method is called \tt{SetMark} in
|
||||
wxPython.}
|
||||
|
||||
\membersection{wxComboBox::SetValue}\label{wxcomboboxsetvalue}
|
||||
|
||||
\func{void}{SetValue}{\param{const wxString\& }{text}}
|
||||
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 105 KiB |
@@ -3,9 +3,33 @@
|
||||
% ----------------------------------------------------------------------------
|
||||
\section{\class{wxDataInputStream}}\label{wxdatainputstream}
|
||||
|
||||
This class provides functions that read data types in a
|
||||
portable way. So, a file written by an Intel processor can be read by a
|
||||
Sparc or anything else.
|
||||
This class provides functions that read binary data types in a
|
||||
portable way. Data can be read in either big-endian or litte-endian
|
||||
format, little-endian being the default on all architectures.
|
||||
|
||||
If you want to read data from text files (or streams) use
|
||||
\helpref{wxTextInputStream}{wxtextinputstream} instead.
|
||||
|
||||
The >> operator is overloaded and you can use this class like a standard C++ iostream.
|
||||
Note, however, that the arguments are the fixed size types wxUint32, wxInt32 etc
|
||||
and on a typical 32-bit computer, none of these match to the "long" type (wxInt32
|
||||
is defined as signed int on 32-bit architectures) so that you cannot use long. To avoid
|
||||
problems (here and elsewhere), make use of the wxInt32, wxUint32, etc types.
|
||||
|
||||
For example:
|
||||
\begin{verbatim}
|
||||
wxFileInputStream input( "mytext.dat" );
|
||||
wxDataInputStream store( input );
|
||||
wxUint8 i1;
|
||||
float f2;
|
||||
wxString line;
|
||||
|
||||
store >> i1; // read a 8 bit integer.
|
||||
store >> i1 >> f2; // read a 8 bit integer followed by float.
|
||||
store >> line; // read a text line
|
||||
\end{verbatim}
|
||||
|
||||
See also \helpref{wxDataOutputStream}{wxdataoutputstream}.
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
@@ -30,21 +54,30 @@ be available.
|
||||
|
||||
Destroys the wxDataInputStream object.
|
||||
|
||||
\membersection{wxDataInputStream::BigEndianOrdered}
|
||||
|
||||
\func{void}{BigEndianOrdered}{\param{bool}{ be_order}}
|
||||
|
||||
If {\it be_order} is TRUE, all data will be read in big-endian
|
||||
order, such as written by programs on a big endian architecture
|
||||
(e.g. Sparc) or written by Java-Streams (which always use
|
||||
big-endian order).
|
||||
|
||||
\membersection{wxDataInputStream::Read8}
|
||||
|
||||
\func{unsigned char}{Read8}{\void}
|
||||
\func{wxUint8}{Read8}{\void}
|
||||
|
||||
Reads a single byte from the stream.
|
||||
|
||||
\membersection{wxDataInputStream::Read16}
|
||||
|
||||
\func{unsigned short}{Read16}{\void}
|
||||
\func{wxUint16}{Read16}{\void}
|
||||
|
||||
Reads a 16 bit integer from the stream.
|
||||
|
||||
\membersection{wxDataInputStream::Read32}
|
||||
|
||||
\func{unsigned long}{Read32}{\void}
|
||||
\func{wxUint32}{Read32}{\void}
|
||||
|
||||
Reads a 32 bit integer from the stream.
|
||||
|
||||
@@ -68,17 +101,26 @@ reads the string.
|
||||
|
||||
\section{\class{wxDataOutputStream}}\label{wxdataoutputstream}
|
||||
|
||||
This class provides functions that write data types in a
|
||||
portable way. So, a file written by an Intel processor can be read by a
|
||||
Sparc or anything else.
|
||||
This class provides functions that write binary data types in a
|
||||
portable way. Data can be written in either big-endian or litte-endian
|
||||
format, little-endian being the default on all architectures.
|
||||
|
||||
If you want to write data to text files (or streams) use
|
||||
\helpref{wxTextOutputStream}{wxtextoutputstream} instead.
|
||||
|
||||
The << operator is overloaded and you can use this class like a standard
|
||||
C++ iostream. See \helpref{wxDataInputStream}{wxdatainputstream} for its
|
||||
usage and caveats.
|
||||
|
||||
See also \helpref{wxDataInputStream}{wxdatainputstream}.
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxDataOutputStream::wxDataOutputStream}\label{wxdataoutputstreamconstr}
|
||||
|
||||
\func{}{wxDataInputStream}{\param{wxOutputStream\&}{ stream}}
|
||||
\func{}{wxDataOutputStream}{\param{wxOutputStream\&}{ stream}}
|
||||
|
||||
Constructs a datastream object from an output stream. Only read methods will
|
||||
Constructs a datastream object from an output stream. Only write methods will
|
||||
be available.
|
||||
|
||||
\wxheading{Parameters}
|
||||
@@ -91,21 +133,30 @@ be available.
|
||||
|
||||
Destroys the wxDataOutputStream object.
|
||||
|
||||
\membersection{wxDataOutputStream::BigEndianOrdered}
|
||||
|
||||
\func{void}{BigEndianOrdered}{\param{bool}{ be_order}}
|
||||
|
||||
If {\it be_order} is TRUE, all data will be written in big-endian
|
||||
order, e.g. for reading on a Sparc or from Java-Streams (which
|
||||
always use big-endian order), otherwise data will be written in
|
||||
little-endian order.
|
||||
|
||||
\membersection{wxDataOutputStream::Write8}
|
||||
|
||||
\func{void}{wxDataOutputStream::Write8}{{\param unsigned char }{i8}}
|
||||
\func{void}{wxDataOutputStream::Write8}{{\param wxUint8 }{i8}}
|
||||
|
||||
Writes the single byte {\it i8} to the stream.
|
||||
|
||||
\membersection{wxDataOutputStream::Write16}
|
||||
|
||||
\func{void}{wxDataOutputStream::Write16}{{\param unsigned short }{i16}}
|
||||
\func{void}{wxDataOutputStream::Write16}{{\param wxUint16 }{i16}}
|
||||
|
||||
Writes the 16 bit integer {\it i16} to the stream.
|
||||
|
||||
\membersection{wxDataOutputStream::Write32}
|
||||
|
||||
\func{void}{wxDataOutputStream::Write32}{{\param unsigned long }{i32}}
|
||||
\func{void}{wxDataOutputStream::Write32}{{\param wxUint32 }{i32}}
|
||||
|
||||
Writes the 32 bit integer {\it i32} to the stream.
|
||||
|
||||
@@ -121,3 +172,4 @@ Writes the double {\it f} to the stream using the IEEE format.
|
||||
|
||||
Writes {\it string} to the stream. Actually, this method writes the size of
|
||||
the string before writing {\it string} itself.
|
||||
|
||||
|
@@ -53,8 +53,8 @@ released for each drawing operation.
|
||||
\membersection{wxDC::Blit}\label{wxdcblit}
|
||||
|
||||
\func{bool}{Blit}{\param{long}{ xdest}, \param{long}{ ydest}, \param{long}{ width}, \param{long}{ height},
|
||||
\param{wxDC* }{source}, \param{long}{ xsrc}, \param{long}{ ysrc}, \param{int}{ logicalFunc},
|
||||
\param{bool }{useMask}}
|
||||
\param{wxDC* }{source}, \param{long}{ xsrc}, \param{long}{ ysrc}, \param{int}{ logicalFunc = wxCOPY},
|
||||
\param{bool }{useMask = FALSE}}
|
||||
|
||||
Copy from a source DC to this DC, specifying the destination
|
||||
coordinates, size of area to copy, source DC, source coordinates, and
|
||||
@@ -104,7 +104,7 @@ There is partial support for Blit in wxPostScriptDC, under X.
|
||||
|
||||
See \helpref{wxMemoryDC}{wxmemorydc} for typical usage.
|
||||
|
||||
wxheading{See also}
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxBitmap}{wxbitmap}, \helpref{wxMask}{wxmask}
|
||||
|
||||
@@ -418,6 +418,9 @@ Gets the current pen (see \helpref{wxDC::SetPen}{wxdcsetpen}).
|
||||
Sets {\it colour} to the colour at the specified location. Windows only; an X implementation
|
||||
is being worked on. Not available for wxPostScriptDC or wxMetafileDC.
|
||||
|
||||
\pythonnote{For wxPython the wxColour value is returned and is not
|
||||
required as a parameter.}
|
||||
|
||||
\membersection{wxDC::GetSize}\label{wxdcgetsize}
|
||||
|
||||
\func{void}{GetSize}{\param{long *}{width}, \param{long *}{height}}
|
||||
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 16 KiB |
@@ -303,7 +303,7 @@ a code to the application. The function \helpref{wxDialog::EndModal}{wxdialogend
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
|
||||
\helpref{wxDialog::GetReturnCode}{wxdialoggetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
|
||||
\helpref{wxDialog::EndModal}{wxdialogendmodal}
|
||||
|
||||
\membersection{wxDialog::SetTitle}\label{wxdialogsettitle}
|
||||
@@ -341,12 +341,11 @@ Shows a modal dialog. Program flow does not return until the dialog has been dis
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
The return value is the value set with \helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode}.
|
||||
The return value is the value set with \helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxDialog::EndModal}{wxdialogendmodal},\rtfsp
|
||||
\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode},\rtfsp
|
||||
\helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode}
|
||||
|
||||
\helpref{wxDialog:GetReturnCode}{wxdialoggetreturncode},\rtfsp
|
||||
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}
|
||||
|
||||
|
@@ -287,17 +287,9 @@ typedef enum {
|
||||
|
||||
Returns the word value of the expression.
|
||||
|
||||
\membersection{wxExpr::WriteLispExpr}\label{wxexprwritelistexpr}
|
||||
\membersection{wxExpr::WriteClause}\label{wxexprwriteprologclause}
|
||||
|
||||
\func{void}{WriteLispExpr}{\param{ostream\&}{ stream}}
|
||||
|
||||
Writes the expression or clause to the given stream in LISP format.
|
||||
Not normally needed, since the whole {\bf wxExprDatabase} will usually
|
||||
be written at once. Lists are enclosed in parentheses will no commas.
|
||||
|
||||
\membersection{wxExpr::WritePrologClause}\label{wxexprwriteprologclause}
|
||||
|
||||
\func{void}{WritePrologClause}{\param{ostream\&}{ stream}}
|
||||
\func{void}{WriteClause}{\param{FILE *}{ stream}}
|
||||
|
||||
Writes the clause to the given stream in Prolog format. Not normally needed, since
|
||||
the whole {\bf wxExprDatabase} will usually be written at once. The format is:
|
||||
@@ -306,7 +298,7 @@ full stop.
|
||||
|
||||
\membersection{wxExpr::WriteExpr}\label{wxexprwriteexpr}
|
||||
|
||||
\func{void}{WriteExpr}{\param{ostream\&}{ stream}}
|
||||
\func{void}{WriteExpr}{\param{FILE *}{ stream}}
|
||||
|
||||
Writes the expression (not clause) to the given stream in Prolog
|
||||
format. Not normally needed, since the whole {\bf wxExprDatabase} will
|
||||
@@ -494,15 +486,9 @@ Reads in the given file, returning TRUE if successful.
|
||||
Reads a Prolog database from the given string buffer, returning TRUE if
|
||||
successful.
|
||||
|
||||
\membersection{wxExprDatabase::WriteLisp}\label{wxexprdatabasewritelisp}
|
||||
|
||||
\func{bool}{WriteLisp}{\param{ostream\& }{stream}}
|
||||
|
||||
Writes the database as a LISP-format file.
|
||||
|
||||
\membersection{wxExprDatabase::Write}\label{wxexprdatabasewrite}
|
||||
|
||||
\func{bool}{Write}{\param{ostream\& }{stream}}
|
||||
\func{bool}{Write}{\param{FILE *}{stream}}
|
||||
|
||||
\func{bool}{Write}{\param{const wxString\&}{ filename}}
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% filesystem.tex at 21/Mar/99 23:00:52
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxFileSystem}}\label{wxfilesystem}
|
||||
|
||||
This class provides interface for opening files on different
|
||||
@@ -21,10 +20,8 @@ wxObject
|
||||
\helpref{wxFSFile}{wxfsfile},
|
||||
\helpref{Overview}{fs}
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxFileSystem::wxFileSystem}\label{wxfilesystemwxfilesystem}
|
||||
|
||||
\func{}{wxFileSystem}{\void}
|
||||
@@ -63,14 +60,12 @@ fs -> ChangePathTo("subdir/folder", TRUE);
|
||||
f = fs -> OpenFile("hello.htm"); // opens file 'subdir/folder/hello.htm' !!
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\membersection{wxFileSystem::GetPath}\label{wxfilesystemgetpath}
|
||||
|
||||
\func{wxString}{GetPath}{\void}
|
||||
|
||||
Returns actual path (set by \helpref{ChangePathTo}{wxfilesystemchangepathto}).
|
||||
|
||||
|
||||
\membersection{wxFileSystem::OpenFile}\label{wxfilesystemopenfile}
|
||||
|
||||
\func{wxFSFile*}{OpenFile}{\param{const wxString\& }{location}}
|
||||
@@ -80,7 +75,6 @@ or NULL if failed. It first tries to open the file in relative scope
|
||||
(based on value passed to ChangePathTo() method) and then as an
|
||||
absolute path.
|
||||
|
||||
|
||||
\membersection{wxFileSystem::AddHandler}\label{wxfilesystemaddhandler}
|
||||
|
||||
\func{static void}{AddHandler}{\param{wxFileSystemHandler }{*handler}}
|
||||
@@ -90,12 +84,13 @@ The \helpref{handlers}{wxfilesystemhandler} provide access to virtual FS.
|
||||
|
||||
\wxheading{Note}
|
||||
|
||||
You can call
|
||||
You can call:
|
||||
|
||||
\begin{verbatim}
|
||||
wxFileSystem::AddHandler(new My_FS_Handler);
|
||||
\end{verbatim}
|
||||
|
||||
This is because a) AddHandler is static method and b) the handlers
|
||||
This is because (a) AddHandler is a static method, and (b) the handlers
|
||||
are deleted in wxFileSystem's destructor so that you don't have to
|
||||
care about it.
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% filesystemhandler.tex at 21/Mar/99 23:00:52
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxFileSystemHandler}}\label{wxfilesystemhandler}
|
||||
|
||||
wxFileSystemHandler (or derived classes to be exact) is used
|
||||
@@ -17,7 +16,6 @@ GetAnchor, GetMimeTypeFromExt.
|
||||
Please have a look at \helpref{overview}{fs} if you don't know how locations
|
||||
are constructed.
|
||||
|
||||
|
||||
\wxheading{Notes}
|
||||
|
||||
\begin{itemize}
|
||||
@@ -39,7 +37,6 @@ wxObject
|
||||
\helpref{wxFSFile}{wxfsfile},
|
||||
\helpref{Overview}{fs}
|
||||
|
||||
|
||||
\membersection{wxFileSystemHandler::wxFileSystemHandler}\label{wxfilesystemhandlerwxfilesystemhandler}
|
||||
|
||||
\func{}{wxFileSystemHandler}{\void}
|
||||
@@ -78,15 +75,13 @@ for details how to use it.}
|
||||
|
||||
\docparam{location}{The {\bf absolute} location of file.}
|
||||
|
||||
|
||||
|
||||
\membersection{wxFileSystemHandler::GetProtocol}\label{wxfilesystemhandlergetprotocol}
|
||||
|
||||
\constfunc{wxString}{GetProtocol}{\param{const wxString\& }{location}}
|
||||
|
||||
Returns protocol string extracted from {\it location}.
|
||||
|
||||
Example : GetProtocol("file:myzipfile.zip\#zip:index.htm") == "zip"
|
||||
Example: GetProtocol("file:myzipfile.zip\#zip:index.htm") == "zip"
|
||||
|
||||
\membersection{wxFileSystemHandler::GetLeftLocation}\label{wxfilesystemhandlergetleftlocation}
|
||||
|
||||
@@ -94,8 +89,7 @@ Example : GetProtocol("file:myzipfile.zip\#zip:index.htm") == "zip"
|
||||
|
||||
Returns left location string extracted from {\it location}.
|
||||
|
||||
Example : GetLeftLocation("file:myzipfile.zip\#zip:index.htm") == "file:myzipfile.zip"
|
||||
|
||||
Example: GetLeftLocation("file:myzipfile.zip\#zip:index.htm") == "file:myzipfile.zip"
|
||||
|
||||
\membersection{wxFileSystemHandler::GetAnchor}\label{wxfilesystemhandlergetanchor}
|
||||
|
||||
@@ -116,7 +110,6 @@ Returns right location string extracted from {\it location}.
|
||||
|
||||
Example : GetRightLocation("file:myzipfile.zip\#zip:index.htm") == "index.htm"
|
||||
|
||||
|
||||
\membersection{wxFileSystemHandler::GetMimeTypeFromExt}\label{wxfilesystemhandlergetmimetypefromext}
|
||||
|
||||
\func{wxString}{GetMimeTypeFromExt}{\param{const wxString\& }{location}}
|
||||
|
@@ -41,7 +41,8 @@ wxSWISS\_FONT}
|
||||
Default constructor.
|
||||
|
||||
\func{}{wxFont}{\param{int}{ pointSize}, \param{int}{ family}, \param{int}{ style}, \param{int}{ weight},
|
||||
\param{const bool}{ underline = FALSE}, \param{const wxString\& }{faceName = ""}}
|
||||
\param{const bool}{ underline = FALSE}, \param{const wxString\& }{faceName = ""},
|
||||
\param{wxFontEncoding }{encoding = wxFONTENCODING\_DEFAULT}}
|
||||
|
||||
Creates a font object.
|
||||
|
||||
@@ -70,6 +71,22 @@ Creates a font object.
|
||||
\docparam{faceName}{An optional string specifying the actual typeface to be used. If the empty string,
|
||||
a default typeface will chosen based on the family.}
|
||||
|
||||
\docparam{encoding}{An encoding which may be one of
|
||||
\twocolwidtha{5cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf wxFONTENCODING\_SYSTEM}}{Default system encoding.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_DEFAULT}}{Default application encoding: this
|
||||
is the encoding set by calls to
|
||||
\helpref{SetDefaultEncoding}{wxfontsetdefaultencoding} and which may beset to,
|
||||
say, KOI8 to create all fonts by default with KOI8 encoding. Initially, the
|
||||
default application encoding is the same as default system encoding.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_ISO8859\_1...15}}{ISO8859 encodings.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_KOI8}}{The standard russian encoding for Internet.}
|
||||
\twocolitem{{\bf wxFONTENCODING\_CP1250...1252}}{Windows encodings similar to ISO8859 (but not identical).}
|
||||
\end{twocollist}
|
||||
If the specified encoding isn't available, no font is created.
|
||||
}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
If the desired font does not exist, the closest match will be chosen.
|
||||
|
@@ -1,24 +1,22 @@
|
||||
\section{File Systems}\label{fs}
|
||||
|
||||
The wxHTML library uses {\bf virtual file systems} mechanism
|
||||
similar to the one used in Midnight Commander or Dos Navigator or
|
||||
The wxHTML library uses a {\bf virtual file systems} mechanism
|
||||
similar to the one used in Midnight Commander, Dos Navigator,
|
||||
FAR or almost any modern file manager. (Do you remember? You can
|
||||
press enter on ZIP file and it's content is displayed like it's
|
||||
a directory...)
|
||||
press enter on ZIP file and its contents is displayed as if it
|
||||
were a local directory...)
|
||||
|
||||
\wxheading{Classes}
|
||||
|
||||
Three classes are used in order to provide full VFS:
|
||||
|
||||
\begin{itemize}
|
||||
\item \helpref{wxFSFile}{wxfsfile} class provides information
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item The \helpref{wxFSFile}{wxfsfile} class provides information
|
||||
on opened file (name, input stream, mime type and anchor).
|
||||
|
||||
\item \helpref{wxFileSystem}{wxfilesystem} class is interface.
|
||||
It's main methods are ChangePathTo() and OpenFile(). This class
|
||||
\item The \helpref{wxFileSystem}{wxfilesystem} class is the interface.
|
||||
Its main methods are ChangePathTo() and OpenFile(). This class
|
||||
is most often used by the end user.
|
||||
|
||||
\item \helpref{wxFileSystemHandler}{wxfilesystemhandler} is the core
|
||||
\item The \helpref{wxFileSystemHandler}{wxfilesystemhandler} is the core
|
||||
if VFS mechanism. You can derive your own handler and pass it to
|
||||
wxFileSystem's AddHandler() method. In the new handler you only need to
|
||||
overwrite OpenFile() and CanOpen() methods.
|
||||
@@ -28,17 +26,14 @@ overwrite OpenFile() and CanOpen() methods.
|
||||
|
||||
Locations (aka filenames aka addresses) are constructed from 4 parts:
|
||||
|
||||
\begin{itemize}
|
||||
\item {\bf protocol} - handler can regonize if it is able to open some
|
||||
file by checking it's protocol. Examples are "http", "file" or "ftp"
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item {\bf protocol} - handler can recognize if it is able to open a
|
||||
file by checking its protocol. Examples are "http", "file" or "ftp".
|
||||
\item {\bf right location} - is the name of file within the protocol.
|
||||
In "http://www.wxwindows.org/index.html" the right location is "//www.wxwindows.org/index.html"
|
||||
|
||||
In "http://www.wxwindows.org/index.html" the right location is "//www.wxwindows.org/index.html".
|
||||
\item {\bf anchor} - anchor is optional and is usually not present.
|
||||
In "index.htm\#chapter2" the anchor is "chapter2"
|
||||
|
||||
\item {\bf left location} - this is usually empty string.
|
||||
In "index.htm\#chapter2" the anchor is "chapter2".
|
||||
\item {\bf left location} - this is usually an empty string.
|
||||
It is used by 'local' protocols such as ZIP.
|
||||
See Combined Protocols paragraph for details.
|
||||
\end{itemize}
|
||||
@@ -56,17 +51,17 @@ In this example, protocol is "zip", left location is
|
||||
is "file:archives/cpp_doc.zip". It is used by zip handler
|
||||
to determine in what file this particular zip VFS is stored.
|
||||
|
||||
In fact there are two protocols used in this example : zip and file.
|
||||
In fact there are two protocols used in this example: zip and file.
|
||||
You can construct even more complicated addresses like this one:
|
||||
|
||||
http://www.archives.org/myarchive.zip\#zip:local/docs/cpp/stdio.zip\#zip:index.htm
|
||||
|
||||
In this example you access zip VFS stdio.zip stored in another zip (myarchive.zip)
|
||||
which is at WWW. Enjoy it :-)
|
||||
which is at WWW.
|
||||
|
||||
\wxheading{File Systems Included in wxHTML}
|
||||
|
||||
\begin{enumerate}
|
||||
\begin{enumerate}\itemsep=0pt
|
||||
\item Local files
|
||||
\item HTTP protocol
|
||||
\item FTP protocol
|
||||
|
121
docs/latex/wx/fsfile.tex
Normal file
@@ -0,0 +1,121 @@
|
||||
%
|
||||
% automatically generated by HelpGen from
|
||||
% fsfile.tex at 21/Mar/99 23:00:52
|
||||
%
|
||||
|
||||
\section{\class{wxFSFile}}\label{wxfsfile}
|
||||
|
||||
This class represents single file opened by \helpref{wxFileSystem}{wxfilesystem}.
|
||||
It provides more information than wx's input stream
|
||||
(stream, filename, mime type, anchor).
|
||||
|
||||
{\bf Note:} Any pointer returned by wxFSFile's member is valid
|
||||
only as long as wxFSFile object exits. For example call to GetStream()
|
||||
doesn't {\it create} the stream but only returns the pointer to it. In
|
||||
other words after 10 calls to GetStream() you'll obtain ten identical
|
||||
pointers.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
wxObject
|
||||
|
||||
\wxheading{See Also}
|
||||
|
||||
\helpref{wxFileSystemHandler}{wxfilesystemhandler},
|
||||
\helpref{wxFileSystem}{wxfilesystem},
|
||||
\helpref{Overview}{fs}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxFSFile::wxFSFile}\label{wxfsfilewxfsfile}
|
||||
|
||||
\func{}{wxFSFile}{\param{wxInputStream }{*stream}, \param{const wxString\& }{loc}, \param{const wxString\& }{mimetype}, \param{const wxString\& }{anchor}}
|
||||
|
||||
Constructor. You probably won't use it. See Notes for details.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{stream}{The input stream that will be used to access data}
|
||||
|
||||
\docparam{location}{The full location (aka filename) of the file}
|
||||
|
||||
\docparam{mimetype}{MIME type of this file. Mime type is either extension-based or HTTP Content-Type}
|
||||
|
||||
\docparam{anchor}{Anchor. See \helpref{GetAnchor()}{wxfsfilegetanchor} for details.}
|
||||
|
||||
If you aren't sure what do these params mean see description of GetXXXX()
|
||||
functions.
|
||||
|
||||
\wxheading{Notes}
|
||||
|
||||
It is never used by end user but you'll need it if
|
||||
you're writing own virtual FS. For example you may need something
|
||||
similar to wxMemoryInputStream but because wxMemoryInputStream
|
||||
doesn't free the memory when destroyed and thus passing memory stream
|
||||
pointer into wxFSFile constructor would lead to memory leaks, you
|
||||
can write your own class derived from wxFSFile :
|
||||
|
||||
\begin{verbatim}
|
||||
class wxMyFSFile : public wxFSFile
|
||||
{
|
||||
private:
|
||||
void *m_Mem;
|
||||
public:
|
||||
wxMyFSFile(.....)
|
||||
~wxMyFSFile() {free(m_Mem);}
|
||||
// of course dtor is virtual ;-)
|
||||
};
|
||||
\end{verbatim}
|
||||
|
||||
\membersection{wxFSFile::GetStream}\label{wxfsfilegetstream}
|
||||
|
||||
\constfunc{wxInputStream*}{GetStream}{\void}
|
||||
|
||||
Returns pointer to the stream. You can use the returned
|
||||
stream to directly access data. You may suppose
|
||||
that the stream provide Seek and GetSize functionality
|
||||
(even in case of HTTP protocol which doesn't provide
|
||||
this by default. wxHtml is using local cache to workaround
|
||||
this and to speed up connection)
|
||||
|
||||
\membersection{wxFSFile::GetMimeType}\label{wxfsfilegetmimetype}
|
||||
|
||||
\constfunc{const wxString\&}{GetMimeType}{\void}
|
||||
|
||||
Returns MIME type of the content of this file. It is either
|
||||
extension-based (see wxMimeTypesManager) or extracted from
|
||||
HTTP protocol Content-Type header.
|
||||
|
||||
\membersection{wxFSFile::GetLocation}\label{wxfsfilegetlocation}
|
||||
|
||||
\constfunc{const wxString\&}{GetLocation}{\void}
|
||||
|
||||
Returns full location of the file, including path and protocol.
|
||||
Examples :
|
||||
|
||||
\begin{verbatim}
|
||||
http://www.wxwindows.org
|
||||
http://www.ms.mff.cuni.cz/~vsla8348/wxhtml/archive.zip#zip:info.txt
|
||||
file:/home/vasek/index.htm
|
||||
relative-file.htm
|
||||
\end{verbatim}
|
||||
|
||||
\membersection{wxFSFile::GetAnchor}\label{wxfsfilegetanchor}
|
||||
|
||||
\constfunc{const wxString\&}{GetAnchor}{\void}
|
||||
|
||||
Returns anchor (if present). The term of {\bf anchor} can be easily
|
||||
explained using few examples:
|
||||
|
||||
\begin{verbatim}
|
||||
index.htm#anchor /* 'anchor' is anchor */
|
||||
index/wx001.htm /* NO anchor here! */
|
||||
archive/main.zip#zip:index.htm#global /* 'global' */
|
||||
archive/main.zip#zip:index.htm /* NO anchor here! */
|
||||
\end{verbatim}
|
||||
|
||||
Usually anchor is presented only if mime type is 'text/html'.
|
||||
But it may have some meaning with other files
|
||||
(for example myanim.avi\#200 may refer to position in animation
|
||||
or reality.wrl\#MyView may refer to predefined view in VRML)
|
||||
|
@@ -31,7 +31,8 @@ slashes.
|
||||
|
||||
\func{bool}{wxFileExists}{\param{const wxString\& }{filename}}
|
||||
|
||||
Returns TRUE if the file exists.
|
||||
Returns TRUE if the file exists. It also returns TRUE if the file is
|
||||
a directory.
|
||||
|
||||
\membersection{::wxFileNameFromPath}
|
||||
|
||||
@@ -48,11 +49,12 @@ temporary storage that should not be deallocated.
|
||||
|
||||
This function does directory searching; returns the first file
|
||||
that matches the path {\it spec}, or the empty string. Use \helpref{wxFindNextFile}{wxfindnextfile} to
|
||||
get the next matching file.
|
||||
get the next matching file. Neither will report the current directory "." or the
|
||||
parent directory "..".
|
||||
|
||||
{\it spec} may contain wildcards.
|
||||
|
||||
{\it flags} is reserved for future use.
|
||||
{\it flags} may be wxDIR for restricting the query to directories, wxFILE for files or zero for either.
|
||||
|
||||
For example:
|
||||
|
||||
@@ -79,6 +81,17 @@ See \helpref{wxFindFirstFile}{wxfindfirstfile} for an example.
|
||||
|
||||
Returns the Windows directory under Windows; on other platforms returns the empty string.
|
||||
|
||||
\membersection{::wxInitAllImageHandlers}\label{wxinitallimagehandlers}
|
||||
|
||||
\func{void}{wxInitAllImageHandlers}{\void}
|
||||
|
||||
Adds some common image format handlers, which, depending on wxWindows
|
||||
configuration, can be handlers for BMP (loading) (always installed), GIF
|
||||
(loading and saving), PCX (loading and saving), PNM (loading and saving as raw
|
||||
rgb), PNG (loading and saving), JPEG (loading and saving), file formats.
|
||||
|
||||
See also: \helpref{wxImage}{wximage} \helpref{wxImageHandler}{wximagehandler}
|
||||
|
||||
\membersection{::wxIsAbsolutePath}
|
||||
|
||||
\func{bool}{wxIsAbsolutePath}{\param{const wxString\& }{filename}}
|
||||
@@ -440,18 +453,15 @@ If path is empty, the current directory will be used. If filename is empty,
|
||||
no default filename will be supplied. The wildcard determines what files
|
||||
are displayed in the file selector, and file extension supplies a type
|
||||
extension for the required filename. Flags may be a combination of wxOPEN,
|
||||
wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0. They are only significant
|
||||
at present in Windows.
|
||||
wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0.
|
||||
|
||||
Both the X and Windows versions implement a wildcard filter. Typing a
|
||||
Both the Unix and Windows versions implement a wildcard filter. Typing a
|
||||
filename containing wildcards (*, ?) in the filename text item, and
|
||||
clicking on Ok, will result in only those files matching the pattern being
|
||||
displayed. In the X version, supplying no default name will result in the
|
||||
wildcard filter being inserted in the filename text item; the filter is
|
||||
ignored if a default name is supplied.
|
||||
displayed.
|
||||
|
||||
Under Windows (only), the wildcard may be a specification for multiple
|
||||
types of file with a description for each, such as:
|
||||
The wildcard may be a specification for multiple types of file
|
||||
with a description for each, such as:
|
||||
|
||||
\begin{verbatim}
|
||||
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
|
||||
@@ -472,6 +482,33 @@ if (s)
|
||||
|
||||
<wx/filedlg.h>
|
||||
|
||||
\membersection{::wxGetNumberFromUser}\label{wxgetnumberfromuser}
|
||||
|
||||
\func{long}{wxGetNumberFromUser}{
|
||||
\param{const wxString\& }{message},
|
||||
\param{const wxString\& }{prompt},
|
||||
\param{const wxString\& }{caption},
|
||||
\param{long }{value},
|
||||
\param{long }{min = 0},
|
||||
\param{long }{max = 100},
|
||||
\param{wxWindow *}{parent = NULL},
|
||||
\param{const wxPoint\& }{pos = wxDefaultPosition}}
|
||||
|
||||
Shows a dialog asking the user for numeric input. The dialogs title is set to
|
||||
{\it caption}, it contains a (possibly) multiline {\it message} above the
|
||||
single line {\it prompt} and the zone for entering the number.
|
||||
|
||||
The number entered must be in the range {\it min}..{\it max} (both of which
|
||||
should be positive) and {\it value} is the initial value of it. If the user
|
||||
enters an invalid value or cancels the dialog, the function will return -1.
|
||||
|
||||
Dialog is centered on its {\it parent} unless an explicit position is given in
|
||||
{\it pos}.
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/textdlg.h>
|
||||
|
||||
\membersection{::wxGetTextFromUser}\label{wxgettextfromuser}
|
||||
|
||||
\func{wxString}{wxGetTextFromUser}{\param{const wxString\& }{message}, \param{const wxString\& }{caption = ``Input text"},\\
|
||||
@@ -610,7 +647,7 @@ The symbols are not shown when the generic function is used.
|
||||
|
||||
\func{bool}{wxShowTip}{
|
||||
\param{wxWindow *}{parent},
|
||||
\parent{wxTipProvider *}{tipProvider},
|
||||
\param{wxTipProvider *}{tipProvider},
|
||||
\param{bool }{showAtStartup = TRUE}}
|
||||
|
||||
This function shows a "startup tip" to the user.
|
||||
@@ -1892,6 +1929,23 @@ base classes.
|
||||
|
||||
<wx/object.h>
|
||||
|
||||
\membersection{wxBITMAP}\label{wxbitmap}
|
||||
|
||||
\func{}{wxBITMAP}{bitmapName}
|
||||
|
||||
This macro loads a bitmap from either application resources (on the platforms
|
||||
for which they exist, i.e. Windows and OS2) or from an XPM file. It allows to
|
||||
avoid using {\tt #ifdef}s when creating bitmaps.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{Bitmaps and icons overview}{wxbitmapoverview},
|
||||
\helpref{wxICON}{wxicon}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/gdicmn.h>
|
||||
|
||||
\membersection{WXDEBUG\_NEW}\label{debugnew}
|
||||
|
||||
\func{}{WXDEBUG\_NEW}{arg}
|
||||
@@ -1939,6 +1993,23 @@ Example:
|
||||
|
||||
\helpref{RTTI overview}{runtimeclassoverview}
|
||||
|
||||
\membersection{wxICON}\label{wxicon}
|
||||
|
||||
\func{}{wxICON}{iconName}
|
||||
|
||||
This macro loads an icon from either application resources (on the platforms
|
||||
for which they exist, i.e. Windows and OS2) or from an XPM file. It allows to
|
||||
avoid using {\tt #ifdef}s when creating icons.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{Bitmaps and icons overview}{wxbitmapoverview},
|
||||
\helpref{wxBITMAP}{wxbitmap}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/gdicmn.h>
|
||||
|
||||
\membersection{WXTRACE}\label{trace}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 32 KiB |
@@ -23,6 +23,7 @@ There are currently the following help controller classes defined:
|
||||
\item wxWinHelpController, for controlling Windows Help.
|
||||
\item wxExtHelpController, for controlling external browsers under Unix.
|
||||
The default browser is Netscape Navigator.
|
||||
\item wxHelpControllerHtml, using wxHTML to display help
|
||||
\item wxXLPHelpController, for controlling wxHelp (from wxWindows 1).
|
||||
\end{itemize}
|
||||
|
||||
@@ -37,6 +38,7 @@ wxHelpControllerBase\\
|
||||
<wx/helpbase.h> (wxHelpControllerBase class)\\
|
||||
<wx/helpwin.h> (Windows Help controller)\\
|
||||
<wx/generic/helpext.h> (external HTML browser controller)
|
||||
<wx/generic/helpwxht.h> (wxHTML based help controller)
|
||||
<wx/generic/helpxlp.h> (wxHelp controller)
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
@@ -95,7 +97,7 @@ If the help viewer is not running, runs it and displays the given section.
|
||||
|
||||
{\it WinHelp:} {\it sectionNo} is a context id.
|
||||
|
||||
{\it External HTML help:} wxExtHelpController implements {\it sectionNo} as an id in a map file, which is of the form:
|
||||
{\it External HTML help/wxHTML based help:} wxExtHelpController and wxHelpControllerHtml implement {\it sectionNo} as an id in a map file, which is of the form:
|
||||
|
||||
\begin{verbatim}
|
||||
0 wx.html ; Index
|
||||
@@ -136,6 +138,31 @@ has opened another file.
|
||||
|
||||
Sets detailed viewer information. So far this is only relevant to wxExtHelpController.
|
||||
|
||||
\membersection{wxHelpController::SetFrameParameters}\label{wxhelpcontrollersetframeparameters}
|
||||
\func{virtual void}{SetFrameParameters}
|
||||
{\param{const wxString \& }{title},
|
||||
\param{const wxSize \& }{size}, \param{const wxPoint \& }{pos = wxDefaultPosition},
|
||||
\param{bool }{newFrameEachTime = FALSE}}
|
||||
|
||||
For the wxHelpControllerHtml, this allows the application to set the
|
||||
default frame title, size and position for the frame. If the title
|
||||
contains \%s, this will be replaced with the page title. If the
|
||||
parammeter newFrameEachTime is set, the controller will open a new
|
||||
help frame each time it is called. For all other help controllers this
|
||||
function has no effect.
|
||||
|
||||
\membersection{wxHelpController::GetFrameParameters}\label{wxhelpcontrollergetframeparameters}
|
||||
\func{virtual wxFrame *}{GetFrameParameters}
|
||||
{\param{const wxSize * }{size = NULL}, \param{const wxPoint * }{pos = NULL},
|
||||
\param{bool *}{newFrameEachTime = NULL}}
|
||||
This reads the current settings for the help frame in the case of the
|
||||
wxHelpControllerHtml, setting the frame size, position and
|
||||
the newFrameEachTime parameters to the last values used. It also
|
||||
returns the pointer to the last opened help frame. This can be used
|
||||
for example, to automatically close the help frame on program
|
||||
shutdown. For all other help controllers, this function does nothing
|
||||
and just returns NULL.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{viewer}{This defaults to "netscape" for wxExtHelpController.}
|
||||
|
@@ -3,19 +3,17 @@
|
||||
% htmlcell.tex at 21/Mar/99 22:45:23
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlCell}}\label{wxhtmlcell}
|
||||
|
||||
Internal data structure. It represents fragments of parsed HTML
|
||||
page, so-called {\bf cell} - a word, picture, table, horizontal line and so on.
|
||||
It is used by \helpref{wxHtmlWindow}{wxhtmlwindow} and
|
||||
It is used by \helpref{wxHtmlWindow}{wxhtmlwindow} and
|
||||
\helpref{wxHtmlWinParser}{wxhtmlwinparser} to represent HTML page in memory.
|
||||
|
||||
You can divide cells into two groups : {\it visible} cells with non-zero width and
|
||||
height and {\it helper} cells (usually with zero width and height) that
|
||||
perform special actions such as color or font change.
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
wxObject
|
||||
@@ -23,23 +21,21 @@ wxObject
|
||||
\wxheading{See Also}
|
||||
|
||||
\helpref{Cells Overview}{cells},
|
||||
\helpref{wxHtmlContainerCell}{wxhtmlcontainercell},
|
||||
\helpref{wxHtmlContainerCell}{wxhtmlcontainercell}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlCell::wxHtmlCell}\label{wxhtmlcellwxhtmlcell}
|
||||
|
||||
\func{}{wxHtmlCell}{\void}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\membersection{wxHtmlCell::SetParent}\label{wxhtmlcellsetparent}
|
||||
|
||||
\func{void}{SetParent}{\param{wxHtmlContainerCell }{*p}}
|
||||
|
||||
Sets parent container of this cell. This is called from
|
||||
Sets parent container of this cell. This is called from
|
||||
\helpref{wxHtmlContainerCell::InsertCell}{wxhtmlcontainercellinsertcell}.
|
||||
|
||||
\membersection{wxHtmlCell::GetParent}\label{wxhtmlcellgetparent}
|
||||
@@ -53,7 +49,7 @@ Returns pointer to parent container.
|
||||
\constfunc{int}{GetPosX}{\void}
|
||||
|
||||
Returns X position within parent (the value is relative to parent's
|
||||
upper left corner). The returned value is meaningful only if
|
||||
upper left corner). The returned value is meaningful only if
|
||||
parent's \helpref{Layout}{wxhtmlcelllayout} was called before!
|
||||
|
||||
\membersection{wxHtmlCell::GetPosY}\label{wxhtmlcellgetposy}
|
||||
@@ -61,7 +57,7 @@ parent's \helpref{Layout}{wxhtmlcelllayout} was called before!
|
||||
\constfunc{int}{GetPosY}{\void}
|
||||
|
||||
Returns Y position within parent (the value is relative to parent's
|
||||
upper left corner). The returned value is meaningful only if
|
||||
upper left corner). The returned value is meaningful only if
|
||||
parent's \helpref{Layout}{wxhtmlcelllayout} was called before!
|
||||
|
||||
\membersection{wxHtmlCell::GetWidth}\label{wxhtmlcellgetwidth}
|
||||
@@ -89,7 +85,7 @@ Returns descent value of the cell (m_Descent member). See explanation:
|
||||
\constfunc{virtual wxString}{GetLink}{\param{int }{x = 0}, \param{int }{y = 0}}
|
||||
|
||||
Returns hypertext link if associated with this cell or empty string otherwise.
|
||||
(Note : this makes sense only for visible tags).
|
||||
(Note : this makes sense only for visible tags).
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
@@ -110,7 +106,6 @@ interested in details).
|
||||
|
||||
Sets cell's position within parent container.
|
||||
|
||||
|
||||
\membersection{wxHtmlCell::SetLink}\label{wxhtmlcellsetlink}
|
||||
|
||||
\func{void}{SetLink}{\param{const wxString\& }{link}}
|
||||
@@ -122,7 +117,7 @@ is wxEmptyString (no link))
|
||||
|
||||
\func{void}{SetNext}{\param{wxHtmlCell }{*cell}}
|
||||
|
||||
Sets the next cell in the list. This shouldn't be called by user - it is
|
||||
Sets the next cell in the list. This shouldn't be called by user - it is
|
||||
to be used only by \helpref{wxHtmlContainerCell::InsertCell}{wxhtmlcontainercellinsertcell}
|
||||
|
||||
\membersection{wxHtmlCell::Layout}\label{wxhtmlcelllayout}
|
||||
@@ -138,9 +133,9 @@ This method performs 2 actions:
|
||||
based on actual width {\it w}
|
||||
\end{enumerate}
|
||||
|
||||
It must be called before displaying cells structure because
|
||||
m\_PosX and m\_PosY are undefined (or invalid)
|
||||
before calling Layout.
|
||||
It must be called before displaying cells structure because
|
||||
m\_PosX and m\_PosY are undefined (or invalid)
|
||||
before calling Layout.
|
||||
|
||||
\membersection{wxHtmlCell::Draw}\label{wxhtmlcelldraw}
|
||||
|
||||
@@ -166,9 +161,9 @@ used to optimize rendering speed}
|
||||
|
||||
\func{virtual void}{DrawInvisible}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}}
|
||||
|
||||
This method is called instead of \helpref{Draw{wxhtmlcelldraw} when the
|
||||
This method is called instead of \helpref{Draw}{wxhtmlcelldraw} when the
|
||||
cell is certainly out of the screen (and thus invisible). This is not
|
||||
nonsense - some tags (like \helpref{wxHtmlColourCell}{wxhtmlcolourcell}
|
||||
nonsense - some tags (like \helpref{wxHtmlColourCell}{wxhtmlcolourcell}
|
||||
or font setter) must be drawn even if they are invisible!
|
||||
|
||||
\wxheading{Parameters}
|
||||
@@ -177,8 +172,7 @@ or font setter) must be drawn even if they are invisible!
|
||||
|
||||
\docparam{x,y}{Coordinates of parent's upper left corner. You must
|
||||
add this to m\_PosX,m\_PosY when passing coordinates to dc's methods
|
||||
Example : {\tt dc -> DrawText("hello", x + m\_PosX, y + m\_PosY)} }
|
||||
|
||||
Example : {\tt dc -> DrawText("hello", x + m\_PosX, y + m\_PosY)}}
|
||||
|
||||
\membersection{wxHtmlCell::Find}\label{wxhtmlcellfind}
|
||||
|
||||
@@ -186,11 +180,11 @@ Example : {\tt dc -> DrawText("hello", x + m\_PosX, y + m\_PosY)} }
|
||||
|
||||
Returns pointer to itself if this cell matches condition (or if any of the cells
|
||||
following in the list matches), NULL otherwise.
|
||||
(In other words if you call top-level container's Find it will
|
||||
(In other words if you call top-level container's Find it will
|
||||
return pointer to the first cell that matches the condition)
|
||||
|
||||
It is recommended way how to obtain pointer to particular cell or
|
||||
to cell of some type (e.g. wxHtmlAnchorCell reacts on
|
||||
to cell of some type (e.g. wxHtmlAnchorCell reacts on
|
||||
HTML_COND_ISANCHOR condition)
|
||||
|
||||
\wxheading{Parameters}
|
||||
@@ -208,11 +202,8 @@ HTML_COND_ISANCHOR condition)
|
||||
from this number}
|
||||
\end{twocollist}
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlCell::OnMouseClick}\label{wxhtmlcellonmouseclick}
|
||||
|
||||
|
||||
\func{virtual void}{OnMouseClick}{\param{wxWindow* }{parent}, \param{int }{x}, \param{int }{y}, \param{bool }{left}, \param{bool }{middle}, \param{bool }{right}}
|
||||
|
||||
This function is simple event handler. Each time user clicks mouse button over a cell
|
||||
@@ -222,19 +213,14 @@ that it calls \helpref{wxHtmlWindow::LoadPage}{wxhtmlwindowloadpage}.
|
||||
\wxheading{Note}
|
||||
|
||||
If you need more "advanced" behaviour (for example you'd like to catch mouse movement events or
|
||||
key events or whatsooever) you should use \helpref{wxHtmlBinderCell}{wxhtmlbindercell} instead.
|
||||
key events or whatsoever) you should use wxHtmlBinderCell instead.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{parent}{parent window (always wxHtmlWindow!!)}
|
||||
\docparam{parent}{parent window (always wxHtmlWindow!)}
|
||||
|
||||
\docparam{x, y}{coordinates of mouse click (this is relative to cell's origin}
|
||||
|
||||
\docparam{left, middle, right}{boolean flags for mouse buttons. TRUE if the left/middle/right
|
||||
button is pressed, FALSE otherwise}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% htmlcolourcell.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlColourCell}}\label{wxhtmlcolourcell}
|
||||
|
||||
This cell changes color of either background or foreground.
|
||||
@@ -12,10 +11,8 @@ This cell changes color of either background or foreground.
|
||||
|
||||
\helpref{wxHtmlCell}{wxhtmlcell}
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlColourCell::wxHtmlColourCell}\label{wxhtmlcolourcellwxhtmlcolourcell}
|
||||
|
||||
\func{}{wxHtmlColourCell}{\param{wxColour }{clr}, \param{int }{flags = HTML\_CLR\_FOREGROUND}}
|
||||
@@ -33,6 +30,5 @@ Constructor.
|
||||
\twocolitem{{\bf HTML\_CLR\_BACKGROUND}}{change background color}
|
||||
|
||||
\end{twocollist}
|
||||
|
||||
}
|
||||
|
||||
|
@@ -3,12 +3,10 @@
|
||||
% htmlcontainercell.tex at 21/Mar/99 22:45:23
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlContainerCell}}\label{wxhtmlcontainercell}
|
||||
|
||||
wxHtmlContainerCell class an implementation of cell that may
|
||||
contain more cells in it. It is heavily used in layouting algorithm.
|
||||
|
||||
wxHtmlContainerCell class an implementation of a cell that may
|
||||
contain more cells in it. It is heavily used in the wxHTML layout algorithm.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
@@ -20,7 +18,6 @@ contain more cells in it. It is heavily used in layouting algorithm.
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlContainerCell::wxHtmlContainerCell}\label{wxhtmlcontainercellwxhtmlcontainercell}
|
||||
|
||||
\func{}{wxHtmlContainerCell}{\param{wxHtmlContainerCell }{*parent}}
|
||||
@@ -84,7 +81,6 @@ Sets container's {\it vertical alignment}. This is per-line alignment!
|
||||
|
||||
Returns container's vertical alignment.
|
||||
|
||||
|
||||
\membersection{wxHtmlContainerCell::SetIndent}\label{wxhtmlcontainercellsetindent}
|
||||
|
||||
\func{void}{SetIndent}{\param{int }{i}, \param{int }{what}, \param{int }{units = HTML\_UNITS\_PIXELS}}
|
||||
@@ -211,15 +207,12 @@ E.g. if you have 640x480 image and the wxHtmlWindow is only 100x100...)
|
||||
|
||||
Call to this method is valid only after calling \helpref{Layout}{wxhtmlcelllayout}
|
||||
|
||||
|
||||
\membersection{wxHtmlContainerCell::SetBackgroundColour}\label{wxhtmlcontainercellsetbackgroundcolour}
|
||||
|
||||
\func{void}{SetBackgroundColour}{\param{const wxColour\& }{clr}}
|
||||
|
||||
Sets background color for this container.
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlContainerCell::SetBorder}\label{wxhtmlcontainercellsetborder}
|
||||
|
||||
\func{void}{SetBorder}{\param{const wxColour\& }{clr1}, \param{const wxColour\& }{clr2}}
|
||||
@@ -232,8 +225,6 @@ Sets border (frame) colours. Border is rectangle around the container.
|
||||
|
||||
\docparam{clr2}{Color of bottom and right lines}
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlContainerCell::GetFirstCell}\label{wxhtmlcontainercellgetfirstcell}
|
||||
|
||||
\func{wxHtmlCell*}{GetFirstCell}{\void}
|
||||
@@ -242,9 +233,7 @@ Returns pointer to the first cell in the list.
|
||||
You can then use wxHtmlCell's GetNext method to obtain pointer to the next
|
||||
cell in list.
|
||||
|
||||
{\bf Note} : This shouldn't be used by end user. If you need some way of
|
||||
{\bf Note} : This shouldn't be used by the end user. If you need some way of
|
||||
finding particular cell in the list, try \helpref{Find}{wxhtmlcellfind} method
|
||||
instead.
|
||||
|
||||
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% htmlfilter.tex at 29/Mar/99 18:35:09
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlFilter}}\label{wxhtmlfilter}
|
||||
|
||||
This class is input filter for \helpref{wxHtmlWindow}{wxhtmlwindow}.
|
||||
@@ -19,7 +18,6 @@ wxObject
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlFilter::wxHtmlFilter}\label{wxhtmlfilterwxhtmlfilter}
|
||||
|
||||
\func{}{wxHtmlFilter}{\void}
|
||||
@@ -30,7 +28,7 @@ Constructor.
|
||||
|
||||
\func{bool}{CanRead}{\param{const wxFSFile\& }{file}}
|
||||
|
||||
Returns TRUE if this filter is capable of reading file {\it file}.
|
||||
Returns TRUE if this filter is capable of reading file {\it file}.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -43,7 +41,7 @@ bool MyFilter::CanRead(const wxFSFile& file)
|
||||
|
||||
\membersection{wxHtmlFilter::ReadFile}\label{wxhtmlfilterreadfile}
|
||||
|
||||
\func{wxString}{ReadFile}{\param{const wxFSFile\& }{file}
|
||||
\func{wxString}{ReadFile}{\param{const wxFSFile\& }{file}}
|
||||
|
||||
Reads the file and returns string with HTML document.
|
||||
|
||||
@@ -52,8 +50,9 @@ Example:
|
||||
\begin{verbatim}
|
||||
wxString MyImgFilter::ReadFile(const wxFSFile& file)
|
||||
{
|
||||
return "<html><body><img src=\"" +
|
||||
file.GetLocation() +
|
||||
return "<html><body><img src=\"" +
|
||||
file.GetLocation() +
|
||||
"\"></body></html>";
|
||||
}
|
||||
\end{verbatim}
|
||||
|
||||
|
@@ -3,10 +3,9 @@
|
||||
% htmlhelp.h at 02/May/99 19:58:53
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlHelpController}}\label{wxhtmlhelpcontroller}
|
||||
|
||||
{\bf WARNING! This help controller has API incompatible with wxWindows
|
||||
{\bf WARNING! This help controller has an API incompatible with wxWindows
|
||||
wxHelpController!}
|
||||
|
||||
This help controller provides easy way how to display HTML help in your
|
||||
@@ -29,23 +28,18 @@ have following line in your .rc file:
|
||||
#include "wx/html/msw/wxhtml.rc"
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
wxEvtHandler
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::wxHtmlHelpController}\label{wxhtmlhelpcontrollerwxhtmlhelpcontroller}
|
||||
|
||||
\func{}{wxHtmlHelpController}{\void}
|
||||
|
||||
|
||||
Constructor.
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::SetTitleFormat}\label{wxhtmlhelpcontrollersettitleformat}
|
||||
|
||||
\func{void}{SetTitleFormat}{\param{const wxString\& }{format}}
|
||||
@@ -53,7 +47,6 @@ Constructor.
|
||||
Sets format of title of the frame. Must contain exactly one "\%s"
|
||||
(for title of displayed HTML page).
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::SetTempDir}\label{wxhtmlhelpcontrollersettempdir}
|
||||
|
||||
\func{void}{SetTempDir}{\param{const wxString\& }{path}}
|
||||
@@ -63,7 +56,6 @@ forms are much faster to read.) Default value is empty string (empty string mean
|
||||
that no cached data are stored). Note that these files are NOT
|
||||
deleted when program exits!
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::AddBook}\label{wxhtmlhelpcontrolleraddbook}
|
||||
|
||||
\func{bool}{AddBook}{\param{const wxString\& }{book}, \param{bool }{show_wait_msg}}
|
||||
@@ -73,7 +65,6 @@ This must be called at least once before displaying any help.
|
||||
|
||||
If {\it show_wait_msg} is TRUE then a decorationless window with progress message is displayed.
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::Display}\label{wxhtmlhelpcontrollerdisplay}
|
||||
|
||||
\func{void}{Display}{\param{const wxString\& }{x}}
|
||||
@@ -104,9 +95,6 @@ Looking for the page runs in these steps:
|
||||
|
||||
This alternative form is used to search help contents by numeric IDs.
|
||||
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::DisplayContents}\label{wxhtmlhelpcontrollerdisplaycontents}
|
||||
|
||||
\func{void}{DisplayContents}{\void}
|
||||
@@ -119,7 +107,6 @@ Displays help window and focuses contents panel.
|
||||
|
||||
Displays help window and focuses index panel.
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::KeywordSearch}\label{wxhtmlhelpcontrollerkeywordsearch}
|
||||
|
||||
\func{bool}{KeywordSearch}{\param{const wxString\& }{keyword}}
|
||||
@@ -130,7 +117,6 @@ Returns TRUE if the keyword was found.
|
||||
IMPORTANT! KeywordSearch searches only pages listed in .htc file(s)!
|
||||
(you should have all pages in contents file...)
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::UseConfig}\label{wxhtmlhelpcontrolleruseconfig}
|
||||
|
||||
\func{void}{UseConfig}{\param{wxConfigBase* }{config}, \param{const wxString\& }{rootpath = wxEmptyString}}
|
||||
@@ -142,14 +128,12 @@ reads and writes settings (including wxHtmlWindow's settings) when needed.
|
||||
|
||||
The only thing you must do is create wxConfig object and call UseConfig.
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::ReadCustomization}\label{wxhtmlhelpcontrollerreadcustomization}
|
||||
|
||||
\func{void}{ReadCustomization}{\param{wxConfigBase* }{cfg}, \param{wxString }{path = wxEmptyString}}
|
||||
|
||||
Reads controllers setting (position of window etc.)
|
||||
|
||||
|
||||
\membersection{wxHtmlHelpController::WriteCustomization}\label{wxhtmlhelpcontrollerwritecustomization}
|
||||
|
||||
\func{void}{WriteCustomization}{\param{wxConfigBase* }{cfg}, \param{wxString }{path = wxEmptyString}}
|
||||
|
@@ -1,16 +1,15 @@
|
||||
\subsection{Cells and Containers}\label{cells}
|
||||
|
||||
This article describes mechanism used by
|
||||
\helpref{wxHtmlWinParser}{wxhtmlwinparser} and
|
||||
\helpref{wxHtmlWindow}{wxhtmlwindow}
|
||||
to parse and display HTML documents.
|
||||
\helpref{wxHtmlWinParser}{wxhtmlwinparser} and
|
||||
\helpref{wxHtmlWindow}{wxhtmlwindow} to parse and display HTML documents.
|
||||
|
||||
\wxheading{Cells}
|
||||
|
||||
You can divide any text (or HTML) into small fragments. Let's call these
|
||||
fragments {\bf cells}. Cell is for example one word, horizontal line, image
|
||||
or any other part of document. Each cell has width and height (except special
|
||||
"magic" cells with zero dimensions - e.g. color changers or font changers).
|
||||
"magic" cells with zero dimensions - e.g. colour changers or font changers).
|
||||
|
||||
See \helpref{wxHtmlCell}{wxhtmlcell}.
|
||||
|
||||
@@ -22,35 +21,39 @@ on number and sizes of its sub-cells (and also depends on width of window).
|
||||
See \helpref{wxHtmlContainerCell}{wxhtmlcontainercell},
|
||||
\helpref{wxHtmlCell::Layout}{wxhtmlcelllayout}.
|
||||
|
||||
This image shows you cells\ &\ containers:
|
||||
\begin{comment}
|
||||
% Bitmap is corrupt!
|
||||
This image shows you cells and containers:
|
||||
|
||||
\image{}{contbox.bmp}
|
||||
|
||||
\end{comment}
|
||||
\wxheading{Using Containers in Tag Handler}
|
||||
|
||||
\helpref{wxHtmlWinParser}{wxhtmlwinparser} provides user-friendly way
|
||||
of managing containers. It's based on idea of opening and closing containers.
|
||||
\helpref{wxHtmlWinParser}{wxhtmlwinparser} provides a user-friendly way
|
||||
of managing containers. It's based on the idea of opening and closing containers.
|
||||
|
||||
Use \helpref{OpenContainer}{wxhtmlwinparseropencontainer} to open new
|
||||
container {\it within actually opened container}. This new container is
|
||||
{\it sub-container} of the old one. (If you want to create new container with
|
||||
same depth level you can call {\tt CloseContainer(); OpenContainer();}.)
|
||||
a container {\it within an already opened container}. This new container is a
|
||||
{\it sub-container} of the old one. (If you want to create a new container with
|
||||
the same depth level you can call {\tt CloseContainer(); OpenContainer();}.)
|
||||
|
||||
Use \helpref{CloseContaier}{wxhtmlwinparserclosecontainer} to close the
|
||||
container. This doesn't create new container with same depth level but
|
||||
container. This doesn't create a new container with same depth level but
|
||||
it returns "control" to the parent container.
|
||||
|
||||
\begin{comment}
|
||||
% Bitmap corrupt!
|
||||
See explanation:
|
||||
|
||||
\image{}{cont.bmp}
|
||||
|
||||
\end{comment}
|
||||
It's clear there must be same number of calls to
|
||||
OpenContainer as to CloseContainer...
|
||||
|
||||
\wxheading{Example}
|
||||
|
||||
This code creates new paragraph (container at same depth level)
|
||||
with "Hello, world!" :
|
||||
This code creates a new paragraph (container at same depth level)
|
||||
with "Hello, world!":
|
||||
|
||||
\begin{verbatim}
|
||||
m_WParser -> CloseContainer();
|
||||
@@ -63,14 +66,17 @@ m_WParser -> CloseContainer();
|
||||
m_WParser -> OpenContainer();
|
||||
\end{verbatim}
|
||||
|
||||
\begin{comment}
|
||||
% Bitmap corrupt!
|
||||
and here is image of the situation:
|
||||
|
||||
\image{}{hello.bmp}
|
||||
\end{comment}
|
||||
|
||||
You can see that there was opened container before running the code. We closed
|
||||
it, created our own container, then closed our container and opened
|
||||
new container. The result was that we had {\it same depth level} after
|
||||
executing. This is general rule that should be followed by tag handlers :
|
||||
executing. This is general rule that should be followed by tag handlers:
|
||||
leave depth level of containers unmodified (in other words, number of
|
||||
OpenContainer and CloseContainer calls should be same within \helpref{HandleTag}{wxhtmltaghandlerhandletag}'s body).
|
||||
|
||||
|
@@ -1,11 +1,10 @@
|
||||
\membersection{Input Filters}\label{filters}
|
||||
|
||||
The wxHTML library provides mechanism for reading and displaying
|
||||
The wxHTML library provides a mechanism for reading and displaying
|
||||
files of many different file formats.
|
||||
|
||||
\helpref{wxHtmlWindow::LoadPage}{wxhtmlwindowloadpage} can load not
|
||||
only HTML files but any known file. To make a file type known to wxHtmlWindow
|
||||
you must create a \helpref{wxHtmlFilter}{wxhtmlfilter} filter and
|
||||
register it using \helpref{wxHtmlWindow::AddFilter}{wxhtmlwindowaddfilter}
|
||||
|
||||
register it using \helpref{wxHtmlWindow::AddFilter}{wxhtmlwindowaddfilter}.
|
||||
|
||||
|
@@ -43,13 +43,13 @@ Then you must define handlers and one module.
|
||||
The handler is derived from \helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler}
|
||||
(or directly from \helpref{wxHtmlTagHandler}{wxhtmltaghandler})
|
||||
|
||||
You can use set of macros to define the handler (see src/mod_*.cpp files
|
||||
for details). Handler definition must start with {\bf TAG_HANDLER_BEGIN} macro
|
||||
and end with {\bf TAG_HANDLER_END} macro. I strongly recommend to have a look
|
||||
at {\it include/wxhtml/mod_templ.h} file. Otherwise you won't understand
|
||||
You can use set of macros to define the handler (see src/mod\_*.cpp files
|
||||
for details). Handler definition must start with {\bf TAG\_HANDLER\_BEGIN} macro
|
||||
and end with {\bf TAG\_HANDLER\_END} macro. I strongly recommend to have a look
|
||||
at {\it include/wxhtml/mod\_templ.h} file. Otherwise you won't understand
|
||||
the structure of macros... See macros reference:
|
||||
|
||||
{\bf TAG_HANDLER_BEGIN}({\it name}, {\it tags})
|
||||
{\bf TAG\_HANDLER\_BEGIN}({\it name}, {\it tags})
|
||||
|
||||
Starts handler definition. {\it name} is handler identifier (in fact
|
||||
part of class name), {\it tags} is string containing list of tags
|
||||
@@ -57,9 +57,9 @@ supported by this handler (in uppercase). This macro derives new class from
|
||||
wxHtmlWinTagHandler and implements it's
|
||||
\helpref{GetSupportedTags}{wxhtmltaghandlergetsupportedtags} method.
|
||||
|
||||
Example: TAG_HANDLER_BEGIN(FONTS, "B,I,U,T")
|
||||
Example: TAG\_HANDLER\_BEGIN(FONTS, "B,I,U,T")
|
||||
|
||||
{\bf TAG_HANDLER_VARS}
|
||||
{\bf TAG\_HANDLER\_VARS}
|
||||
|
||||
This macro starts block of variables definitions. (Variables are identical
|
||||
to class attributes.) Example:
|
||||
@@ -74,10 +74,10 @@ TAG_HANDLER_END(VARS_ONLY)
|
||||
|
||||
This macro is used only in rare cases.
|
||||
|
||||
{\bf TAG_HANDLER_CONSTR}({\it name})
|
||||
{\bf TAG\_HANDLER\_CONSTR}({\it name})
|
||||
|
||||
This macro supplies object constructor. {\it name} is same name as the one
|
||||
from TAG_HANDLER_BEGIN macro. Body of constructor follow after
|
||||
from TAG\_HANDLER\_BEGIN macro. Body of constructor follow after
|
||||
this macro (you must use { and } ). Example:
|
||||
|
||||
\begin{verbatim}
|
||||
@@ -93,9 +93,9 @@ TAG_HANDLER_END(VARS2)
|
||||
|
||||
Never used in wxHTML :-)
|
||||
|
||||
{\bf TAG_HANDLER_PROC}({\it varib})
|
||||
{\bf TAG\_HANDLER\_PROC}({\it varib})
|
||||
|
||||
This is very important macro. It defines \helpref{HandleTag}{wxhtmlparserhandletag}
|
||||
This is very important macro. It defines \helpref{HandleTag}{wxhtmltaghandlerhandletag}
|
||||
method. {\it varib} is name of parameter passed to the method, usually
|
||||
{\it tag}. Body of method follows after this macro.
|
||||
Note than you must use { and } ! Example:
|
||||
@@ -109,29 +109,29 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
|
||||
TAG_HANDLER_END(TITLE)
|
||||
\end{verbatim}
|
||||
|
||||
{\bf TAG_HANDLER_END}({\it name})
|
||||
{\bf TAG\_HANDLER\_END}({\it name})
|
||||
|
||||
Ends definition of tag handler {\it name}.
|
||||
|
||||
|
||||
\wxheading{Tags Modules}
|
||||
|
||||
You can use set of 3 macros TAGS_MODULE_BEGIN, TAGS_MODULE_ADD and
|
||||
TAGS_MODULE_END to inherit new module from
|
||||
You can use set of 3 macros TAGS\_MODULE\_BEGIN, TAGS\_MODULE\_ADD and
|
||||
TAGS\_MODULE\_END to inherit new module from
|
||||
\helpref{wxHtmlTagsModule}{wxhtmltagsmodule} and to create instance of it.
|
||||
See macros reference:
|
||||
|
||||
{\bf TAGS_MODULE_BEGIN}({\it modname})
|
||||
{\bf TAGS\_MODULE\_BEGIN}({\it modname})
|
||||
|
||||
Begins module definition. {\it modname} is part of class name and must
|
||||
be unique.
|
||||
|
||||
{\bf TAGS_MODULE_ADD}({\it name})
|
||||
{\bf TAGS\_MODULE\_ADD}({\it name})
|
||||
|
||||
Adds the handler to this module. {\it name} is the identifier from
|
||||
TAG_HANDLER_BEGIN.
|
||||
TAG\_HANDLER\_BEGIN.
|
||||
|
||||
{\bf TAGS_MODULE_END}({\it modname})
|
||||
{\bf TAGS\_MODULE\_END}({\it modname})
|
||||
|
||||
Ends the definition of module.
|
||||
|
||||
@@ -144,3 +144,4 @@ TAGS_MODULE_BEGIN(Examples)
|
||||
TAGS_MODULE_ADD(TITLE)
|
||||
TAGS_MODULE_END(Examples)
|
||||
\end{verbatim}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
\membersection{Help Files Format}\label{helpformat}
|
||||
|
||||
wxHTML library uses reduced version of MS HTML Workshop format.
|
||||
wxHTML library uses a reduced version of MS HTML Workshop format.
|
||||
|
||||
(See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller} for help controller description.)
|
||||
|
||||
@@ -75,7 +75,6 @@ Items in the list may be nested - one \<li\> statement may contain \<ul\> sub-st
|
||||
</ul>
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\wxheading{Index file (.hhk)}
|
||||
|
||||
Index files have same format as contents file except that ID params are ignored and sublists are {\bf not}
|
||||
|
@@ -60,3 +60,4 @@ void MyPrintout::DrawPageOne(wxDC *dc)
|
||||
\end{verbatim}
|
||||
|
||||
(Thanks to Julian Smart for sample)
|
||||
|
||||
|
@@ -6,7 +6,7 @@ First of all, you must include <wx/wxhtml.h>.
|
||||
|
||||
Class \helpref{wxHtmlWindow}{wxhtmlwindow} (derived from wxScrolledWindow)
|
||||
is used to display HTML documents.
|
||||
It has 2 important methods : \helpref{LoadPage}{wxhtmlwindowloadpage}
|
||||
It has two important methods : \helpref{LoadPage}{wxhtmlwindowloadpage}
|
||||
and \helpref{SetPage}{wxhtmlwindowsetpage}.
|
||||
LoadPage loads and displays HTML file while SetPage displays directly the
|
||||
passed {\bf string}. See the example:
|
||||
@@ -19,7 +19,7 @@ passed {\bf string}. See the example:
|
||||
"</body></hmtl>");
|
||||
\end{verbatim}
|
||||
|
||||
I think the difference is quite clear...
|
||||
I think the difference is quite clear.
|
||||
|
||||
\wxheading{Displaying Help}
|
||||
|
||||
@@ -30,9 +30,9 @@ See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}.
|
||||
Because wxHtmlWindow is derived from wxScrolledWindow and not from
|
||||
wxFrame, it doesn't have visible frame. But the user usually want to see
|
||||
the title of HTML page displayed somewhere and frame's titlebar is
|
||||
ideal place for it...
|
||||
ideal place for it.
|
||||
|
||||
wxHtmlWindow provides 2 methods in order to handle this :
|
||||
wxHtmlWindow provides 2 methods in order to handle this:
|
||||
\helpref{SetRelatedFrame}{wxhtmlwindowsetrelatedframe} and
|
||||
\helpref{SetRelatedStatusBar}{wxhtmlwindowsetrelatedstatusbar}.
|
||||
See the example:
|
||||
@@ -64,5 +64,5 @@ borders (space between border of window and displayed HTML). Related functions:
|
||||
\end{itemize}
|
||||
|
||||
The last two functions are used to store user customization info wxConfig stuff
|
||||
(for example registry under Windows or dotfile under Unix)
|
||||
(for example registry under Windows or dotfile under Unix).
|
||||
|
||||
|
@@ -3,25 +3,24 @@
|
||||
% htmlparser.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlParser}}\label{wxhtmlparser}
|
||||
|
||||
This class handles {\bf generic} parsing of HTML document : it scans
|
||||
This class handles the {\bf generic} parsing of HTML document: it scans
|
||||
the document and divide it into blocks of tags (where one block
|
||||
consists of begining and ending tag and of text between these
|
||||
2 tags).
|
||||
two tags).
|
||||
|
||||
It is independent from wxHtmlWindow and can be used as stand-alone parser
|
||||
(Julian Smart's idea of speech-only HTML viewer or wget-like utility -
|
||||
see InetGet sample for example).
|
||||
see InetGet sample for example).
|
||||
|
||||
It uses system of tag handlers to parse the HTML document. Tag handlers
|
||||
are not staticaly shared by all instances but are created for each
|
||||
are not staticaly shared by all instances but are created for each
|
||||
wxHtmlParser instance. The reason is that the handler may contain
|
||||
document-specific temporary data used during parsing (e.g. complicated
|
||||
structures like tables)
|
||||
structures like tables).
|
||||
|
||||
Typically the user calls only \helpref{Parse}{wxhtmlparserparse} method.
|
||||
Typically the user calls only the \helpref{Parse}{wxhtmlparserparse} method.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
@@ -35,13 +34,11 @@ wxObject
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::wxHtmlParser}\label{wxhtmlparserwxhtmlparser}
|
||||
|
||||
\func{}{wxHtmlParser}{\void}
|
||||
|
||||
Constructor.
|
||||
|
||||
Constructor.
|
||||
|
||||
\membersection{wxHtmlParser::SetFS}\label{wxhtmlparsersetfs}
|
||||
|
||||
@@ -63,7 +60,6 @@ calling
|
||||
wxFSFile *f = m_Parser -> GetFS() -> OpenFile("image.jpg");
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::Parse}\label{wxhtmlparserparse}
|
||||
|
||||
\func{wxObject*}{Parse}{\param{const wxString\& }{source}}
|
||||
@@ -90,14 +86,12 @@ You shouldn't use InitParser, DoParsing, GetProduct or DoneParser directly.
|
||||
Setups the parser for parsing the {\it source} string. (Should be overriden
|
||||
in derived class)
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::DoneParser}\label{wxhtmlparserdoneparser}
|
||||
|
||||
\func{virtual void}{DoneParser}{\void}
|
||||
|
||||
This must be called after DoParsing().
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::DoParsing}\label{wxhtmlparserdoparsing}
|
||||
|
||||
\func{void}{DoParsing}{\param{int }{begin\_pos}, \param{int }{end\_pos}}
|
||||
@@ -111,13 +105,12 @@ Parses the m\_Source from begin\_pos to end\_pos-1.
|
||||
|
||||
\func{virtual wxObject*}{GetProduct}{\void}
|
||||
|
||||
Returns product of parsing. Returned value is result of parsing
|
||||
of the document. The type of this result depends on internal
|
||||
Returns product of parsing. Returned value is result of parsing
|
||||
of the document. The type of this result depends on internal
|
||||
representation in derived parser (but it must be derived from wxObject!).
|
||||
|
||||
See wxHtmlWinParser for details.
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::AddTagHandler}\label{wxhtmlparseraddtaghandler}
|
||||
|
||||
\func{virtual void}{AddTagHandler}{\param{wxHtmlTagHandler }{*handler}}
|
||||
@@ -126,9 +119,9 @@ Adds handler to the internal list (\& hash table) of handlers. This
|
||||
method should not be called directly by user but rather by derived class'
|
||||
constructor.
|
||||
|
||||
This adds the handler to this {\bf instance} of wxHtmlParser not to
|
||||
all objects of this class!!! (Static front-end to AddTagHandler is provided
|
||||
by wxHtmlWinParser)
|
||||
This adds the handler to this {\bf instance} of wxHtmlParser, not to
|
||||
all objects of this class! (Static front-end to AddTagHandler is provided
|
||||
by wxHtmlWinParser).
|
||||
|
||||
All handlers are deleted on object deletion.
|
||||
|
||||
@@ -138,14 +131,13 @@ All handlers are deleted on object deletion.
|
||||
|
||||
Returns pointer to the source being parsed.
|
||||
|
||||
|
||||
\membersection{wxHtmlParser::GetTempData}\label{wxhtmlparsergettempdata}
|
||||
|
||||
\func{virtual wxList*}{GetTempData}{\void}
|
||||
|
||||
This method returns list of wxObjects that represents
|
||||
all data allocated by the parser. These can't be freeded
|
||||
by destructor because they must be valid as long as
|
||||
all data allocated by the parser. These can't be freed
|
||||
by the destructor because they must be valid as long as
|
||||
GetProduct's return value is valid - the caller must
|
||||
explicitly call
|
||||
|
||||
@@ -153,15 +145,15 @@ explicitly call
|
||||
delete (MyParser -> GetTempData());
|
||||
\end{verbatim}
|
||||
|
||||
to free the memory (this method always sets the list to delete its contents)
|
||||
to free the memory (this method always sets the list to delete its contents).
|
||||
|
||||
\wxheading{Example}
|
||||
|
||||
Why is this neccessary? Imagine wxHtmlWinParser : when handling
|
||||
FONT tag it creates some fonts. These fonts are then used by wxHtmlWindow
|
||||
to display the text. But wxHtmWinParser object is needed only when parsing
|
||||
Why is this neccessary? Imagine wxHtmlWinParser: when handling
|
||||
a FONT tag it creates some fonts. These fonts are then used by wxHtmlWindow
|
||||
to display the text. But the wxHtmWinParser object is needed only when parsing
|
||||
the document - it may be deleted then. But fonts CAN'T be deleted - they
|
||||
must exist as long as the window is displaying text.
|
||||
must exist as long as the window is displaying text.
|
||||
|
||||
GetTempData() solves the problem.
|
||||
|
||||
@@ -172,20 +164,21 @@ GetTempData() solves the problem.
|
||||
Must be overwriten in derived class.
|
||||
|
||||
This method is called by \helpref{DoParsing}{wxhtmlparserdoparsing}
|
||||
each time a part of text is parsed. {\it txt} is NOT only one word, it is
|
||||
each time a part of text is parsed. {\it txt} is NOT only one word, it is
|
||||
substring of input. It is not formatted or preprocessed (so white spaces are
|
||||
unmodified)
|
||||
unmodified).
|
||||
|
||||
\membersection{wxHtmlParser::AddTag}\label{wxhtmlparseraddtag}
|
||||
|
||||
\func{void}{AddTag}{\param{const wxHtmlTag\& }{tag}
|
||||
\func{void}{AddTag}{\param{const wxHtmlTag\& }{tag}}
|
||||
|
||||
This may (and may not) be overwriten in derived class.
|
||||
|
||||
This method is called each time new tag is about to be added.
|
||||
This method is called each time new tag is about to be added.
|
||||
{\it tag} contains information about the tag. (See \helpref{wxHtmlTag}{wxhtmltag}
|
||||
for details.)
|
||||
|
||||
Default (wxHtmlParser) behaviour is this :
|
||||
Default (wxHtmlParser) behaviour is this:
|
||||
First it finds a handler capable of handling this tag and then it calls
|
||||
handler's HandleTag method.
|
||||
|
||||
|
@@ -3,20 +3,17 @@
|
||||
% htmltag.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlTag}}\label{wxhtmltag}
|
||||
|
||||
This class represents single HTML tag.
|
||||
It is used by \helpref{tag handlers}{handlers}.
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
wxObject
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlTag::wxHtmlTag}\label{wxhtmltagwxhtmltag}
|
||||
|
||||
\func{}{wxHtmlTag}{\param{const wxString\& }{source}, \param{int }{pos}, \param{int }{end\_pos}, \param{wxHtmlTagsCache* }{cache}}
|
||||
@@ -33,7 +30,6 @@ Returns tag's name. The name is always in uppercase and it doesn't contain
|
||||
'<' or '/' characters. (So the name of {\tt <FONT SIZE=+2>} tag is "FONT"
|
||||
and name of {\tt </table>} is "TABLE")
|
||||
|
||||
|
||||
\membersection{wxHtmlTag::HasParam}\label{wxhtmltaghasparam}
|
||||
|
||||
\constfunc{bool}{HasParam}{\param{const wxString\& }{par}}
|
||||
@@ -73,8 +69,6 @@ dummy = tag.GetParam("COLOR", TRUE);
|
||||
// dummy == "\"#0000FF\"" -- see the difference!!
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlTag::ScanParam}\label{wxhtmltagscanparam}
|
||||
|
||||
\constfunc{wxString}{ScanParam}{\param{const wxString\& }{par}, \param{const char *}{format}, fuck}
|
||||
@@ -160,7 +154,6 @@ bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
|
||||
^
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\membersection{wxHtmlTag::GetEndPos2}\label{wxhtmltaggetendpos2}
|
||||
|
||||
\constfunc{int}{GetEndPos2}{\void}
|
||||
@@ -171,6 +164,6 @@ See explanation (returned position is marked with '^'):
|
||||
|
||||
\begin{verbatim}
|
||||
bla bla bla <MYTAG> bla bla intenal text</MYTAG> bla bla
|
||||
^
|
||||
^
|
||||
\end{verbatim}
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% htmltaghandler.tex at 18/Mar/99 19:20:29
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlTagHandler}}\label{wxhtmltaghandler}
|
||||
|
||||
\wxheading{Derived from}
|
||||
@@ -15,8 +14,6 @@ wxObject
|
||||
\helpref{Overview}{handlers},
|
||||
\helpref{wxHtmlTag}{wxhtmltag}
|
||||
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxHtmlTagHandler::m\_Parser}\label{wxhtmltaghandlermparser}
|
||||
@@ -46,7 +43,6 @@ is guaranteed to be called only from the parser.
|
||||
Returns list of supported tags. The list is in uppercase and tags
|
||||
are delimited by ','. Example : {\tt "I,B,FONT,P" }
|
||||
|
||||
|
||||
\membersection{wxHtmlTagHandler::HandleTag}\label{wxhtmltaghandlerhandletag}
|
||||
|
||||
\func{virtual bool}{HandleTag}{\param{const wxHtmlTag\& }{tag}}
|
||||
@@ -75,7 +71,6 @@ bool MyHandler::HandleTag(const wxHtmlTag& tag)
|
||||
|
||||
You shouldn't call ParseInner if the tag is not paired with ending one.
|
||||
|
||||
|
||||
\membersection{wxHtmlTagHandler::ParseInner}\label{wxhtmltaghandlerparseinner}
|
||||
|
||||
\func{void}{ParseInner}{\param{const wxHtmlTag\& }{tag}}
|
||||
@@ -87,5 +82,6 @@ for the string between this tag and paired ending tag:
|
||||
...<A HREF="x.htm">Hello, world!</A>...
|
||||
\end{verbatim}
|
||||
|
||||
In this example, call to ParseInner (with {\it tag} pointing to A tag)
|
||||
will parse 'Hello, world!'
|
||||
In this example, a call to ParseInner (with {\it tag} pointing to A tag)
|
||||
will parse 'Hello, world!'.
|
||||
|
||||
|
@@ -1,8 +1,6 @@
|
||||
%
|
||||
% automatically generated by HelpGen from
|
||||
% htmltagsmodule.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlTagsModule}}\label{wxhtmltagsmodule}
|
||||
|
||||
@@ -20,10 +18,8 @@ wxModule
|
||||
\helpref{wxHtmlTagHandler}{wxhtmltaghandler},
|
||||
\helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler},
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlTagsModule::FillHandlersTable}\label{wxhtmltagsmodulefillhandlerstable}
|
||||
|
||||
\func{virtual void}{FillHandlersTable}{\param{wxHtmlWinParser }{*parser}}
|
||||
@@ -40,3 +36,4 @@ I recommend using {\bf TAGS\_MODULE\_*} macros.
|
||||
\wxheading{Paremeters}
|
||||
|
||||
\docparam{parser}{Pointer to the parser that requested tables filling.}
|
||||
|
||||
|
@@ -23,10 +23,18 @@
|
||||
|
||||
Creates a new input stream on the the specified path. You can use all except the seek
|
||||
functionality of wxStream. Seek isn't available on all streams. For example,
|
||||
http or ftp streams doesn't deal with it. Other functions like StreamSize and
|
||||
Tell aren't available for the moment for this sort of stream.
|
||||
http or ftp streams doesn't deal with it. Other functions like Tell and SeekI
|
||||
for this sort of stream.
|
||||
You will be notified when the EOF is reached by an error.
|
||||
|
||||
\wxheading{Note}
|
||||
|
||||
You can know the size of the file you are getting using \helpref{wxStreamBase::GetSize()}{wxstreambasegetsize}.
|
||||
But there is a limitation: as HTTP servers aren't obliged to pass the size ofi
|
||||
the file, in some case, you will be returned 0xfffffff by GetSize(). In these
|
||||
cases, you should use the value returned by \helpref{wxInputStream::LastRead()}{wxinputstreamlastread}:
|
||||
this value will be 0 when the stream is finished.
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
Returns the initialized stream. You will have to delete it yourself once you
|
||||
@@ -48,10 +56,15 @@ It sets data of a field to be sent during the next request to the HTTP server. T
|
||||
name is specified by \it{header} and the content by \it{h\_data}.
|
||||
This is a low level function and it assumes that you know what you are doing.
|
||||
|
||||
\membersection{wxHTTP::SetHeader}
|
||||
\membersection{wxHTTP::GetHeader}
|
||||
|
||||
\func{wxString}{GetHeader}{\param{const wxString\&}{ header}}
|
||||
|
||||
Returns the data attached with a field whose name is specified by \it{header}.
|
||||
If the field doesn't exist, it will return an empty string and not a NULL string.
|
||||
|
||||
\wxheading{Note}
|
||||
|
||||
The header is not case-sensitive: I mean that "CONTENT-TYPE" and "content-type"
|
||||
represent the same header.
|
||||
|
||||
|
@@ -3,11 +3,8 @@
|
||||
% htmlcell.h at 14/Apr/99 20:12:40
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlWidgetCell}}\label{wxhtmlwidgetcell}
|
||||
|
||||
|
||||
|
||||
wxHtmlWidgetCell is class that provides connection between HTML cell and widget (object derived
|
||||
from wxWindow). You can use it to display things like forms, input boxes etc. in HTML window.
|
||||
|
||||
@@ -17,10 +14,8 @@ wxHtmlWidgetCell takes care of resizing and moving window.
|
||||
|
||||
\helpref{wxHtmlCell}{wxhtmlcell}
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlWidgetCell::wxHtmlWidgetCell}\label{wxhtmlwidgetcellwxhtmlwidgetcell}
|
||||
|
||||
\func{}{wxHtmlWidgetCell}{\param{wxWindow* }{wnd}, \param{int }{w = 0}}
|
||||
@@ -34,5 +29,5 @@ which it is displayed!}
|
||||
|
||||
\docparam{w}{Floating width. If non-zero width of {\it wnd} window is adjusted so that it is
|
||||
always {\it w} percents of parent container's width. (For example w = 100 means that the window
|
||||
will always have same width as parent container)
|
||||
will always have same width as parent container)}
|
||||
|
||||
|
@@ -3,7 +3,6 @@
|
||||
% htmlwindow.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlWindow}}\label{wxhtmlwindow}
|
||||
|
||||
wxHtmlWindow is probably the only class you will directly use
|
||||
@@ -18,7 +17,6 @@ Once the window is created you can set it's content by calling
|
||||
\helpref{SetPage(text)}{wxhtmlwindowsetpage} or
|
||||
\helpref{LoadPage(filename)}{wxhtmlwindowloadpage}.
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
wxScrolledWindow
|
||||
@@ -33,16 +31,15 @@ wxScrolledWindow
|
||||
|
||||
Default constructor.
|
||||
|
||||
\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const wxString\& }{name = "htmlWindow"}, \param{bool }{scrollable = TRUE}}
|
||||
\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxHW_SCROLLBAR_AUTO}, \param{const wxString\& }{name = "htmlWindow"}}
|
||||
|
||||
Constructor. The parameters are same as in wxScrollWindow ctor.
|
||||
(Too lazy to document it once again... :-)
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{scrollable}{if false then no scrollbars are displayed, even if size of page is larger than window size}
|
||||
|
||||
|
||||
\docparam{style}{wxHW\_SCROLLBAR\_NEVER, or wxHW\_SCROLLBAR\_AUTO.
|
||||
Affects appearance of vertical scrollbar in the window.}
|
||||
|
||||
\membersection{wxHtmlWindow::SetPage}\label{wxhtmlwindowsetpage}
|
||||
|
||||
@@ -62,7 +59,6 @@ If you want to load document from some location use
|
||||
|
||||
\docparam{source}{The HTML document source to be displayed.}
|
||||
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
FALSE if an error occured, TRUE otherwise
|
||||
@@ -86,8 +82,6 @@ htmlwin -> SetPage("help/myproject/index.htm");
|
||||
|
||||
FALSE if an error occured, TRUE otherwise
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::GetOpenedPage}\label{wxhtmlwindowgetopenedpage}
|
||||
|
||||
\func{wxString}{GetOpenedPage}{\void}
|
||||
@@ -95,8 +89,6 @@ FALSE if an error occured, TRUE otherwise
|
||||
Returns full location of the opened page. If no page is opened or if the displayed page wasn't
|
||||
produced by call to LoadPage, empty string is returned.
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::SetRelatedFrame}\label{wxhtmlwindowsetrelatedframe}
|
||||
|
||||
\func{void}{SetRelatedFrame}{\param{wxFrame* }{frame}, \param{const wxString\& }{format}}
|
||||
@@ -105,16 +97,12 @@ Sets frame in which page title will be displayed. {\it format} is format of
|
||||
frame title, e.g. "HtmlHelp : \%s". It must contain exactly one \%s. This
|
||||
\%s is substituted with HTML page title.
|
||||
|
||||
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::GetRelatedFrame}\label{wxhtmlwindowgetrelatedframe}
|
||||
|
||||
\constfunc{wxFrame*}{GetRelatedFrame}{\void}
|
||||
|
||||
Returns the related frame.
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::SetRelatedStatusBar}\label{wxhtmlwindowsetrelatedstatusbar}
|
||||
|
||||
\func{void}{SetRelatedStatusBar}{\param{int }{bar}}
|
||||
@@ -171,7 +159,6 @@ Under Windows:
|
||||
Athough it seems different the fact is that the fonts are of approximately
|
||||
same size under both platforms (due to wxMSW / wxGTK inconsistency)
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::SetBorders}\label{wxhtmlwindowsetborders}
|
||||
|
||||
\func{void}{SetBorders}{\param{int }{b}}
|
||||
@@ -184,7 +171,6 @@ This function sets the space between border of window and HTML contents. See ima
|
||||
|
||||
\docparam{b}{indentation from borders in pixels}
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::ReadCustomization}\label{wxhtmlwindowreadcustomization}
|
||||
|
||||
\func{virtual void}{ReadCustomization}{\param{wxConfigBase }{*cfg}, \param{wxString }{path = wxEmptyString}}
|
||||
@@ -201,14 +187,13 @@ Read values : all things set by SetFonts, SetBorders.
|
||||
|
||||
\docparam{path}{Optional path in config tree. If not given current path is used.}
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::WriteCustomization}\label{wxhtmlwindowwritecustomization}
|
||||
|
||||
\func{virtual void}{WriteCustomization}{\param{wxConfigBase }{*cfg}, \param{wxString }{path = wxEmptyString}}
|
||||
|
||||
Saves custom settings into wxConfig. It uses the path 'path'
|
||||
if given, otherwise it saves info into currently selected path.
|
||||
Regardless path is given or not the function creates sub-path
|
||||
Regardless path is given or not the function creates sub-path
|
||||
{\tt wxHtmlWindow}
|
||||
|
||||
Saved values : all things set by SetFonts, SetBorders.
|
||||
@@ -226,11 +211,9 @@ Saved values : all things set by SetFonts, SetBorders.
|
||||
|
||||
Returns pointer to the top-level container.
|
||||
|
||||
See also :
|
||||
\helpref{Cells Overview}{cells},
|
||||
See also: \helpref{Cells Overview}{cells},
|
||||
\helpref{Printing Overview}{printing}
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::AddFilter}\label{wxhtmlwindowaddfilter}
|
||||
|
||||
\func{static void}{AddFilter}{\param{wxHtmlFilter }{*filter}}
|
||||
@@ -244,7 +227,6 @@ filters. These filters are present by default:
|
||||
\item Plain Text filter (this filter is used if no other filter matches)
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::HistoryBack}\label{wxhtmlwindowhistoryback}
|
||||
|
||||
\func{bool}{HistoryBack}{\void}
|
||||
@@ -252,7 +234,6 @@ filters. These filters are present by default:
|
||||
Moves back to the previous page. (each page displayed using
|
||||
\helpref{LoadPage}{wxhtmlwindowloadpage} is stored in history list.)
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::HistoryForward}\label{wxhtmlwindowhistoryforward}
|
||||
|
||||
\func{bool}{HistoryForward}{\void}
|
||||
@@ -265,12 +246,10 @@ Moves to next page in history.
|
||||
|
||||
Clears history.
|
||||
|
||||
|
||||
\membersection{wxHtmlWindow::OnLinkClicked}\label{wxhtmlwindowonlinkclicked}
|
||||
|
||||
\func{virtual void}{OnLinkClicked}{\param{const wxString\& }{link}}
|
||||
|
||||
Called when user clicks on hypertext link. Default behaviour is to call
|
||||
Called when user clicks on hypertext link. Default behaviour is to call
|
||||
\helpref{LoadPage}{wxhtmlwindowloadpage} and do nothing else.
|
||||
|
||||
|
||||
|
@@ -3,30 +3,24 @@
|
||||
% htmlwintaghandler.tex at 14/Mar/99 20:13:37
|
||||
%
|
||||
|
||||
|
||||
\section{\class{wxHtmlWinTagHandler}}\label{wxhtmlwintaghandler}
|
||||
|
||||
This is basicly wxHtmlTagHandler except
|
||||
This is basically wxHtmlTagHandler except that
|
||||
it is extended with protected member m\_WParser pointing to
|
||||
the wxHtmlWinParser object (value of this member is identical
|
||||
to wxHtmlParser's m\_Parser).
|
||||
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxHtmlTagHandler}{wxhtmltaghandler}
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
|
||||
\membersection{wxHtmlWinTagHandler::m\_WParser}\label{wxhtmlwintaghandlerwxhtmlwintaghandlermwparser}
|
||||
|
||||
{\bf wxHtmlWinParser* m\_WParser}
|
||||
|
||||
Value of this attribute is identical to value of m\_Parser. The only different
|
||||
is that m\_WParser points to wxHtmlWinParser object while m\_Parser
|
||||
points to wxHtmlParser object.
|
||||
(The same object, but overcasted)
|
||||
|
||||
points to wxHtmlParser object. (The same object, but overcast.)
|
||||
|
||||
|