Compare commits
1299 Commits
wxPy_2_3_2
...
BEFORE_NEW
Author | SHA1 | Date | |
---|---|---|---|
|
f95a28b1bc | ||
|
0cb50c83aa | ||
|
c848b2f955 | ||
|
1e3a888e72 | ||
|
5b96a71a56 | ||
|
3f2eabd59d | ||
|
48f72114ba | ||
|
b59da6c285 | ||
|
33754c4d83 | ||
|
5ece068d9f | ||
|
df22f86063 | ||
|
32334453e7 | ||
|
5c8835b94c | ||
|
17154fc8aa | ||
|
e044f6001e | ||
|
501d97d4fe | ||
|
13b1472fdd | ||
|
dfc40ef343 | ||
|
639692727b | ||
|
c26d72f10d | ||
|
3c299c3ab6 | ||
|
4c53d9ece2 | ||
|
8f684821f6 | ||
|
be03c0ec26 | ||
|
a250392c48 | ||
|
3355efa93c | ||
|
00500f403c | ||
|
d21d2e5adf | ||
|
754c44ae38 | ||
|
9d7de3c2b8 | ||
|
c640e407d5 | ||
|
3f562374f1 | ||
|
5fc67e5cf4 | ||
|
7613582bcc | ||
|
33984936de | ||
|
c6f4913a76 | ||
|
db3272a001 | ||
|
c4d596ea01 | ||
|
eb5e4d9ac1 | ||
|
e168b6acfd | ||
|
df16a53ef9 | ||
|
783fab59e5 | ||
|
c4e1b7f244 | ||
|
353f41cb3b | ||
|
c04857dd6a | ||
|
c4bcd8fcdd | ||
|
65d48d095f | ||
|
c1725ec7f3 | ||
|
d3b4d71020 | ||
|
147043343e | ||
|
865c589e50 | ||
|
b916f80933 | ||
|
713a0efc61 | ||
|
9283436576 | ||
|
f9bc168497 | ||
|
d00407b2c6 | ||
|
2e351786c5 | ||
|
b0c4280587 | ||
|
c16d276354 | ||
|
7070f55b2c | ||
|
17d5bdf9e9 | ||
|
4b614012da | ||
|
4ec2df6cbc | ||
|
3f345b477e | ||
|
e7ca6139d0 | ||
|
ffd10d5da7 | ||
|
8ff1234234 | ||
|
abb855613b | ||
|
7332adf035 | ||
|
dccaf28056 | ||
|
9210a48a33 | ||
|
dbdcff5102 | ||
|
f05605ff4d | ||
|
24eb81cbcf | ||
|
2ba4130573 | ||
|
4a0f7f3f17 | ||
|
01ec8f969d | ||
|
e856571123 | ||
|
c5e8ed2391 | ||
|
0a1d59000c | ||
|
9a3ba92945 | ||
|
71f1334b40 | ||
|
f20ad12c58 | ||
|
771a855fb9 | ||
|
cb3b65d4e2 | ||
|
6d7f865fb0 | ||
|
1a2c3cae6d | ||
|
048bd5039e | ||
|
2bcdcf7e2a | ||
|
84a32a7796 | ||
|
22b41d3e01 | ||
|
00360d4699 | ||
|
d1cd84e787 | ||
|
edc8bd8df3 | ||
|
f221f8eb3a | ||
|
2ba9346d84 | ||
|
a6139dacac | ||
|
6b5691cb91 | ||
|
dc7c324430 | ||
|
af7e29cc47 | ||
|
4309b812ef | ||
|
cbb26e3f6d | ||
|
0655d12d67 | ||
|
52ad59c2e9 | ||
|
daa2c7d950 | ||
|
f6eaeda1b0 | ||
|
ba5ac173ea | ||
|
5d0000b5b5 | ||
|
2593f03384 | ||
|
abfc2b1d5a | ||
|
dd5a32cc2d | ||
|
0cbc52f38e | ||
|
0a4f1bbf6d | ||
|
f17fb29767 | ||
|
e04487ebe8 | ||
|
607d9cfc56 | ||
|
59a2e6354d | ||
|
abbacd903e | ||
|
ae0d8c1445 | ||
|
68c7f44cf6 | ||
|
7a25a27c35 | ||
|
92209a3966 | ||
|
63efc55ff7 | ||
|
000307d7a8 | ||
|
b43a988613 | ||
|
af01f1ba0d | ||
|
0627d0917b | ||
|
a92b0cfd2b | ||
|
aac7e7fe7b | ||
|
c6465c961b | ||
|
b1d66b5415 | ||
|
fcf689db0d | ||
|
810aa7fc7f | ||
|
3602a62e83 | ||
|
2796d5dae5 | ||
|
00811ff918 | ||
|
0729bd19f1 | ||
|
f725b2a4ec | ||
|
cb69afe081 | ||
|
d4597e138e | ||
|
8810d43125 | ||
|
99d1b93d89 | ||
|
a40a9c813f | ||
|
53fdeb16a8 | ||
|
25ad2ac2fe | ||
|
51dc95a4c8 | ||
|
08df3e4420 | ||
|
5bc0790f29 | ||
|
4a98c806e5 | ||
|
78b57918f8 | ||
|
ff5f1abaf0 | ||
|
23895080c2 | ||
|
b32a1ead44 | ||
|
a246f95e96 | ||
|
f043bf8d19 | ||
|
ed2e7e59a9 | ||
|
712969258a | ||
|
a20275148b | ||
|
b13f5fbf29 | ||
|
4894ae18fc | ||
|
17386f5322 | ||
|
e76520fdf8 | ||
|
3678697093 | ||
|
c5124240c4 | ||
|
625e74a703 | ||
|
c35c7d01d4 | ||
|
4d97d44e14 | ||
|
659a606421 | ||
|
d9f54bb0c7 | ||
|
84e89e2aac | ||
|
950e7faf4a | ||
|
91bdd96210 | ||
|
75421bf116 | ||
|
3a989c8afe | ||
|
b03e4fcd11 | ||
|
56a38bbe87 | ||
|
ff65119eb2 | ||
|
4d416b5f21 | ||
|
5acc0d5f32 | ||
|
be050baf48 | ||
|
39679a3c2f | ||
|
462f07cac2 | ||
|
df7c5d28a3 | ||
|
4a61305d36 | ||
|
d30f093006 | ||
|
c8499e53d8 | ||
|
8cf3806b82 | ||
|
3363eadf72 | ||
|
0f092804a2 | ||
|
f48fa475c2 | ||
|
d2ce649bec | ||
|
b7f411dd9b | ||
|
7f60145d85 | ||
|
8f3fc6b415 | ||
|
508e0acbd9 | ||
|
c427acc8d5 | ||
|
863210791a | ||
|
c7aaa64f26 | ||
|
6198749900 | ||
|
ac6bdf4056 | ||
|
9c641c057c | ||
|
ea64fd024a | ||
|
ee88cb3417 | ||
|
c768ded54a | ||
|
dd964dccf7 | ||
|
eaf336e02a | ||
|
eddd3a9d37 | ||
|
e8566d3538 | ||
|
ae4d7004d3 | ||
|
e562df9b4b | ||
|
a385b5dfa8 | ||
|
f7d886af3a | ||
|
c942560f94 | ||
|
d90b2df89d | ||
|
dd2b41b6e9 | ||
|
269c86d089 | ||
|
a22eb2f5c3 | ||
|
a20c8355d3 | ||
|
ea1e6c4be4 | ||
|
f736ec7623 | ||
|
81f256328c | ||
|
a8e6bf8ae2 | ||
|
ed8c278040 | ||
|
14b3f932dd | ||
|
2bc6041712 | ||
|
07c99b2608 | ||
|
74bcba0e33 | ||
|
a18b162dc1 | ||
|
78e8819c2e | ||
|
9bbe7068c4 | ||
|
1dc302a8ae | ||
|
bb064193a7 | ||
|
02a3b39120 | ||
|
5ea757d054 | ||
|
0bd63eb6ff | ||
|
3a87625f68 | ||
|
5515f252cb | ||
|
e6b01b78a3 | ||
|
d6044f582c | ||
|
7527fdd873 | ||
|
add33e95c5 | ||
|
8a242615ef | ||
|
b383b2c1fd | ||
|
d8542a1cd1 | ||
|
afcca39be9 | ||
|
1c777e15c9 | ||
|
644deea4d2 | ||
|
58a9336be1 | ||
|
fdda2df62d | ||
|
5f3286d17d | ||
|
af4088f1be | ||
|
f69fcd070b | ||
|
af54096f69 | ||
|
0cdb5f82c6 | ||
|
4ae76072f1 | ||
|
c598f22518 | ||
|
2dc5bacc01 | ||
|
961c54c333 | ||
|
673ad11240 | ||
|
71292fab8d | ||
|
3f2474754a | ||
|
d7997e1ab1 | ||
|
b01fb5c340 | ||
|
42dd647cfd | ||
|
44d568b6a8 | ||
|
d0e9b1506e | ||
|
d71c423e19 | ||
|
ade35f11fe | ||
|
1d21855083 | ||
|
f2d0790b1a | ||
|
f1104df133 | ||
|
681641370c | ||
|
ab3edaceba | ||
|
2edd0e7c66 | ||
|
4f716609c9 | ||
|
485cf710d7 | ||
|
77f859c38e | ||
|
0ba9f867fa | ||
|
13ff9344d6 | ||
|
38058a49c6 | ||
|
4b796bb03c | ||
|
9929591c13 | ||
|
8e38fd1fb0 | ||
|
2b7e44a28c | ||
|
9926e4a4d7 | ||
|
0b01706f2c | ||
|
f38bcae5bf | ||
|
83a2e3c5ad | ||
|
6f91bc3333 | ||
|
52dbd056d2 | ||
|
1918b6f789 | ||
|
39cc7a0bae | ||
|
ff69a290d6 | ||
|
572c7069bb | ||
|
68673975c6 | ||
|
2481a3763b | ||
|
4416b50837 | ||
|
684cbc0edd | ||
|
5f09cfe3de | ||
|
8962e1d938 | ||
|
d323d966dd | ||
|
27752aab2a | ||
|
a874db9279 | ||
|
04c943b139 | ||
|
2569938d39 | ||
|
d8b6f4d9a2 | ||
|
744d5712ce | ||
|
7a0f694a11 | ||
|
611dc22cee | ||
|
643b97f8a7 | ||
|
5a56be287a | ||
|
7104f65dbe | ||
|
232b005197 | ||
|
3e2125031b | ||
|
4161723f46 | ||
|
ddf2da08b5 | ||
|
58fd8ab910 | ||
|
4efb5650d1 | ||
|
3ac59f211b | ||
|
2226ead00d | ||
|
c594325333 | ||
|
b2abc29318 | ||
|
f7db440e1f | ||
|
83c865f518 | ||
|
a3b72ffb8f | ||
|
e8d5008c2e | ||
|
c67d6888d4 | ||
|
a6f762a646 | ||
|
0a3e82894a | ||
|
89ebf1c919 | ||
|
92749d6a37 | ||
|
f6656ccb14 | ||
|
7b7ac0ab51 | ||
|
96d24601af | ||
|
d7d0296285 | ||
|
6f20c54861 | ||
|
fbdb357ea2 | ||
|
37b83ca639 | ||
|
4f41713093 | ||
|
954cc8d2f2 | ||
|
ea91314fdf | ||
|
df336b7f25 | ||
|
5f95bb7096 | ||
|
3f393e3dbd | ||
|
408a83cbe9 | ||
|
1d8c3e58b8 | ||
|
7a9b33dbf8 | ||
|
ebe2507564 | ||
|
dbd3685cc4 | ||
|
c5fe0dcced | ||
|
2f4e928794 | ||
|
220f2d5c4d | ||
|
67d54b58cb | ||
|
fd008b87e3 | ||
|
156b252383 | ||
|
4cd1a81804 | ||
|
086ab76622 | ||
|
13960e3c69 | ||
|
eda40bfc08 | ||
|
33b7a5491f | ||
|
1d5c2a8eb5 | ||
|
528a5fe43f | ||
|
da6069e29c | ||
|
0ae0226b1d | ||
|
bbd08c6a95 | ||
|
9832ce0bcc | ||
|
41b0a1139d | ||
|
1489a2c037 | ||
|
ce28b4d772 | ||
|
31f6de22b0 | ||
|
a7910d97a3 | ||
|
574bf50785 | ||
|
ad80f0d194 | ||
|
b52ea5c510 | ||
|
a8141d3f28 | ||
|
65c12361f3 | ||
|
444e05b609 | ||
|
9f8148b11c | ||
|
0b90b51ceb | ||
|
3f93aa54a9 | ||
|
f0125ede4a | ||
|
5e173f35d2 | ||
|
cba1148d00 | ||
|
c4ea29714d | ||
|
4c53c74335 | ||
|
835074fe0a | ||
|
fbf4eacb26 | ||
|
6e8aa701e9 | ||
|
8beeef5f05 | ||
|
c34174728f | ||
|
4498031c44 | ||
|
6bbff0aac1 | ||
|
6e8a778af3 | ||
|
ebf4302cbe | ||
|
5fa4613c81 | ||
|
281de223c8 | ||
|
3928c4fd66 | ||
|
0dcdeee9e7 | ||
|
faa1ae782d | ||
|
9a9045a9f3 | ||
|
d2d14464a5 | ||
|
5836c9080b | ||
|
e22c13fe7e | ||
|
1816a07003 | ||
|
d63819e045 | ||
|
1d6f23483a | ||
|
443aec6f41 | ||
|
857dab7dcd | ||
|
ac4de06921 | ||
|
a6b27b78d3 | ||
|
05c9ccbe62 | ||
|
ee1e43a725 | ||
|
a509f6bcdd | ||
|
279b1aea9d | ||
|
0e4b997673 | ||
|
debc175a42 | ||
|
69d27ff78b | ||
|
23cf065f01 | ||
|
192644bfcb | ||
|
d96083979d | ||
|
42993df25e | ||
|
94054c1dfa | ||
|
aa83902af1 | ||
|
abfe4a8415 | ||
|
461a37f596 | ||
|
8614041baa | ||
|
afbd36dd57 | ||
|
419f362d6a | ||
|
ea8a96991a | ||
|
92e50d0521 | ||
|
0a67eeac3d | ||
|
097f29c22f | ||
|
846e4632b4 | ||
|
04eb894b5c | ||
|
29f54b9b37 | ||
|
01d981ec6d | ||
|
2b84e565c6 | ||
|
717510eb58 | ||
|
b5d6954b87 | ||
|
6264b550ad | ||
|
30fc2c8ec0 | ||
|
3c62105945 | ||
|
2ec0173d44 | ||
|
043dcdaad0 | ||
|
4ed56ed897 | ||
|
b97a1a73fd | ||
|
67d54ef1dc | ||
|
41286fd1de | ||
|
f1fa9adc7a | ||
|
a826c31586 | ||
|
6a498e2d1b | ||
|
5bdad317aa | ||
|
1dee6b3992 | ||
|
f369dd4fdd | ||
|
ef3a5e0aae | ||
|
acea2a0bac | ||
|
bb6de5ffad | ||
|
11a68fa3af | ||
|
df43c1d682 | ||
|
5aa5c1e4c9 | ||
|
c4a25811cc | ||
|
7a5c8ac45a | ||
|
d90bb48e69 | ||
|
d7a53fcacb | ||
|
a2b4f4a287 | ||
|
d147266834 | ||
|
289b2d6174 | ||
|
7aeb9adcaf | ||
|
e0e50e29c4 | ||
|
beab584049 | ||
|
0f71032121 | ||
|
ffc6ce3f6d | ||
|
244d3b67ca | ||
|
bbb8f29b4a | ||
|
780bb8744b | ||
|
1539c2f54a | ||
|
a60b1f5d57 | ||
|
50d0b061ee | ||
|
9298c435cf | ||
|
f40b54b1e0 | ||
|
42ac146ba4 | ||
|
0fbb762e07 | ||
|
a7ad2611f3 | ||
|
ad9f477da5 | ||
|
5dcf9614cf | ||
|
885d4bf54e | ||
|
affe40440e | ||
|
2c18f21dc7 | ||
|
65eb985502 | ||
|
406e3e0d0d | ||
|
c3c39620ba | ||
|
fa1c12bdd7 | ||
|
d093261668 | ||
|
19924e90e5 | ||
|
acd15a3fa0 | ||
|
dcfb179bc7 | ||
|
8d9e8770da | ||
|
545a0b000f | ||
|
163f315474 | ||
|
0ded6bb695 | ||
|
1352efdf58 | ||
|
62d0491bf6 | ||
|
10916a4f7a | ||
|
8dba7bfb70 | ||
|
2d33aec94c | ||
|
050c9e3c90 | ||
|
badc44fe58 | ||
|
c5f9d1567c | ||
|
c10920deb8 | ||
|
3125528da3 | ||
|
07082b28a5 | ||
|
3cdd0895f4 | ||
|
d76048f514 | ||
|
8b81a824c4 | ||
|
990ff5eceb | ||
|
ca808bbfe8 | ||
|
a3e78c767d | ||
|
d7b766f5a8 | ||
|
1f5b2017df | ||
|
8065aebc48 | ||
|
81edbb3f00 | ||
|
51072df23f | ||
|
32037c4ed9 | ||
|
31e39e3c51 | ||
|
8fbdfa4faf | ||
|
f91bf72fb0 | ||
|
364f80ef96 | ||
|
6ce3e85a1e | ||
|
e4a2236693 | ||
|
d9f7f49ea3 | ||
|
c7821f944f | ||
|
7ecb8b06ad | ||
|
636d266b89 | ||
|
a9fd2e6f1b | ||
|
18134a1cd0 | ||
|
6495f2dd5d | ||
|
d1f2eb1dd0 | ||
|
d32011d406 | ||
|
3409ae1756 | ||
|
9a7d612157 | ||
|
c63767311f | ||
|
8b283bb88e | ||
|
ecdba0d10f | ||
|
ab51f6db14 | ||
|
4a08218bc3 | ||
|
8af26133d9 | ||
|
6bff4be599 | ||
|
80cb3dbc36 | ||
|
0a8c1efb27 | ||
|
07b2e1cd38 | ||
|
262e41eb55 | ||
|
a3015b16dd | ||
|
937eb7db46 | ||
|
d820003682 | ||
|
181526acad | ||
|
c3819e4aa4 | ||
|
bf7057315c | ||
|
a703a33acb | ||
|
36fd8ec3c9 | ||
|
aaf765a549 | ||
|
25fd9bdfca | ||
|
e431570022 | ||
|
4a70a30b2e | ||
|
653b244972 | ||
|
05f30eecb7 | ||
|
08da19d737 | ||
|
6f36917bbf | ||
|
a95821781b | ||
|
e757496edf | ||
|
3390b9ef88 | ||
|
a059a1f2e2 | ||
|
5638d705f5 | ||
|
8d6854a63a | ||
|
e652fdd527 | ||
|
f97500b80d | ||
|
14fca7389a | ||
|
01f944e67e | ||
|
ccf0e7f6d4 | ||
|
f47db8f067 | ||
|
8e72b8b517 | ||
|
d5939a20fd | ||
|
ad05396006 | ||
|
52b64b0a78 | ||
|
990578f892 | ||
|
96e169b523 | ||
|
49a47c50be | ||
|
c00f8e638a | ||
|
88e30f2b71 | ||
|
9864c56ded | ||
|
bc87fd68e3 | ||
|
c1ec1ccf9a | ||
|
926592a8cf | ||
|
bac957422a | ||
|
c6ac78a61e | ||
|
e1f14d226f | ||
|
b36d8c8f11 | ||
|
7eb0e0375f | ||
|
ba3f6b4436 | ||
|
a9241e6025 | ||
|
7631414188 | ||
|
8001ecce19 | ||
|
648bec3ef5 | ||
|
0cf6acbf26 | ||
|
fb49f3b32e | ||
|
f6c2a6f418 | ||
|
1d2bd8475d | ||
|
0ddefeb07f | ||
|
e347320363 | ||
|
2a2ec35354 | ||
|
5e6e6e73d2 | ||
|
7274f1c705 | ||
|
a6c84d26fd | ||
|
d728116a27 | ||
|
9d705dfa81 | ||
|
a7c7c1549c | ||
|
7f3d6cbcfe | ||
|
163f2606f8 | ||
|
1d965e2fb1 | ||
|
b835e9bf49 | ||
|
88f2a7714a | ||
|
00d1538d29 | ||
|
eb165274cb | ||
|
b2d1bc21c5 | ||
|
00887b391b | ||
|
7173744550 | ||
|
a7f1fbf609 | ||
|
a91cf80c60 | ||
|
3cc2aa562f | ||
|
45b1027709 | ||
|
a3a584a7a6 | ||
|
00ca6262d1 | ||
|
80f7e6500b | ||
|
c70fd24fa8 | ||
|
742fc581e4 | ||
|
93283355d3 | ||
|
6c0168c945 | ||
|
edc2a0366a | ||
|
101dd79ab6 | ||
|
7dbce44a33 | ||
|
b78b83ecb4 | ||
|
f0db4f3850 | ||
|
eef97940e8 | ||
|
973983be62 | ||
|
e444455c49 | ||
|
184144794d | ||
|
9327c3aa02 | ||
|
5e6a47f5a7 | ||
|
19a2deddc5 | ||
|
84f7908b99 | ||
|
4494ad58e8 | ||
|
17271c793e | ||
|
0d1ace8697 | ||
|
a57d56d662 | ||
|
98624b49d3 | ||
|
25b00b4e8c | ||
|
c0c84fa088 | ||
|
4deafe3122 | ||
|
5e217089d4 | ||
|
5b119149c0 | ||
|
769eda42db | ||
|
56456d9faf | ||
|
0d3859bf1e | ||
|
8a7f3379ba | ||
|
a1c34a786a | ||
|
3de71bc877 | ||
|
024cad37e9 | ||
|
28edd9ef20 | ||
|
185d0094f8 | ||
|
7bfc22f614 | ||
|
27d2cd5c96 | ||
|
c8b204e6fd | ||
|
3adc70bf87 | ||
|
f9619ece1d | ||
|
1acd70f921 | ||
|
08829b064c | ||
|
f96f33629f | ||
|
cbe37d08c8 | ||
|
8ca4684107 | ||
|
b6e5c4450a | ||
|
e44d6a1f90 | ||
|
c0ad3d42d5 | ||
|
2a4c85e755 | ||
|
62b3ca69cf | ||
|
8e7b0418f1 | ||
|
695e43faf2 | ||
|
00c813596e | ||
|
57964555cd | ||
|
bc4e6fcdc3 | ||
|
570cb8cb08 | ||
|
2710a096d1 | ||
|
fb56368aa0 | ||
|
e2762ff06a | ||
|
6433f6d316 | ||
|
ea6601756a | ||
|
8c3abf985d | ||
|
63e7762e67 | ||
|
3d63bc3a03 | ||
|
f1687ed8ad | ||
|
180db90836 | ||
|
32ce09e292 | ||
|
bd658b8c33 | ||
|
efd1393bcc | ||
|
b96848d3aa | ||
|
ba0e650ced | ||
|
d48ad9bd84 | ||
|
83dbe2eabb | ||
|
abfcca57dd | ||
|
1d93af2fbf | ||
|
223e7fbf29 | ||
|
d8bffc1335 | ||
|
e37177c27b | ||
|
66fa5a8c1f | ||
|
4eb1fe9da6 | ||
|
8b9c59052a | ||
|
25d0687a6e | ||
|
0d6e7df47c | ||
|
41213f67af | ||
|
612500804c | ||
|
f3ff38139d | ||
|
c31ad41d80 | ||
|
4d293f8ef4 | ||
|
461f203cbf | ||
|
90da9c3f3b | ||
|
2da4f89277 | ||
|
49dc8caac9 | ||
|
217f0360ec | ||
|
934dac2fd5 | ||
|
49e885f807 | ||
|
41b66be9c9 | ||
|
1f43b5c985 | ||
|
240889a18c | ||
|
f78024a1f9 | ||
|
a3bf4a6263 | ||
|
fce5f505f1 | ||
|
4bf3cd97c6 | ||
|
15913ebfdd | ||
|
4b42290e0e | ||
|
9e392a09f1 | ||
|
219f4a6d0d | ||
|
750c3a6d07 | ||
|
1bcf0c7d6e | ||
|
1a2076a2f8 | ||
|
eb99ae0b77 | ||
|
174d5c21ca | ||
|
978f1259ac | ||
|
a0b0370119 | ||
|
634f6a1f0a | ||
|
c358c6601f | ||
|
55176f44e2 | ||
|
b585338405 | ||
|
6054113a50 | ||
|
9ba53034e7 | ||
|
1b4908dedc | ||
|
c88040761c | ||
|
ea7682f015 | ||
|
eedf876b34 | ||
|
00c64037fb | ||
|
b403ab005c | ||
|
c5c528fc7f | ||
|
4fb788e466 | ||
|
d685354062 | ||
|
77e1340840 | ||
|
a0145564d0 | ||
|
8c290175b3 | ||
|
2f7adba06f | ||
|
b66824a572 | ||
|
eea0ecad6e | ||
|
ab11ebfa19 | ||
|
eb5420bf25 | ||
|
9673f535ac | ||
|
a705ee4785 | ||
|
764566762c | ||
|
eb749c3e37 | ||
|
4d509295ee | ||
|
fe7b9ed6fd | ||
|
f8a4fa4c99 | ||
|
7cc5041d03 | ||
|
f80bf90194 | ||
|
a0a48a3f0d | ||
|
02244615e5 | ||
|
4660d7e5d6 | ||
|
6f75447397 | ||
|
37df1f3370 | ||
|
2a8f50bb72 | ||
|
4538b3f1b0 | ||
|
e84010cf65 | ||
|
92b002a4c8 | ||
|
2c667cb8d8 | ||
|
b184227d4b | ||
|
df26d82fc3 | ||
|
a40b5e8474 | ||
|
b6ea61a589 | ||
|
4fa54a31ad | ||
|
1bffa9138f | ||
|
a4aad4def6 | ||
|
08d7397c9a | ||
|
c12b84937e | ||
|
65fd49a434 | ||
|
b53e38fed5 | ||
|
1d0b7ed3f3 | ||
|
bb89dec340 | ||
|
a73523797c | ||
|
f3507ce40d | ||
|
ff8fda3617 | ||
|
a3df447d8b | ||
|
e5b1c41c49 | ||
|
9c88ff79e5 | ||
|
051443d481 | ||
|
da78fdf31c | ||
|
e42e45a9dd | ||
|
bb5f7ca77e | ||
|
ad8b399079 | ||
|
835fed359d | ||
|
a044cb721a | ||
|
e8e1d09e0e | ||
|
d56e2b972f | ||
|
7de3c4699f | ||
|
580616706f | ||
|
253293c103 | ||
|
6296744f45 | ||
|
25acfd4ca3 | ||
|
68d92db331 | ||
|
e6157a6995 | ||
|
10eb1f1eac | ||
|
4f2570aaf1 | ||
|
246c704fca | ||
|
87948f22dd | ||
|
5921a14eca | ||
|
92a19c2e77 | ||
|
3a7bfa067e | ||
|
176e7e8321 | ||
|
4c3b4ed07f | ||
|
ee707cb73a | ||
|
5c0282d504 | ||
|
b37c7e1dcd | ||
|
951cd18031 | ||
|
9f51f2b678 | ||
|
42be4418fe | ||
|
e7e1b01eb5 | ||
|
334d244877 | ||
|
7f35402d14 | ||
|
1b73381734 | ||
|
78340847c9 | ||
|
21977bac1a | ||
|
a62b0bcc14 | ||
|
8330166c65 | ||
|
f41ed3c442 | ||
|
0b7a8cd392 | ||
|
5384bdbc77 | ||
|
f00f657d37 | ||
|
7205570233 | ||
|
2fb4d7b86e | ||
|
3590965bf9 | ||
|
c3c031dd1d | ||
|
fbe77ceae5 | ||
|
2d963ba2cb | ||
|
8ecd8ade37 | ||
|
89c8ea73d4 | ||
|
8a2fa5c83a | ||
|
74933d7501 | ||
|
2dfba8cac9 | ||
|
aeddd5a582 | ||
|
1bc3250868 | ||
|
e6056257ab | ||
|
35bf863b1c | ||
|
34e5028ffe | ||
|
42d6e13697 | ||
|
dbd4b16d5e | ||
|
cb4a5a7316 | ||
|
17c0e08c61 | ||
|
c9a1416a3a | ||
|
e8bf92fd9c | ||
|
96af6eb5fd | ||
|
846ec2f9ed | ||
|
e6d318c25a | ||
|
ac00ac40ed | ||
|
c1ea7b7bc3 | ||
|
458ee9e452 | ||
|
8b61ede4ab | ||
|
0e44823110 | ||
|
f676c7ffd5 | ||
|
3fe03e474d | ||
|
e26c0634d0 | ||
|
91cddacfe0 | ||
|
a29a241fd6 | ||
|
4f14bcd874 | ||
|
de85a884d7 | ||
|
2c37aade57 | ||
|
5d2878fb28 | ||
|
eead3ccb25 | ||
|
0cce11b2fa | ||
|
9e279f1462 | ||
|
42f2e3e9bb | ||
|
275c4ae474 | ||
|
987da0d411 | ||
|
afa59b4e88 | ||
|
8766aa0948 | ||
|
6fa882bd0a | ||
|
d15a8ad4ee | ||
|
2f53787caf | ||
|
b9eed05d91 | ||
|
9bfaa55f27 | ||
|
074ea1b777 | ||
|
07d08a4dc4 | ||
|
9829f27727 | ||
|
0e03d1fac8 | ||
|
bb378910f7 | ||
|
ac0fa9eff8 | ||
|
d9207cc826 | ||
|
2aab8f16ac | ||
|
73c13bb93c | ||
|
a4fbdd76c1 | ||
|
dfef5d5165 | ||
|
729f427637 | ||
|
235573500c | ||
|
33b12a3ab3 | ||
|
f04a0744b0 | ||
|
08c4a8a9dd | ||
|
d9d59a587c | ||
|
21a700f3c8 | ||
|
e1218bd636 | ||
|
4f9c7d92dd | ||
|
fe35d097d6 | ||
|
10207b728d | ||
|
892e461e33 | ||
|
9af175d227 | ||
|
f7efcd8144 | ||
|
551a6c64bb | ||
|
be6468f3cc | ||
|
a63cbfa336 | ||
|
86f1458257 | ||
|
e058b98d8a | ||
|
5d6c436536 | ||
|
0d53fc3442 | ||
|
af15babd51 | ||
|
9952adac06 | ||
|
8461e4c253 | ||
|
85ee61ac2e | ||
|
d22ff69d2d | ||
|
8f17876f2b | ||
|
d714471b30 | ||
|
12232f37d1 | ||
|
d20a079e3a | ||
|
d73e6791fc | ||
|
b729ceb23d | ||
|
7da982c4ec | ||
|
0e7bd27a8d | ||
|
4de853984d | ||
|
0a0fc5b527 | ||
|
68f36a2ca1 | ||
|
f0adbe0ffd | ||
|
e6daf008d8 | ||
|
7d12127f14 | ||
|
cf248c80a3 | ||
|
318f6d79a8 | ||
|
84f68c21f4 | ||
|
6616a36dbf | ||
|
ec7cd4c478 | ||
|
d1d2cd38c4 | ||
|
2654a046d7 | ||
|
b3bd664a90 | ||
|
deb3ea6a34 | ||
|
79f1bf32d7 | ||
|
c9ce02acf8 | ||
|
c20da25748 | ||
|
3bcd5e1c64 | ||
|
0e94700456 | ||
|
54a816a683 | ||
|
db4192047f | ||
|
a697845484 | ||
|
b1e930a50d | ||
|
75cada8e68 | ||
|
f96b15a3c2 | ||
|
f056ea60f3 | ||
|
fe0aca3712 | ||
|
76e280e796 | ||
|
30dbb45440 | ||
|
b8b0e4022e | ||
|
2fe212b033 | ||
|
5a8f04e382 | ||
|
4fcf087dda | ||
|
251b80c4b5 | ||
|
19193a2c85 | ||
|
7361f176df | ||
|
8e0c305167 | ||
|
b64a84736d | ||
|
2f67ae898e | ||
|
0c718eb7e0 | ||
|
652d930d65 | ||
|
8082483b70 | ||
|
f3c2c22108 | ||
|
df9176ab71 | ||
|
9d37f96428 | ||
|
9e0a12c958 | ||
|
de448406da | ||
|
de112a55a2 | ||
|
99f7d3407f | ||
|
1d341cf4f7 | ||
|
43edcf13ca | ||
|
49f992a5ff | ||
|
874efd13e1 | ||
|
47834fab06 | ||
|
61e6020f90 | ||
|
cece1d88c0 | ||
|
bf69498afc | ||
|
5039d7edc2 | ||
|
85cdcb7a20 | ||
|
cdcb56fc96 | ||
|
fa7cdd7f48 | ||
|
a9a05059b9 | ||
|
df02852424 | ||
|
6311b1e88c | ||
|
63f06c22b9 | ||
|
48c1b6f937 | ||
|
7f664d9878 | ||
|
fe9fea7ec7 | ||
|
e1bdd5078c | ||
|
a93e536be0 | ||
|
498fd97d9e | ||
|
bbed9595c1 | ||
|
e23081dec8 | ||
|
2277aeccc8 | ||
|
2baaf735f4 | ||
|
c641b1d20d | ||
|
065f27fe3a | ||
|
0a89ac9c27 | ||
|
3902989824 | ||
|
e3fc616c07 | ||
|
5fd1ea325c | ||
|
c109254cc6 | ||
|
493bdcc72a | ||
|
0cba94f21a | ||
|
41e929e5cf | ||
|
1ccd23f5c4 | ||
|
91f5c4d03b | ||
|
71e030352d | ||
|
5d9007815f | ||
|
7f6097f17d | ||
|
f4ac069301 | ||
|
24fcf68943 | ||
|
d739313fc0 | ||
|
3369df870b | ||
|
a29b6191ca | ||
|
54abcc91d0 | ||
|
7cf43d5ef9 | ||
|
b8c0528db3 | ||
|
a9f994d915 | ||
|
4403ced6fc | ||
|
da2b4b7a57 | ||
|
b9b7804a43 | ||
|
777db7a5bf | ||
|
5271933eeb | ||
|
ed12f1dd6d | ||
|
13c0541d3c | ||
|
dd8914bc51 | ||
|
293e425d0e | ||
|
0220cbc169 | ||
|
0122b7e3fc | ||
|
8754feb848 | ||
|
4eb438cf7c | ||
|
758bce950b | ||
|
337a001037 | ||
|
8b530febd8 | ||
|
2d02117538 | ||
|
85f296a342 | ||
|
4cd411faee | ||
|
956797563c | ||
|
c5b7bb59ec | ||
|
735d1db6cb | ||
|
f5643147a4 | ||
|
62b1c48cd7 | ||
|
28efed0faa | ||
|
b889a3a24b | ||
|
a69103348f | ||
|
b88c44e735 | ||
|
a6ee08e16a | ||
|
3fa826301b | ||
|
1a40c31edf | ||
|
603fd22177 | ||
|
5baa230d46 | ||
|
95e59663dc | ||
|
92622ef4c2 | ||
|
a46935cb54 | ||
|
1ac162ad06 | ||
|
afadf3bc6a | ||
|
f417f1d53f | ||
|
d2a533a059 | ||
|
ad781c239e | ||
|
683dccdaeb | ||
|
908381536e | ||
|
8976cbbc48 | ||
|
ec2995088d | ||
|
00b2a97f34 | ||
|
750b113f76 | ||
|
4878d85ccc | ||
|
654d905270 | ||
|
e111559956 | ||
|
0041d4b672 | ||
|
edb89f7e35 | ||
|
f85d862c23 | ||
|
1944a74bb3 | ||
|
c5627cd855 | ||
|
e0221ef7cb | ||
|
268766dd1f | ||
|
16d38102e8 | ||
|
e0d876d20c | ||
|
ffc63dcae0 | ||
|
88a9f974b8 | ||
|
56f23a5855 | ||
|
61bd618fe7 | ||
|
4c7852186d | ||
|
14dd645ee1 | ||
|
31a06b07cc | ||
|
aeb7499407 | ||
|
f001799009 | ||
|
3baaf31317 | ||
|
29d18d6945 | ||
|
56cfd0d766 | ||
|
4040fe6eaf | ||
|
594f0f5bf1 | ||
|
18a1f588e7 | ||
|
45eb524957 | ||
|
a7ae8fea47 | ||
|
4649b5eded | ||
|
2431209ccd | ||
|
b9989817f4 | ||
|
f17393f199 | ||
|
9feee261c9 | ||
|
1ce58dc6f3 | ||
|
fb93b610c5 | ||
|
f783e7acf3 | ||
|
e4b713a278 | ||
|
d11710cbb5 | ||
|
a8d20c57ae | ||
|
85da9c3e35 | ||
|
37fa909534 | ||
|
02cbc27a34 | ||
|
ead60ec54b | ||
|
b225f65995 | ||
|
f1e1ed3b77 | ||
|
d497dca475 | ||
|
9b86543d92 | ||
|
61e8948797 | ||
|
553dce51e9 | ||
|
31ae546e16 | ||
|
bc6abe52a7 | ||
|
bd73ba41f9 | ||
|
bd20dac196 | ||
|
917afc7b81 | ||
|
15678bec37 | ||
|
d46330c586 | ||
|
a08afcce1c | ||
|
3bfba010c7 | ||
|
7cdbf02cd4 | ||
|
a26e0bc1fd | ||
|
6821401b1b | ||
|
0aa236cddc | ||
|
b7f4f35038 | ||
|
c6b0ee9abd | ||
|
11d13ed03b | ||
|
ff18659103 | ||
|
2aabc7da6a | ||
|
e07f9efa03 | ||
|
f5e6ed7cc8 | ||
|
470252df3c | ||
|
a350a48841 | ||
|
bf44306ebc | ||
|
76bfdc7816 | ||
|
72594e90b2 | ||
|
13d068d93e | ||
|
3f38e38ba5 | ||
|
cdbe233029 | ||
|
f7b2395841 | ||
|
ea48aa7c2d | ||
|
8cbc39e803 | ||
|
bc297519b8 | ||
|
2b03b51b8c | ||
|
39178e3bdf | ||
|
32c988a34d | ||
|
8366ae934a | ||
|
2beb01db00 | ||
|
1650623133 | ||
|
65fe3842bf | ||
|
f32afe1c2c | ||
|
c0881dc32e | ||
|
32d77178d8 | ||
|
d6582821b6 | ||
|
243d4b3603 | ||
|
4f92cd25f1 | ||
|
ac2834ab04 | ||
|
da63acebda | ||
|
a111f2b216 | ||
|
8b6e6947fc | ||
|
e17978953a | ||
|
93d2bf4406 | ||
|
9b985798bc | ||
|
89fcec9514 | ||
|
d8ac90031d | ||
|
80806624f8 | ||
|
50563ef1bd | ||
|
17d5cf65bd | ||
|
5e46051f91 | ||
|
7c8253236f | ||
|
5f8dc32401 | ||
|
9aee09a34b | ||
|
124193837f | ||
|
477243897a | ||
|
25db1b74f1 | ||
|
bde9072f68 | ||
|
32bc74c034 | ||
|
bae170097e | ||
|
b3ca11f706 | ||
|
283e4f282a | ||
|
1bc3fa0180 | ||
|
3576334ead | ||
|
085f07e2c8 | ||
|
65191ae8f2 | ||
|
900d98862d | ||
|
a068364f32 | ||
|
17533c89d2 | ||
|
fc26f4abde | ||
|
1a4f0015e4 | ||
|
985520bc47 | ||
|
2ec3892d77 | ||
|
7995616276 | ||
|
4fcd60c72f | ||
|
7b7a763758 | ||
|
e8106239b2 | ||
|
447f908aff | ||
|
334f0d2c11 | ||
|
85f7ec579e | ||
|
d9e4c43beb | ||
|
8c03f242ce | ||
|
cba5db5ff0 | ||
|
077c564202 | ||
|
d08b457ba8 | ||
|
8eee02518d | ||
|
fedad417ce | ||
|
89d25d58c5 | ||
|
f8e3449ceb | ||
|
2343d81ba2 | ||
|
544c782d76 | ||
|
8c8fb2f6f6 | ||
|
c19d0121f6 | ||
|
018e2f1300 | ||
|
dbd25330c5 | ||
|
9e4e191af3 | ||
|
bb48ed2caa | ||
|
b22d16ad20 | ||
|
b11e8fb666 | ||
|
bff995bf71 | ||
|
7cd955997c | ||
|
b4819fcaea | ||
|
660cc2a5f9 | ||
|
7f9510b24e | ||
|
2d1e89de65 | ||
|
edae85724d | ||
|
0406324575 | ||
|
7ee7c43f7e | ||
|
be71e18af4 | ||
|
0797afee60 | ||
|
56029a746e | ||
|
c7b3563e24 | ||
|
d275c7eb84 | ||
|
f1c1831fc5 | ||
|
a15eb0a5c8 | ||
|
752b40b1da | ||
|
8b0bd21b3d | ||
|
b584b7d24a | ||
|
4965c3d7f6 | ||
|
08b6f23906 | ||
|
fe08e59704 | ||
|
93b4dc4b14 | ||
|
379ff23b1c | ||
|
3deeefebd7 | ||
|
9c3cc136fc | ||
|
bbb7a9314d | ||
|
ea5c1679ad | ||
|
e4b7b2b052 | ||
|
8dc52d208e | ||
|
813edf09b3 | ||
|
e8c12a53e8 | ||
|
2545022c72 | ||
|
655b7383d2 | ||
|
496beb3fc0 | ||
|
cff7ef893d | ||
|
ea1b0d6ccb | ||
|
82f2d91978 | ||
|
4c97e02448 | ||
|
d13fd3e468 | ||
|
bed118ca9e | ||
|
6c5ac6e1f1 | ||
|
551adc4b47 | ||
|
afb74fdd76 | ||
|
a308135449 | ||
|
a6f5aa49cf | ||
|
b3e8d00ab0 | ||
|
3a922bb4bd | ||
|
0e300ddd7d |
@@ -25,6 +25,10 @@ Release
|
|||||||
Debug
|
Debug
|
||||||
ReleaseDLL
|
ReleaseDLL
|
||||||
DebugDLL
|
DebugDLL
|
||||||
|
UnivRelease
|
||||||
|
UnivDebug
|
||||||
|
BaseRelease
|
||||||
|
BaseDebug
|
||||||
robert
|
robert
|
||||||
stamp-h.in
|
stamp-h.in
|
||||||
Makefile
|
Makefile
|
||||||
|
52
BuildCVS.txt
52
BuildCVS.txt
@@ -125,11 +125,15 @@ Refer to the readme.txt and install.txt files in docs/mac to build
|
|||||||
wxWindows under Classic Mac OS using CodeWarrior.
|
wxWindows under Classic Mac OS using CodeWarrior.
|
||||||
|
|
||||||
If you are checking out the CVS sources using cvs under Mac OS X and
|
If you are checking out the CVS sources using cvs under Mac OS X and
|
||||||
compiling under Classic Mac OS, make sure that all text files have a
|
compiling under Classic Mac OS:
|
||||||
Mac OS type of 'TEXT' otherwise CodeWarrior may ignore them. Checking
|
|
||||||
out the CVS sources using cvs under Mac OS X creates untyped files
|
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
|
||||||
which can lead to compialtion errors under CodeWarrior which are hard
|
CodeWarrior may ignore them. Checking out the CVS sources using cvs
|
||||||
to track down.
|
under Mac OS X creates untyped files which can lead to compilation
|
||||||
|
errors under CodeWarrior which are hard to track down.
|
||||||
|
|
||||||
|
- convert the xml files to CodeWarrior binary projects using the supplied
|
||||||
|
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
|
||||||
|
|
||||||
V) MacOS X using configure and the Developer Tools
|
V) MacOS X using configure and the Developer Tools
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
@@ -158,8 +162,10 @@ VII) Unix->Windows cross-compiling using configure
|
|||||||
|
|
||||||
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
|
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
|
||||||
cygwin32 (both based on egcs) can be found at
|
cygwin32 (both based on egcs) can be found at
|
||||||
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Otherwise you can
|
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
|
||||||
compile one yourself. Check the relevant FAQs.
|
based on the latest MinGW release can be found at
|
||||||
|
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
|
||||||
|
Otherwise you can compile one yourself.
|
||||||
|
|
||||||
[ A Note about cygwin32 and mingw32: the main difference is that cygwin32
|
[ A Note about cygwin32 and mingw32: the main difference is that cygwin32
|
||||||
binaries are always linked against cygwin.dll. This dll encapsulates most
|
binaries are always linked against cygwin.dll. This dll encapsulates most
|
||||||
@@ -179,8 +185,7 @@ To cross compile the windows library, do
|
|||||||
-> cd win32
|
-> cd win32
|
||||||
(or whatever you called it)
|
(or whatever you called it)
|
||||||
Now run configure. There are two ways to do this
|
Now run configure. There are two ways to do this
|
||||||
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw \
|
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
|
||||||
--enable-dnd=no --without-odbc
|
|
||||||
where --build= should read whatever platform you're building on. Configure
|
where --build= should read whatever platform you're building on. Configure
|
||||||
will notice that build and host platforms differ, and automatically prepend
|
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!).
|
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
|
||||||
@@ -188,29 +193,22 @@ The other way to run configure is by specifying the names of the binaries
|
|||||||
yourself:
|
yourself:
|
||||||
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
|
||||||
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
|
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
|
||||||
../configure --host=i586-mingw32 --with-mingw --enable-dnd=no
|
../configure --host=i586-mingw32 --with-mingw
|
||||||
|
|
||||||
(all assuming you're using mingw32)
|
(all assuming you're using mingw32)
|
||||||
Drag'n'drop is disabled because mingw32 lacks (AFAIK) OLE headers.
|
By default this will compile a DLL, if you want a static library,
|
||||||
|
specify --disable-shared.
|
||||||
[ Update: some new mingw32 versions now have a new set of windows header
|
|
||||||
files, which apparently can handle ole. Untested at the moment ]
|
|
||||||
|
|
||||||
ODBC files don't compile as of 13.10.99 - may be this will be fixed by the
|
|
||||||
moment you're reading these lines.
|
|
||||||
|
|
||||||
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
|
Type
|
||||||
-> make
|
-> make
|
||||||
and wait, wait, wait. Don't leave the room, because the minute you do there
|
and wait, wait, wait. Don't leave the room, because the minute you do there
|
||||||
will be a compile error :-)
|
will be a compile error :-)
|
||||||
|
|
||||||
NB: you risk to get quite a few warnings about "ANSI C++ forbids implicit
|
NB: if you are using a very old compiler you risk to get quite a few warnings
|
||||||
conversion from 'void *'" in all places where va_arg macro is used. This
|
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
|
||||||
is due to a bug in (some versions of) mingw32 headers which may be
|
where va_arg macro is used. This is due to a bug in (some versions of)
|
||||||
corrected by editing the file
|
mingw32 headers which may be corrected by upgrading your compier,
|
||||||
|
otherwise you might edit the file
|
||||||
|
|
||||||
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
|
||||||
|
|
||||||
@@ -231,8 +229,9 @@ typedef void *__gnuc_va_list;
|
|||||||
and adding "|| defined(_WIN32)" to the list of platforms on which
|
and adding "|| defined(_WIN32)" to the list of platforms on which
|
||||||
__gnuc_va_list is char *.
|
__gnuc_va_list is char *.
|
||||||
|
|
||||||
If this is successful, you end up with a libwx_msw.a in win32/lib. Now try
|
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
|
||||||
building the minimal sample:
|
( or just libwx_msw.a if you opted for a static build ).
|
||||||
|
Now try building the minimal sample:
|
||||||
|
|
||||||
-> cd samples/minimal
|
-> cd samples/minimal
|
||||||
-> make
|
-> make
|
||||||
@@ -252,6 +251,5 @@ Cross-compiling TODO:
|
|||||||
- resource compiling must be done manually for now (should/can we link the
|
- 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
|
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 ]
|
link it in... you have to supply an object file ]
|
||||||
- dynamic libraries
|
|
||||||
- static executables are HUGE -- there must be room for improvement.
|
- static executables are HUGE -- there must be room for improvement.
|
||||||
|
|
||||||
|
362
Makefile.in
362
Makefile.in
@@ -1,11 +1,12 @@
|
|||||||
#
|
#
|
||||||
# File: makefile.unx
|
# File: makefile.unx
|
||||||
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
|
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
|
||||||
# Created: 1993
|
# Created: 1993
|
||||||
# Updated: 1999
|
# Updated: 2001
|
||||||
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
# Copyright:(c) 1993, AIAI, University of Edinburgh,
|
||||||
# Copyright:(c) 1999, Vadim Zeitlin
|
# Copyright:(c) 1999, Vadim Zeitlin
|
||||||
# Copyright:(c) 1999, Robert Roebling
|
# Copyright:(c) 1999, Robert Roebling
|
||||||
|
# Copyright:(c) 2001, Ron Lee
|
||||||
#
|
#
|
||||||
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
|
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
|
||||||
|
|
||||||
@@ -15,17 +16,17 @@ include ./src/make.env
|
|||||||
|
|
||||||
############## override make.env for PIC ##########################
|
############## override make.env for PIC ##########################
|
||||||
|
|
||||||
# Clears all default suffixes
|
%.o : %.c
|
||||||
.SUFFIXES: .o .cpp .c .cxx
|
$(CC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
|
||||||
|
|
||||||
.c.o :
|
%.o : %.cpp
|
||||||
$(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) @WXMSW_DLL_DEFINES@ -o $@ $<
|
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
|
||||||
|
|
||||||
.cpp.o :
|
%.o : %.cxx
|
||||||
$(CC) -c @DEP_INFO_FLAGS@ $(CXXFLAGS) $(PICFLAGS) @WXMSW_DLL_DEFINES@ -o $@ $<
|
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
|
||||||
|
|
||||||
.cxx.o :
|
%.r : %.rsrc
|
||||||
$(CC) -c @DEP_INFO_FLAGS@ $(CXXFLAGS) $(PICFLAGS) @WXMSW_DLL_DEFINES@ -o $@ $<
|
$(DEREZ) $^ Carbon.r -useDF > $@
|
||||||
|
|
||||||
########################### Paths #################################
|
########################### Paths #################################
|
||||||
|
|
||||||
@@ -44,55 +45,31 @@ VP9 = @top_srcdir@/src/zlib
|
|||||||
VPA = @top_srcdir@/src/regex
|
VPA = @top_srcdir@/src/regex
|
||||||
VP10 = @top_srcdir@/src/iodbc
|
VP10 = @top_srcdir@/src/iodbc
|
||||||
VP11 = @top_srcdir@/src/msw/ole
|
VP11 = @top_srcdir@/src/msw/ole
|
||||||
VP12 = $(FTVP01)@PATH_IFS@$(FTVP02)@PATH_IFS@$(FTVP03)@PATH_IFS@$(FTVP04)@PATH_IFS@$(FTVP05)@PATH_IFS@$(FTVP06)@PATH_IFS@$(FTVP07)@PATH_IFS@$(FTVP08)@PATH_IFS@
|
|
||||||
VP13 = $(FTVP09)@PATH_IFS@$(FTVP10)@PATH_IFS@$(FTVP11)@PATH_IFS@$(FTVP12)@PATH_IFS@$(FTVP13)@PATH_IFS@$(FTVP14)@PATH_IFS@$(FTVP15)@PATH_IFS@
|
|
||||||
|
|
||||||
# the comment at the end of the next line is needed because otherwise autoconf
|
# the comment at the end of the next line is needed because otherwise autoconf
|
||||||
# would remove this line completely - it contains a built-in hack to remove
|
# would remove this line completely - it contains a built-in hack to remove
|
||||||
# any VPATH assignment not containing ':'
|
# any VPATH assignment not containing ':'
|
||||||
VPATH = $(VP1)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VPA)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11)@PATH_IFS@$(VP12)@PATH_IFS@$(VP13) # ':' for autoconf
|
VPATH = $(VP1)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VPA)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11) # ':' for autoconf
|
||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
sbindir = @sbindir@
|
|
||||||
libexecdir = @libexecdir@
|
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
sysconfdir = @sysconfdir@
|
|
||||||
sharedstatedir = @sharedstatedir@
|
|
||||||
localstatedir = @localstatedir@
|
|
||||||
libdir = @libdir@
|
libdir = @libdir@
|
||||||
infodir = @infodir@
|
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
|
||||||
|
|
||||||
DESTDIR =
|
|
||||||
|
|
||||||
localedir = $(datadir)/locale
|
localedir = $(datadir)/locale
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
|
||||||
|
|
||||||
top_builddir = .
|
top_builddir = .
|
||||||
|
build_libdir = $(top_builddir)/lib
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
# my autoconf doesn't set this
|
|
||||||
#INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
||||||
# maybe do an additional chmod if needed?
|
|
||||||
INSTALL_SCRIPT = @INSTALL@
|
INSTALL_SCRIPT = @INSTALL@
|
||||||
transform = @program_transform_name@
|
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
|
||||||
PRE_INSTALL = :
|
|
||||||
POST_INSTALL = :
|
|
||||||
NORMAL_UNINSTALL = :
|
|
||||||
PRE_UNINSTALL = :
|
|
||||||
POST_UNINSTALL = :
|
|
||||||
build_alias = @build_alias@
|
build_alias = @build_alias@
|
||||||
build_triplet = @build@
|
build_triplet = @build@
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
@@ -117,6 +94,7 @@ PNGDIR = $(WXDIR)/src/png
|
|||||||
JPEGDIR = $(WXDIR)/src/jpeg
|
JPEGDIR = $(WXDIR)/src/jpeg
|
||||||
TIFFDIR = $(WXDIR)/src/tiff
|
TIFFDIR = $(WXDIR)/src/tiff
|
||||||
ZLIBDIR = $(WXDIR)/src/zlib
|
ZLIBDIR = $(WXDIR)/src/zlib
|
||||||
|
REGEXDIR = $(WXDIR)/src/regex
|
||||||
GTKDIR = $(WXDIR)/src/gtk
|
GTKDIR = $(WXDIR)/src/gtk
|
||||||
MOTIFDIR = $(WXDIR)/src/motif
|
MOTIFDIR = $(WXDIR)/src/motif
|
||||||
MSWDIR = $(WXDIR)/src/msw
|
MSWDIR = $(WXDIR)/src/msw
|
||||||
@@ -136,6 +114,7 @@ INTLDIR = $(WXDIR)/locale
|
|||||||
########################## Archive name ###############################
|
########################## Archive name ###############################
|
||||||
|
|
||||||
# append a version suffix x.y.z to all file names
|
# append a version suffix x.y.z to all file names
|
||||||
|
VER_MAJMIN=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)
|
||||||
VER_SUFFIX=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)$(EXTRA_VER)
|
VER_SUFFIX=$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)$(EXTRA_VER)
|
||||||
WXARCHIVE=@DISTDIR@-$(VER_SUFFIX).tar.gz
|
WXARCHIVE=@DISTDIR@-$(VER_SUFFIX).tar.gz
|
||||||
WXGLARCHIVE=@DISTDIR@-gl-$(VER_SUFFIX).tar.gz
|
WXGLARCHIVE=@DISTDIR@-gl-$(VER_SUFFIX).tar.gz
|
||||||
@@ -166,7 +145,6 @@ HEADERS = $(ALL_HEADERS)
|
|||||||
# for the objects and depfiles, we might be bulding only part of them
|
# for the objects and depfiles, we might be bulding only part of them
|
||||||
# depending on configure arguments, so select a subset of ALL
|
# depending on configure arguments, so select a subset of ALL
|
||||||
OBJECTS = @ALL_OBJECTS@
|
OBJECTS = @ALL_OBJECTS@
|
||||||
DEPFILES = @ALL_DEPFILES@
|
|
||||||
|
|
||||||
# the object files of sublibraries (we assume that they don't change [often],
|
# the object files of sublibraries (we assume that they don't change [often],
|
||||||
# so we don't generate these lists with tmake but embed them here)
|
# so we don't generate these lists with tmake but embed them here)
|
||||||
@@ -328,85 +306,56 @@ IODBCOBJS = \
|
|||||||
prepare.o \
|
prepare.o \
|
||||||
result.o
|
result.o
|
||||||
|
|
||||||
OLEOBJS = \
|
|
||||||
automtn.o \
|
|
||||||
dataobj.o \
|
|
||||||
dropsrc.o \
|
|
||||||
droptgt.o \
|
|
||||||
oleutils.o \
|
|
||||||
uuid.o
|
|
||||||
|
|
||||||
############################## Rules ##################################
|
############################## Rules ##################################
|
||||||
|
|
||||||
BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
|
SONAME_FLAGS = @SONAME_FLAGS@
|
||||||
BURNT_LIBRARY_NAME_GL = @BURNT_LIBRARY_NAME_GL@
|
SONAME_FLAGS_GL = @SONAME_FLAGS_GL@
|
||||||
|
|
||||||
all: @WX_ALL@
|
all: @WX_ALL@
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
|
$(build_libdir)/@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
|
||||||
@$(INSTALL) -d ./lib
|
@$(INSTALL) -d $(build_libdir)
|
||||||
$(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
|
@$(RM) $@
|
||||||
$(RANLIB) ./lib/$@
|
$(AR) $(AROPTIONS) $@ $(OBJECTS)
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
|
$(build_libdir)/@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
|
||||||
@$(INSTALL) -d ./lib
|
@$(INSTALL) -d $(build_libdir)
|
||||||
$(AR) $(AROPTIONS) ./lib/$@ glcanvas.o
|
@$(RM) $@
|
||||||
$(RANLIB) ./lib/$@
|
$(AR) $(AROPTIONS) $@ glcanvas.o
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
|
$(build_libdir)/@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
|
||||||
@$(INSTALL) -d ./lib
|
@$(INSTALL) -d $(build_libdir)
|
||||||
$(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
|
$(SHARED_LD) $@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o @WX_LIBRARY_NAME_SHARED@
|
$(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@: glcanvas.o $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
|
||||||
@$(INSTALL) -d ./lib
|
@$(INSTALL) -d $(build_libdir)
|
||||||
$(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o ./lib/@WX_LIBRARY_NAME_SHARED@ $(EXTRALIBS) $(OPENGLLIBS)
|
$(SHARED_LD) $@ $(SONAME_FLAGS_GL) glcanvas.o -L$(build_libdir) @WXCONFIG_LIBS@ $(EXTRALIBS) $(OPENGLLIBS)
|
||||||
|
|
||||||
./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).r: ./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).rsrc
|
$(build_libdir)/@WX_RESOURCES_MACOSX@: $(MACRESOURCES)
|
||||||
$(DEREZ) $^ $(DEREZFLAGS) > $@
|
@$(INSTALL) -d $(build_libdir)
|
||||||
|
$(RESCOMP) -d __UNIX__ -useDF $^ -o $@
|
||||||
|
|
||||||
./lib/lib@WX_LIBRARY@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).rsrc: $(MACRESOURCES)
|
$(build_libdir)/@WX_LIBRARY_LINK1@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
|
||||||
$(REZ) $(REZFLAGS) $^ -o $@
|
@$(RM) $(build_libdir)/@WX_LIBRARY_LINK1@
|
||||||
|
@$(RM) $(build_libdir)/@WX_LIBRARY_LINK2@
|
||||||
CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
|
cd $(build_libdir) \
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK1@
|
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK2@
|
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK3@
|
|
||||||
cd lib \
|
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
|
&& $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
|
&& $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
|
|
||||||
|
|
||||||
CREATE_LINKS_GL: @WX_LIBRARY_NAME_SHARED_GL@
|
$(build_libdir)/@WX_LIBRARY_LINK1_GL@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK1_GL@
|
@$(RM) $(build_libdir)/@WX_LIBRARY_LINK1_GL@
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK2_GL@
|
@$(RM) $(build_libdir)/@WX_LIBRARY_LINK2_GL@
|
||||||
@$(RM) ./lib/@WX_LIBRARY_LINK3_GL@
|
cd $(build_libdir) \
|
||||||
cd lib \
|
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
|
&& $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@ \
|
&& $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@
|
||||||
&& $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK3_GL@
|
|
||||||
|
|
||||||
CREATE_INSTALLED_LINKS: preinstall
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK3@
|
|
||||||
cd $(libdir) \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
|
|
||||||
|
|
||||||
CREATE_INSTALLED_LINKS_GL: preinstall_gl
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
|
||||||
cd $(libdir) \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@ \
|
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK3_GL@
|
|
||||||
|
|
||||||
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
|
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
|
||||||
|
|
||||||
parser.o: parser.c lexer.c
|
parser.o: parser.c lexer.c
|
||||||
$(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@ parser.c
|
$(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@ parser.c
|
||||||
|
|
||||||
parser.c: $(COMMDIR)/parser.y lexer.c
|
parser.c: $(COMMDIR)/parser.y lexer.c
|
||||||
$(YACC) $(COMMDIR)/parser.y
|
$(YACC) $(COMMDIR)/parser.y
|
||||||
@@ -426,19 +375,39 @@ lexer.c: $(COMMDIR)/lexer.l
|
|||||||
sed -e "s/unput/PROIO_unput/g" > lexer.c
|
sed -e "s/unput/PROIO_unput/g" > lexer.c
|
||||||
@$(RM) @LEX_STEM@.c
|
@$(RM) @LEX_STEM@.c
|
||||||
|
|
||||||
-include $(DEPFILES)
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
|
|
||||||
|
CREATE_INSTALLED_LINKS: preinstall
|
||||||
|
$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
||||||
|
$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
||||||
|
cd $(libdir) \
|
||||||
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
|
||||||
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@
|
||||||
|
|
||||||
|
CREATE_INSTALLED_LINKS_GL: preinstall_gl
|
||||||
|
$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
||||||
|
$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
||||||
|
cd $(libdir) \
|
||||||
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
|
||||||
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@
|
||||||
|
|
||||||
afminstall: preinstall
|
afminstall: preinstall
|
||||||
@if test ! -d $(datadir); then $(INSTALL) -d $(datadir); fi
|
@if test ! -d $(datadir); then $(INSTALL) -d $(datadir); fi
|
||||||
$(INSTALL) -d $(datadir)/wx
|
$(INSTALL) -d $(datadir)/wx
|
||||||
$(INSTALL) -d $(datadir)/wx/afm
|
$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)
|
||||||
$(INSTALL) -d $(datadir)/wx/gs_afm
|
$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/afm
|
||||||
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
|
$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
||||||
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
|
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/afm
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
||||||
|
|
||||||
|
m4datainstall: preinstall
|
||||||
|
$(INSTALL) -d $(datadir)/aclocal
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/wxwin.m4 $(datadir)/aclocal
|
||||||
|
|
||||||
# this is the real install target: copies the library, wx-config and the
|
# this is the real install target: copies the library, wx-config and the
|
||||||
# headers to the installation directory
|
# headers to the installation directory
|
||||||
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_NAME@-config
|
preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
|
||||||
@echo " "
|
@echo " "
|
||||||
@echo " Installing wxWindows..."
|
@echo " Installing wxWindows..."
|
||||||
@echo " "
|
@echo " "
|
||||||
@@ -447,20 +416,29 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_N
|
|||||||
@if test ! -d $(bindir); then $(INSTALL) -d $(bindir); fi
|
@if test ! -d $(bindir); then $(INSTALL) -d $(bindir); fi
|
||||||
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
||||||
|
|
||||||
$(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_NAME@-config $(bindir)/wx@TOOLKIT_NAME@-config
|
$(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLCHAIN_NAME@-config $(bindir)/wx@TOOLCHAIN_NAME@-config
|
||||||
cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_NAME@-config wx-config
|
cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLCHAIN_NAME@-config wx-config
|
||||||
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
|
@INSTALL_LIBRARY@ $(build_libdir)/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
|
||||||
|
@if test "x@WX_LIBRARY_IMPORTLIB@" != "x"; then \
|
||||||
|
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_LIBRARY_IMPORTLIB@ $(libdir)/@WX_LIBRARY_IMPORTLIB@; fi
|
||||||
|
|
||||||
$(INSTALL) -d $(libdir)/wx
|
$(INSTALL) -d $(libdir)/wx
|
||||||
$(INSTALL) -d $(libdir)/wx/include
|
$(INSTALL) -d $(libdir)/wx/include
|
||||||
$(INSTALL) -d $(libdir)/wx/include/wx
|
$(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@
|
||||||
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@
|
$(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx
|
||||||
$(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
|
$(INSTALL_DATA) $(build_libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h \
|
||||||
|
$(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
|
||||||
|
|
||||||
$(INSTALL) -d $(includedir)/wx
|
$(INSTALL) -d $(includedir)/wx
|
||||||
|
@# FIXME: This will erroneously install a wx/base dir for wxBase..
|
||||||
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
|
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
|
||||||
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
|
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
|
||||||
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
|
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
|
||||||
|
@if test "@TOOLKIT_DIR@" = "msw"; then $(INSTALL) -d $(includedir)/wx/msw/ole; fi
|
||||||
|
|
||||||
|
@# always install msw headers for wxBase, it's much simpler
|
||||||
|
@if test "$(USE_GUI)" = 0; then $(INSTALL) -d $(includedir)/wx/msw; fi
|
||||||
|
|
||||||
$(INSTALL) -d $(includedir)/wx/protocol
|
$(INSTALL) -d $(includedir)/wx/protocol
|
||||||
$(INSTALL) -d $(includedir)/wx/unix
|
$(INSTALL) -d $(includedir)/wx/unix
|
||||||
@list='$(HEADERS)'; for p in $$list; do \
|
@list='$(HEADERS)'; for p in $$list; do \
|
||||||
@@ -476,14 +454,21 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_N
|
|||||||
echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
|
echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
preinstall_gl: $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@
|
preinstall_res: $(build_libdir)/@WX_RESOURCES_MACOSX_COMPILED@
|
||||||
|
@echo " "
|
||||||
|
@echo " Installing wxWindows Mac resource ..."
|
||||||
|
@echo " "
|
||||||
|
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
||||||
|
$(INSTALL_PROGRAM) $(build_libdir)/@WX_RESOURCES_MACOSX_COMPILED@ $(libdir)/@WX_RESOURCES_MACOSX_COMPILED@
|
||||||
|
|
||||||
|
preinstall_gl: $(build_libdir)/@WX_TARGET_LIBRARY_GL@
|
||||||
@echo " "
|
@echo " "
|
||||||
@echo " Installing wxWindows OpenGl add-on..."
|
@echo " Installing wxWindows OpenGl add-on..."
|
||||||
@echo " "
|
@echo " "
|
||||||
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
||||||
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
|
@INSTALL_LIBRARY@ $(build_libdir)/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
|
||||||
|
|
||||||
install: @AFMINSTALL@ @WX_ALL_INSTALLED@
|
install: @AFMINSTALL@ @WX_ALL_INSTALLED@ m4datainstall
|
||||||
@echo " "
|
@echo " "
|
||||||
@echo " The installation of wxWindows is finished. On certain"
|
@echo " The installation of wxWindows is finished. On certain"
|
||||||
@echo " platforms (e.g. Linux) you'll now have to run ldconfig"
|
@echo " platforms (e.g. Linux) you'll now have to run ldconfig"
|
||||||
@@ -504,16 +489,14 @@ uninstall:
|
|||||||
@$(RM) $(libdir)/@WX_TARGET_LIBRARY@
|
@$(RM) $(libdir)/@WX_TARGET_LIBRARY@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK1@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK2@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK3@
|
|
||||||
@echo " Removing GL library..."
|
@echo " Removing GL library..."
|
||||||
@$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
|
@$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
|
||||||
@echo " Removing helper files..."
|
@echo " Removing helper files..."
|
||||||
@$(RM) $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
|
@$(RM) $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
|
||||||
@$(RM) $(bindir)/wx-config
|
@$(RM) $(bindir)/wx-config
|
||||||
@$(RM) $(bindir)/wx@TOOLKIT_NAME@-config
|
@$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config
|
||||||
@$(RM) $(datadir)/wx/afm/*
|
@$(RM) $(datadir)/wx/afm/*
|
||||||
@$(RM) $(datadir)/wx/gs_afm/*
|
@$(RM) $(datadir)/wx/gs_afm/*
|
||||||
# FIXME: wxBase doesnt install these next 3 dirs.
|
# FIXME: wxBase doesnt install these next 3 dirs.
|
||||||
@@ -532,8 +515,8 @@ uninstall:
|
|||||||
done
|
done
|
||||||
@echo " Removing directories..."
|
@echo " Removing directories..."
|
||||||
@-rmdir $(localedir)
|
@-rmdir $(localedir)
|
||||||
@if test -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_NAME@; fi
|
@if test -d $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx; then rmdir $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx; fi
|
||||||
@if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
|
@if test -d $(libdir)/wx/include/@TOOLCHAIN_NAME@; then rmdir $(libdir)/wx/include/@TOOLCHAIN_NAME@; fi
|
||||||
@if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; 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 $(libdir)/wx; then rmdir $(libdir)/wx; fi
|
||||||
@if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
|
@if test -d $(includedir)/wx/gtk; then rmdir $(includedir)/wx/gtk; fi
|
||||||
@@ -550,8 +533,8 @@ uninstall:
|
|||||||
ALL_DIST: distclean
|
ALL_DIST: distclean
|
||||||
mkdir _dist_dir
|
mkdir _dist_dir
|
||||||
mkdir $(DISTDIR)
|
mkdir $(DISTDIR)
|
||||||
cp $(WXDIR)/configure.in $(DISTDIR)
|
cp $(WXDIR)/wxwin.m4 $(DISTDIR)
|
||||||
cp $(WXDIR)/configure $(DISTDIR)
|
cp $(WXDIR)/aclocal.m4 $(DISTDIR)
|
||||||
cp $(WXDIR)/config.sub $(DISTDIR)
|
cp $(WXDIR)/config.sub $(DISTDIR)
|
||||||
cp $(WXDIR)/config.guess $(DISTDIR)
|
cp $(WXDIR)/config.guess $(DISTDIR)
|
||||||
cp $(WXDIR)/install-sh $(DISTDIR)
|
cp $(WXDIR)/install-sh $(DISTDIR)
|
||||||
@@ -561,27 +544,42 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
||||||
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
||||||
cp $(WXDIR)/Makefile.in $(DISTDIR)
|
cp $(WXDIR)/Makefile.in $(DISTDIR)
|
||||||
|
cp $(WXDIR)/wxBase.spec $(DISTDIR)
|
||||||
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||||
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
||||||
|
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||||
mkdir $(DISTDIR)/lib
|
mkdir $(DISTDIR)/lib
|
||||||
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
||||||
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
||||||
mkdir $(DISTDIR)/src
|
mkdir $(DISTDIR)/src
|
||||||
|
cp $(SRCDIR)/files.lst $(DISTDIR)/src/
|
||||||
mkdir $(DISTDIR)/src/zlib
|
mkdir $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
|
||||||
|
mkdir $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/*.h $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/*.ih $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/*.c $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/Makefile $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/README $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/WHATSNEW $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/mkh $(DISTDIR)/src/regex
|
||||||
|
cp $(REGEXDIR)/tests $(DISTDIR)/src/regex
|
||||||
|
|
||||||
# this target is the common part of distribution script for all GUI toolkits,
|
# this target is the common part of distribution script for all GUI toolkits,
|
||||||
# but is not used when building wxBase distribution
|
# but is not used when building wxBase distribution
|
||||||
ALL_GUI_DIST: ALL_DIST
|
ALL_GUI_DIST: ALL_DIST
|
||||||
cp $(WXDIR)/wx$(TOOLKIT).spec $(DISTDIR)
|
cp $(WXDIR)/configure.in $(DISTDIR)
|
||||||
cp $(WXDIR)/wxBase.spec $(DISTDIR)
|
cp $(WXDIR)/configure $(DISTDIR)
|
||||||
|
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
|
cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README.txt
|
cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
|
||||||
|
cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
|
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
|
||||||
mkdir $(DISTDIR)/include
|
mkdir $(DISTDIR)/include
|
||||||
mkdir $(DISTDIR)/include/wx
|
mkdir $(DISTDIR)/include/wx
|
||||||
@@ -608,7 +606,6 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
mkdir $(DISTDIR)/src/tiff
|
mkdir $(DISTDIR)/src/tiff
|
||||||
mkdir $(DISTDIR)/src/iodbc
|
mkdir $(DISTDIR)/src/iodbc
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
|
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
||||||
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
|
||||||
@@ -642,18 +639,25 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
|
cp $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
|
||||||
|
|
||||||
BASE_DIST: ALL_DIST
|
BASE_DIST: ALL_DIST
|
||||||
|
# make --disable-gui the default
|
||||||
|
sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
|
||||||
|
$(WXDIR)/configure.in > $(DISTDIR)/configure.in
|
||||||
|
sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
|
||||||
|
$(WXDIR)/configure > $(DISTDIR)/configure
|
||||||
|
chmod +x $(DISTDIR)/configure
|
||||||
mkdir $(DISTDIR)/include
|
mkdir $(DISTDIR)/include
|
||||||
mkdir $(DISTDIR)/include/wx
|
mkdir $(DISTDIR)/include/wx
|
||||||
mkdir $(DISTDIR)/include/wx/protocol
|
mkdir $(DISTDIR)/include/wx/protocol
|
||||||
mkdir $(DISTDIR)/include/wx/unix
|
mkdir $(DISTDIR)/include/wx/unix
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw
|
||||||
mkdir $(DISTDIR)/src/common
|
mkdir $(DISTDIR)/src/common
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
|
mkdir $(DISTDIR)/src/msw
|
||||||
cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
|
cp @PORT_FILES@ $(DISTDIR)
|
||||||
cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
|
cp $(WXDIR)/src/wxBase*.dsp $(DISTDIR)
|
||||||
cp $(WXDIR)/wxBase*.ds[pw] $(DISTDIR)
|
cp $(WXDIR)/src/wxBase*.dsw $(DISTDIR)
|
||||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||||
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
|
cp $(DOCDIR)/install.txt $(DISTDIR)/README.txt
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
||||||
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
||||||
@@ -674,11 +678,14 @@ BASE_DIST: ALL_DIST
|
|||||||
cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
|
||||||
|
cp $(SAMPDIR)/console/console.dsp $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
|
||||||
|
|
||||||
GTK_DIST: ALL_GUI_DIST
|
GTK_DIST: ALL_GUI_DIST
|
||||||
|
cp $(WXDIR)/wxGTK.spec $(DISTDIR)
|
||||||
cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
|
cp $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
|
||||||
cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
|
cp $(INCDIR)/wx/gtk/*.xpm $(DISTDIR)/include/wx/gtk
|
||||||
|
cp $(GTKDIR)/files.lst $(DISTDIR)/src/gtk
|
||||||
cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
||||||
cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
||||||
cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
||||||
@@ -687,9 +694,11 @@ GTK_DIST: ALL_GUI_DIST
|
|||||||
cp -R $(WXDIR)/contrib $(DISTDIR)
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
MOTIF_DIST: ALL_GUI_DIST
|
MOTIF_DIST: ALL_GUI_DIST
|
||||||
cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
|
cp $(WXDIR)/wxMotif.spec $(DISTDIR)
|
||||||
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
||||||
|
cp $(MOTIFDIR)/files.lst $(DISTDIR)/src/motif
|
||||||
cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
|
cp $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
|
||||||
|
cp $(MOTIFDIR)/*.c $(DISTDIR)/src/motif
|
||||||
cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
|
cp $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
|
||||||
mkdir $(DISTDIR)/src/motif/xmcombo
|
mkdir $(DISTDIR)/src/motif/xmcombo
|
||||||
cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
|
cp $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
|
||||||
@@ -697,29 +706,58 @@ MOTIF_DIST: ALL_GUI_DIST
|
|||||||
cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
|
cp $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
|
||||||
|
|
||||||
MACX_DIST: ALL_GUI_DIST
|
MACX_DIST: ALL_GUI_DIST
|
||||||
echo "Apple Mac OS X specific distribution not complete"
|
cp $(INCDIR)/*.* $(DISTDIR)/include
|
||||||
|
cp $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
|
||||||
|
cp $(MACDIR)/files.lst $(DISTDIR)/src/mac
|
||||||
|
cp $(MACDIR)/*.cpp $(DISTDIR)/src/mac
|
||||||
|
cp $(MACDIR)/*.c $(DISTDIR)/src/mac
|
||||||
|
cp $(MACDIR)/*.h $(DISTDIR)/src/mac
|
||||||
|
cp $(MACDIR)/*.r $(DISTDIR)/src/mac
|
||||||
|
mkdir $(DISTDIR)/src/mac/morefile
|
||||||
|
cp $(MACDIR)/morefile/*.h $(DISTDIR)/src/mac/morefile
|
||||||
|
cp $(MACDIR)/morefile/*.c $(DISTDIR)/src/mac/morefile
|
||||||
|
mkdir $(DISTDIR)/src/mac/macsock
|
||||||
|
cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
|
||||||
|
|
||||||
MSW_DIST: ALL_GUI_DIST
|
MSW_DIST: ALL_GUI_DIST
|
||||||
cp $(WXDIR)/wxWINE.spec $(DISTDIR)
|
cp $(WXDIR)/wxWINE.spec $(DISTDIR)
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw/ctl3d
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw/gnuwin32
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw/gnuwin32/gl
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw/ole
|
||||||
cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
|
cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
|
||||||
cp $(INCDIR)/wx/msw/*.cur $(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/*.ico $(DISTDIR)/include/wx/msw
|
||||||
cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
|
cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
|
||||||
cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
|
cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
|
||||||
|
cp $(INCDIR)/wx/msw/ctl3d/*.h $(DISTDIR)/include/wx/msw/ctl3d
|
||||||
|
cp $(INCDIR)/wx/msw/gnuwin32/*.h $(DISTDIR)/include/wx/msw/gnuwin32
|
||||||
|
cp $(INCDIR)/wx/msw/gnuwin32/gl/*.h $(DISTDIR)/include/wx/msw/gnuwin32/gl
|
||||||
|
cp $(INCDIR)/wx/msw/gnuwin32/gl/*.def $(DISTDIR)/include/wx/msw/gnuwin32/gl
|
||||||
|
cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/src/msw/ole
|
||||||
|
cp $(MSWDIR)/files.lst $(DISTDIR)/src/msw
|
||||||
cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
|
cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
|
||||||
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
|
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
|
||||||
cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
|
cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
|
||||||
mkdir $(DISTDIR)/src/msw/ole
|
|
||||||
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
|
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
|
||||||
|
|
||||||
|
UNIV_DIST: ALL_GUI_DIST
|
||||||
|
mkdir $(DISTDIR)/include/wx/univ
|
||||||
|
mkdir $(DISTDIR)/src/univ
|
||||||
|
mkdir $(DISTDIR)/src/univ/themes
|
||||||
|
cp $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
|
||||||
|
cp $(SRCDIR)/univ/files.lst $(DISTDIR)/src/univ
|
||||||
|
cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
|
||||||
|
cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
|
||||||
|
|
||||||
DEMOS_DIST: ALL_GUI_DIST
|
DEMOS_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/demos
|
mkdir $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
|
cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/configure $(DISTDIR)/demos
|
cp $(DEMODIR)/configure $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/configure.in $(DISTDIR)/demos
|
cp $(DEMODIR)/configure.in $(DISTDIR)/demos
|
||||||
|
|
||||||
cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
|
|
||||||
|
|
||||||
mkdir $(DISTDIR)/demos/bombs
|
mkdir $(DISTDIR)/demos/bombs
|
||||||
cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
|
||||||
cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
|
||||||
@@ -728,6 +766,8 @@ DEMOS_DIST: ALL_GUI_DIST
|
|||||||
cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
|
||||||
cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
|
||||||
|
|
||||||
|
cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
|
||||||
|
|
||||||
mkdir $(DISTDIR)/demos/forty
|
mkdir $(DISTDIR)/demos/forty
|
||||||
cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
|
cp $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
|
||||||
cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
|
cp $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
|
||||||
@@ -1203,6 +1243,14 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
|
cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
|
||||||
cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
|
cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/widgets
|
||||||
|
mkdir $(DISTDIR)/samples/widgets/icons
|
||||||
|
cp $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
|
||||||
|
cp $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
|
||||||
|
cp $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
|
||||||
|
cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
|
||||||
|
cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
|
||||||
|
|
||||||
UTILS_DIST: ALL_GUI_DIST
|
UTILS_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/utils
|
mkdir $(DISTDIR)/utils
|
||||||
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
||||||
@@ -1251,6 +1299,7 @@ MANUAL_DIST:
|
|||||||
mkdir $(DISTDIR)/docs/latex
|
mkdir $(DISTDIR)/docs/latex
|
||||||
mkdir $(DISTDIR)/docs/latex/wx
|
mkdir $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
|
||||||
|
cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
||||||
@@ -1262,10 +1311,13 @@ MANUAL_DIST:
|
|||||||
PYTHON_DIST:
|
PYTHON_DIST:
|
||||||
mkdir $(DISTDIR)/wxPython
|
mkdir $(DISTDIR)/wxPython
|
||||||
mkdir $(DISTDIR)/wxPython/contrib
|
mkdir $(DISTDIR)/wxPython/contrib
|
||||||
|
mkdir $(DISTDIR)/wxPython/contrib/gizmos
|
||||||
mkdir $(DISTDIR)/wxPython/contrib/glcanvas
|
mkdir $(DISTDIR)/wxPython/contrib/glcanvas
|
||||||
mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
||||||
mkdir $(DISTDIR)/wxPython/contrib/ogl
|
mkdir $(DISTDIR)/wxPython/contrib/ogl
|
||||||
mkdir $(DISTDIR)/wxPython/contrib/stc
|
mkdir $(DISTDIR)/wxPython/contrib/stc
|
||||||
|
mkdir $(DISTDIR)/wxPython/contrib/stc/gtk
|
||||||
|
mkdir $(DISTDIR)/wxPython/contrib/xrc
|
||||||
mkdir $(DISTDIR)/wxPython/demo
|
mkdir $(DISTDIR)/wxPython/demo
|
||||||
mkdir $(DISTDIR)/wxPython/demo/bitmaps
|
mkdir $(DISTDIR)/wxPython/demo/bitmaps
|
||||||
mkdir $(DISTDIR)/wxPython/demo/data
|
mkdir $(DISTDIR)/wxPython/demo/data
|
||||||
@@ -1274,16 +1326,19 @@ PYTHON_DIST:
|
|||||||
mkdir $(DISTDIR)/wxPython/wxPython
|
mkdir $(DISTDIR)/wxPython/wxPython
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib
|
mkdir $(DISTDIR)/wxPython/wxPython/lib
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
mkdir $(DISTDIR)/wxPython/wxPython/lib/sizers
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
|
||||||
|
|
||||||
cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
|
cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
|
||||||
cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
|
cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
|
||||||
cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
|
cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
|
||||||
cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
|
cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
|
||||||
|
cp $(WXDIR)/wxPython/contrib/gizmos/*.{py,cpp,i} $(DISTDIR)/wxPython/contrib/gizmos
|
||||||
-cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
|
-cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
|
||||||
cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
||||||
-cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
|
-cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
|
||||||
-cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
|
-cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
|
||||||
|
-cp $(WXDIR)/wxPython/contrib/stc/gtk/* $(DISTDIR)/wxPython/contrib/stc/gtk
|
||||||
|
-cp $(WXDIR)/wxPython/contrib/xrc/xrc.* $(DISTDIR)/wxPython/contrib/xrc
|
||||||
-cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
|
-cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
|
||||||
-cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
|
-cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
|
||||||
-cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
|
-cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
|
||||||
@@ -1292,6 +1347,7 @@ PYTHON_DIST:
|
|||||||
cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
|
cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
|
cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
|
||||||
cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
|
cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
|
cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
$(RM) -r _dist_dir
|
$(RM) -r _dist_dir
|
||||||
@@ -1314,7 +1370,6 @@ dist-only:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dist: @GUIDIST@
|
dist: @GUIDIST@
|
||||||
cp $(WXDIR)/src/files.lst $(DISTDIR)/src
|
|
||||||
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
||||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
|
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
|
||||||
@if test "$(USE_GUI)" = 1; then \
|
@if test "$(USE_GUI)" = 1; then \
|
||||||
@@ -1345,7 +1400,6 @@ bzip-dist-only:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
bzip-dist: @GUIDIST@
|
bzip-dist: @GUIDIST@
|
||||||
cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
|
|
||||||
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
||||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
|
@cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
|
||||||
@if test "$(USE_GUI)" = 1; then \
|
@if test "$(USE_GUI)" = 1; then \
|
||||||
@@ -1358,31 +1412,48 @@ bzip-dist: @GUIDIST@
|
|||||||
mv wxDemos demos; \
|
mv wxDemos demos; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
|
debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
|
||||||
mkdir $(DISTDIR)/debian
|
mkdir $(DISTDIR)/debian
|
||||||
-cp $(WXDIR)/debian/* $(DISTDIR)/debian
|
-cp $(WXDIR)/debian/* $(DISTDIR)/debian
|
||||||
cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
|
|
||||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
|
cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
|
||||||
cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
|
cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
|
||||||
cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
|
cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
|
||||||
rm -f $(DISTDIR)/*.spec
|
rm -f $(DISTDIR)/*.spec
|
||||||
|
|
||||||
|
@# now prune away a lot of the crap included by using cp -R
|
||||||
|
@# in other dist targets. Ugly and hardly portable but it
|
||||||
|
@# will run on any Debian box and that's enough for now.
|
||||||
|
|
||||||
|
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
|
||||||
|
\( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
|
||||||
|
-print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
||||||
mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
||||||
|
|
||||||
|
debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
|
||||||
|
|
||||||
|
debian-msw-dirs:
|
||||||
|
mkdir $(DISTDIR)/include/wx/msw
|
||||||
|
mkdir $(DISTDIR)/src/msw
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o
|
$(RM) *.o
|
||||||
$(RM) *.d
|
$(RM) *.d
|
||||||
$(RM) parser.c
|
$(RM) parser.c
|
||||||
$(RM) lexer.c
|
$(RM) lexer.c
|
||||||
# $(RM) -r ./lib/wx/*
|
$(RM) $(build_libdir)/lib*
|
||||||
$(RM) ./lib/lib*
|
# Don't remove this lot, configure will reuse it
|
||||||
|
# if it's still good
|
||||||
|
# $(RM) -r $(build_libdir)/wx/*
|
||||||
|
|
||||||
cleanall: clean
|
cleanall: clean
|
||||||
|
|
||||||
|
|
||||||
RPMTOP=_dist_dir/_rpm_top
|
RPMTOP=_dist_dir/_rpm_top
|
||||||
|
|
||||||
rpm: dist
|
rpm: bzip-dist
|
||||||
@echo "*** Building RPMs ***"
|
@echo "*** Building RPMs ***"
|
||||||
-mkdir $(RPMTOP)
|
-mkdir $(RPMTOP)
|
||||||
-mkdir $(RPMTOP)/SOURCES
|
-mkdir $(RPMTOP)/SOURCES
|
||||||
@@ -1390,6 +1461,7 @@ rpm: dist
|
|||||||
-mkdir $(RPMTOP)/BUILD
|
-mkdir $(RPMTOP)/BUILD
|
||||||
-mkdir $(RPMTOP)/RPMS
|
-mkdir $(RPMTOP)/RPMS
|
||||||
-mkdir $(RPMTOP)/SRPMS
|
-mkdir $(RPMTOP)/SRPMS
|
||||||
cp -f $(WXARCHIVE) $(RPMTOP)/SOURCES
|
cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES
|
||||||
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
|
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
|
||||||
mv -f `find $(RPMTOP) -name "wx$(TARGET)*.rpm"` .
|
mv -f `find $(RPMTOP) -name "wx$(TARGET)*.rpm"` .
|
||||||
|
|
||||||
|
160
aclocal.m4
vendored
160
aclocal.m4
vendored
@@ -10,14 +10,29 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|||||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
dnl PARTICULAR PURPOSE.
|
dnl PARTICULAR PURPOSE.
|
||||||
|
|
||||||
# Configure paths for GTK+
|
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||||
# Owen Taylor 97-11-3
|
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||||
|
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.
|
|
||||||
AC_DEFUN(AM_PATH_GTK,
|
AC_DEFUN(AM_PATH_GTK,
|
||||||
[
|
[dnl
|
||||||
|
dnl Get the cflags and libraries from the gtk-config script
|
||||||
|
dnl
|
||||||
|
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||||
|
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||||
|
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||||
|
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||||
|
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||||
|
, enable_gtktest=yes)
|
||||||
|
|
||||||
|
for module in . $4
|
||||||
|
do
|
||||||
|
case "$module" in
|
||||||
|
gthread)
|
||||||
|
gtk_config_args="$gtk_config_args gthread"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
if test x$gtk_config_exec_prefix != x ; then
|
if test x$gtk_config_exec_prefix != x ; then
|
||||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||||
if test x${GTK_CONFIG+set} != xset ; then
|
if test x${GTK_CONFIG+set} != xset ; then
|
||||||
@@ -35,20 +50,29 @@ AC_DEFUN(AM_PATH_GTK,
|
|||||||
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
||||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||||
no_gtk=""
|
no_gtk=""
|
||||||
if test "$GTK_CONFIG" != "no" ; then
|
if test "$GTK_CONFIG" = "no" ; then
|
||||||
GTK_CFLAGS=`$GTK_CONFIG --cflags`
|
no_gtk=yes
|
||||||
GTK_LIBS=`$GTK_CONFIG --libs gthread`
|
else
|
||||||
|
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
||||||
|
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
||||||
|
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||||
|
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||||
|
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||||
|
if test "x$enable_gtktest" = "xyes" ; then
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||||
LIBS="$LIBS $GTK_LIBS"
|
LIBS="$GTK_LIBS $LIBS"
|
||||||
dnl
|
dnl
|
||||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||||
dnl checks the results of gtk-config to some extent)
|
dnl checks the results of gtk-config to some extent
|
||||||
dnl
|
dnl
|
||||||
|
rm -f conf.gtktest
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gtk/gtkfeatures.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
@@ -56,42 +80,126 @@ int
|
|||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
int major, minor, micro;
|
int major, minor, micro;
|
||||||
|
char *tmp_version;
|
||||||
|
|
||||||
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
|
system ("touch conf.gtktest");
|
||||||
|
|
||||||
|
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||||
|
tmp_version = g_strdup("$min_gtk_version");
|
||||||
|
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||||
printf("%s, bad version string\n", "$min_gtk_version");
|
printf("%s, bad version string\n", "$min_gtk_version");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((GTK_MAJOR_VERSION != gtk_major_version) ||
|
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||||
(GTK_MINOR_VERSION != gtk_minor_version) ||
|
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||||
(GTK_MICRO_VERSION != gtk_micro_version)) {
|
(gtk_micro_version != $gtk_config_micro_version))
|
||||||
printf("Headers vs. library version mismatch!\n");
|
{
|
||||||
exit(1);
|
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||||
|
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
printf ("*** was found! If gtk-config was correct, then it is best\n");
|
||||||
|
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||||
|
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||||
|
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||||
|
printf("*** required on your system.\n");
|
||||||
|
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
||||||
|
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
||||||
|
printf("*** before re-running configure\n");
|
||||||
}
|
}
|
||||||
|
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||||
if (gtk_minor_version == 1) return FALSE;
|
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||||
|
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||||
return !((gtk_major_version > major) ||
|
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||||
|
{
|
||||||
|
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||||
|
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||||
|
printf("*** library (version %d.%d.%d)\n",
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
}
|
||||||
|
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ((gtk_major_version > major) ||
|
||||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
|
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||||
|
major, minor, micro);
|
||||||
|
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||||
|
printf("***\n");
|
||||||
|
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||||
|
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
||||||
|
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||||
|
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
||||||
|
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
||||||
|
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||||
|
printf("*** so that the correct libraries are found at run-time))\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
LIBS="$ac_save_LIBS"
|
LIBS="$ac_save_LIBS"
|
||||||
else
|
fi
|
||||||
no_gtk=yes
|
|
||||||
fi
|
fi
|
||||||
if test "x$no_gtk" = x ; then
|
if test "x$no_gtk" = x ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
ifelse([$2], , :, [$2])
|
ifelse([$2], , :, [$2])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
if test "$GTK_CONFIG" = "no" ; then
|
||||||
|
echo "*** The gtk-config script installed by GTK could not be found"
|
||||||
|
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||||
|
echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
||||||
|
echo "*** full path to gtk-config."
|
||||||
|
else
|
||||||
|
if test -f conf.gtktest ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "*** Could not run GTK test program, checking why..."
|
||||||
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||||
|
LIBS="$LIBS $GTK_LIBS"
|
||||||
|
AC_TRY_LINK([
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||||
|
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||||
|
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||||
|
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||||
|
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||||
|
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||||
|
echo "*** is required on your system"
|
||||||
|
echo "***"
|
||||||
|
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||||
|
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||||
|
echo "***"
|
||||||
|
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||||
|
echo "*** came with the system with the command"
|
||||||
|
echo "***"
|
||||||
|
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||||
|
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||||
|
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||||
|
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||||
|
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
||||||
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
GTK_CFLAGS=""
|
GTK_CFLAGS=""
|
||||||
GTK_LIBS=""
|
GTK_LIBS=""
|
||||||
ifelse([$3], , :, [$3])
|
ifelse([$3], , :, [$3])
|
||||||
fi
|
fi
|
||||||
AC_SUBST(GTK_CFLAGS)
|
AC_SUBST(GTK_CFLAGS)
|
||||||
AC_SUBST(GTK_LIBS)
|
AC_SUBST(GTK_LIBS)
|
||||||
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||||
|
548
config.guess
vendored
548
config.guess
vendored
@@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
version='2000-10-23'
|
timestamp='2001-09-04'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -32,30 +32,41 @@ version='2000-10-23'
|
|||||||
# exits with 0. Otherwise, it exits with 1.
|
# exits with 0. Otherwise, it exits with 1.
|
||||||
#
|
#
|
||||||
# The plan is that this can be called by configure scripts if you
|
# The plan is that this can be called by configure scripts if you
|
||||||
# don't specify an explicit system type (host/target name).
|
# don't specify an explicit build system type.
|
||||||
#
|
|
||||||
# Only a few systems have been added to this list; please add others
|
|
||||||
# (but try to keep the structure clean).
|
|
||||||
#
|
|
||||||
|
|
||||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
usage="\
|
usage="\
|
||||||
Usage: $0 [OPTION]
|
Usage: $0 [OPTION]
|
||||||
|
|
||||||
Output the configuration name of this system.
|
Output the configuration name of the system \`$me' is run on.
|
||||||
|
|
||||||
Operation modes:
|
Operation modes:
|
||||||
-h, --help print this help, then exit
|
-h, --help print this help, then exit
|
||||||
-V, --version print version number, then exit"
|
-t, --time-stamp print date of last modification, then exit
|
||||||
|
-v, --version print version number, then exit
|
||||||
|
|
||||||
|
Report bugs and patches to <config-patches@gnu.org>."
|
||||||
|
|
||||||
|
version="\
|
||||||
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
|
Originally written by Per Bothner.
|
||||||
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
||||||
help="
|
help="
|
||||||
Try \`$me --help' for more information."
|
Try \`$me --help' for more information."
|
||||||
|
|
||||||
# Parse command line
|
# Parse command line
|
||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
case "$1" in
|
case $1 in
|
||||||
--version | --vers* | -V )
|
--time-stamp | --time* | -t )
|
||||||
|
echo "$timestamp" ; exit 0 ;;
|
||||||
|
--version | -v )
|
||||||
echo "$version" ; exit 0 ;;
|
echo "$version" ; exit 0 ;;
|
||||||
--help | --h* | -h )
|
--help | --h* | -h )
|
||||||
echo "$usage"; exit 0 ;;
|
echo "$usage"; exit 0 ;;
|
||||||
@@ -64,9 +75,7 @@ while test $# -gt 0 ; do
|
|||||||
- ) # Use stdin as input.
|
- ) # Use stdin as input.
|
||||||
break ;;
|
break ;;
|
||||||
-* )
|
-* )
|
||||||
exec >&2
|
echo "$me: invalid option $1$help" >&2
|
||||||
echo "$me: invalid option $1"
|
|
||||||
echo "$help"
|
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
* )
|
* )
|
||||||
break ;;
|
break ;;
|
||||||
@@ -78,22 +87,33 @@ if test $# != 0; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use $HOST_CC if defined. $CC may point to a cross-compiler
|
|
||||||
if test x"$CC_FOR_BUILD" = x; then
|
|
||||||
if test x"$HOST_CC" != x; then
|
|
||||||
CC_FOR_BUILD="$HOST_CC"
|
|
||||||
else
|
|
||||||
if test x"$CC" != x; then
|
|
||||||
CC_FOR_BUILD="$CC"
|
|
||||||
else
|
|
||||||
CC_FOR_BUILD=cc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
dummy=dummy-$$
|
||||||
|
trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
|
||||||
|
|
||||||
|
# CC_FOR_BUILD -- compiler used by this script.
|
||||||
|
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
||||||
|
# use `HOST_CC' if defined, but it is deprecated.
|
||||||
|
|
||||||
|
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
|
||||||
|
,,) echo "int dummy(){}" > $dummy.c ;
|
||||||
|
for c in cc gcc c89 ; do
|
||||||
|
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
|
||||||
|
if test $? = 0 ; then
|
||||||
|
CC_FOR_BUILD="$c"; break ;
|
||||||
|
fi ;
|
||||||
|
done ;
|
||||||
|
rm -f $dummy.c $dummy.o $dummy.rel ;
|
||||||
|
if test x"$CC_FOR_BUILD" = x ; then
|
||||||
|
CC_FOR_BUILD=no_compiler_found ;
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
,,*) CC_FOR_BUILD=$CC ;;
|
||||||
|
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
||||||
|
esac'
|
||||||
|
|
||||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||||
# (ghazi@noc.rutgers.edu 8/24/94.)
|
# (ghazi@noc.rutgers.edu 1994-08-24)
|
||||||
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
||||||
PATH=$PATH:/.attbin ; export PATH
|
PATH=$PATH:/.attbin ; export PATH
|
||||||
fi
|
fi
|
||||||
@@ -103,9 +123,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
|||||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
dummy=dummy-$$
|
|
||||||
trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
|
|
||||||
|
|
||||||
# Note: order is significant - the case branches are not exclusive.
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
@@ -129,7 +146,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
ibmrt|romp-ibm) machine=romp-ibm ;;
|
ibmrt|romp-ibm) machine=romp-ibm ;;
|
||||||
*) machine=${UNAME_MACHINE}-unknown ;;
|
*) machine=${UNAME_MACHINE}-unknown ;;
|
||||||
esac
|
esac
|
||||||
# The Operating System including object format.
|
# The Operating System including object format, if it has switched
|
||||||
|
# to ELF recently, or will in the future.
|
||||||
|
case "${UNAME_MACHINE}" in
|
||||||
|
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
|
||||||
|
eval $set_cc_for_build
|
||||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
| grep __ELF__ >/dev/null
|
| grep __ELF__ >/dev/null
|
||||||
then
|
then
|
||||||
@@ -139,6 +160,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
else
|
else
|
||||||
os=netbsdelf
|
os=netbsdelf
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
os=netbsd
|
||||||
|
;;
|
||||||
|
esac
|
||||||
# The OS release
|
# The OS release
|
||||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||||
@@ -179,6 +205,7 @@ main:
|
|||||||
jsr \$26,exit
|
jsr \$26,exit
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
|
eval $set_cc_for_build
|
||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
case `./$dummy` in
|
case `./$dummy` in
|
||||||
@@ -200,6 +227,9 @@ EOF
|
|||||||
2-307)
|
2-307)
|
||||||
UNAME_MACHINE="alphaev67"
|
UNAME_MACHINE="alphaev67"
|
||||||
;;
|
;;
|
||||||
|
2-1307)
|
||||||
|
UNAME_MACHINE="alphaev68"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.s $dummy
|
rm -f $dummy.s $dummy
|
||||||
@@ -247,7 +277,7 @@ EOF
|
|||||||
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
exit 0;;
|
exit 0;;
|
||||||
SR2?01:HI-UX/MPP:*:*)
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
echo hppa1.1-hitachi-hiuxmpp
|
echo hppa1.1-hitachi-hiuxmpp
|
||||||
exit 0;;
|
exit 0;;
|
||||||
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
|
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
|
||||||
@@ -303,6 +333,9 @@ EOF
|
|||||||
aushp:SunOS:*:*)
|
aushp:SunOS:*:*)
|
||||||
echo sparc-auspex-sunos${UNAME_RELEASE}
|
echo sparc-auspex-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
sparc*:NetBSD:*)
|
||||||
|
echo `uname -p`-unknown-netbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
atari*:OpenBSD:*:*)
|
atari*:OpenBSD:*:*)
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -360,6 +393,7 @@ EOF
|
|||||||
echo clipper-intergraph-clix${UNAME_RELEASE}
|
echo clipper-intergraph-clix${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mips:*:*:UMIPS | mips:*:*:RISCos)
|
mips:*:*:UMIPS | mips:*:*:RISCos)
|
||||||
|
eval $set_cc_for_build
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#include <stdio.h> /* for printf() prototype */
|
#include <stdio.h> /* for printf() prototype */
|
||||||
@@ -383,10 +417,13 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy \
|
$CC_FOR_BUILD $dummy.c -o $dummy \
|
||||||
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||||
&& rm $dummy.c $dummy && exit 0
|
&& rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
Motorola:PowerMAX_OS:*:*)
|
||||||
|
echo powerpc-motorola-powermax
|
||||||
|
exit 0 ;;
|
||||||
Night_Hawk:Power_UNIX:*:*)
|
Night_Hawk:Power_UNIX:*:*)
|
||||||
echo powerpc-harris-powerunix
|
echo powerpc-harris-powerunix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -434,11 +471,20 @@ EOF
|
|||||||
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
|
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
|
||||||
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
||||||
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
||||||
i?86:AIX:*:*)
|
i*86:AIX:*:*)
|
||||||
echo i386-ibm-aix
|
echo i386-ibm-aix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
ia64:AIX:*:*)
|
||||||
|
if [ -x /usr/bin/oslevel ] ; then
|
||||||
|
IBM_REV=`/usr/bin/oslevel`
|
||||||
|
else
|
||||||
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||||
|
fi
|
||||||
|
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
|
||||||
|
exit 0 ;;
|
||||||
*:AIX:2:3)
|
*:AIX:2:3)
|
||||||
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
|
eval $set_cc_for_build
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <sys/systemcfg.h>
|
#include <sys/systemcfg.h>
|
||||||
|
|
||||||
@@ -450,7 +496,7 @@ EOF
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo rs6000-ibm-aix3.2.5
|
echo rs6000-ibm-aix3.2.5
|
||||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
@@ -459,9 +505,9 @@ EOF
|
|||||||
echo rs6000-ibm-aix3.2
|
echo rs6000-ibm-aix3.2
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:4)
|
*:AIX:*:[45])
|
||||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
||||||
if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||||
IBM_ARCH=rs6000
|
IBM_ARCH=rs6000
|
||||||
else
|
else
|
||||||
IBM_ARCH=powerpc
|
IBM_ARCH=powerpc
|
||||||
@@ -469,7 +515,7 @@ EOF
|
|||||||
if [ -x /usr/bin/oslevel ] ; then
|
if [ -x /usr/bin/oslevel ] ; then
|
||||||
IBM_REV=`/usr/bin/oslevel`
|
IBM_REV=`/usr/bin/oslevel`
|
||||||
else
|
else
|
||||||
IBM_REV=4.${UNAME_RELEASE}
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||||
fi
|
fi
|
||||||
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -495,10 +541,29 @@ EOF
|
|||||||
echo m68k-hp-bsd4.4
|
echo m68k-hp-bsd4.4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
9000/[34678]??:HP-UX:*:*)
|
9000/[34678]??:HP-UX:*:*)
|
||||||
|
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
||||||
case "${UNAME_MACHINE}" in
|
case "${UNAME_MACHINE}" in
|
||||||
9000/31? ) HP_ARCH=m68000 ;;
|
9000/31? ) HP_ARCH=m68000 ;;
|
||||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||||
9000/[678][0-9][0-9])
|
9000/[678][0-9][0-9])
|
||||||
|
case "${HPUX_REV}" in
|
||||||
|
11.[0-9][0-9])
|
||||||
|
if [ -x /usr/bin/getconf ]; then
|
||||||
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||||
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||||
|
case "${sc_cpu_version}" in
|
||||||
|
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||||
|
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
||||||
|
532) # CPU_PA_RISC2_0
|
||||||
|
case "${sc_kernel_bits}" in
|
||||||
|
32) HP_ARCH="hppa2.0n" ;;
|
||||||
|
64) HP_ARCH="hppa2.0w" ;;
|
||||||
|
esac ;;
|
||||||
|
esac
|
||||||
|
fi ;;
|
||||||
|
esac
|
||||||
|
if [ "${HP_ARCH}" = "" ]; then
|
||||||
|
eval $set_cc_for_build
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
@@ -533,12 +598,18 @@ EOF
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
||||||
|
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
|
fi ;;
|
||||||
esac
|
esac
|
||||||
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
ia64:HP-UX:*:*)
|
||||||
|
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
||||||
|
echo ia64-hp-hpux${HPUX_REV}
|
||||||
|
exit 0 ;;
|
||||||
3050*:HI-UX:*:*)
|
3050*:HI-UX:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
int
|
int
|
||||||
@@ -564,7 +635,7 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo unknown-hitachi-hiuxwe2
|
echo unknown-hitachi-hiuxwe2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -574,7 +645,7 @@ EOF
|
|||||||
9000/8??:4.3bsd:*:*)
|
9000/8??:4.3bsd:*:*)
|
||||||
echo hppa1.0-hp-bsd
|
echo hppa1.0-hp-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*9??*:MPE/iX:*:*)
|
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
|
||||||
echo hppa1.0-hp-mpeix
|
echo hppa1.0-hp-mpeix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
||||||
@@ -583,7 +654,7 @@ EOF
|
|||||||
hp8??:OSF1:*:*)
|
hp8??:OSF1:*:*)
|
||||||
echo hppa1.0-hp-osf
|
echo hppa1.0-hp-osf
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:OSF1:*:*)
|
i*86:OSF1:*:*)
|
||||||
if [ -x /usr/sbin/sysversion ] ; then
|
if [ -x /usr/sbin/sysversion ] ; then
|
||||||
echo ${UNAME_MACHINE}-unknown-osf1mk
|
echo ${UNAME_MACHINE}-unknown-osf1mk
|
||||||
else
|
else
|
||||||
@@ -618,37 +689,39 @@ EOF
|
|||||||
echo xmp-cray-unicos
|
echo xmp-cray-unicos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY*Y-MP:*:*:*)
|
CRAY*Y-MP:*:*:*)
|
||||||
echo ymp-cray-unicos${UNAME_RELEASE}
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY*[A-Z]90:*:*:*)
|
CRAY*[A-Z]90:*:*:*)
|
||||||
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
|
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
|
||||||
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
|
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
|
||||||
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
|
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
|
||||||
|
-e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY*TS:*:*:*)
|
CRAY*TS:*:*:*)
|
||||||
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY*T3E:*:*:*)
|
CRAY*T3D:*:*:*)
|
||||||
echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
CRAY*T3E:*:*:*)
|
||||||
|
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
|
exit 0 ;;
|
||||||
CRAY*SV1:*:*:*)
|
CRAY*SV1:*:*:*)
|
||||||
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY-2:*:*:*)
|
CRAY-2:*:*:*)
|
||||||
echo cray2-cray-unicos
|
echo cray2-cray-unicos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
F300:UNIX_System_V:*:*)
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
||||||
|
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||||
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||||
exit 0 ;;
|
|
||||||
F301:UNIX_System_V:*:*)
|
|
||||||
echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
|
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
hp300:OpenBSD:*:*)
|
hp300:OpenBSD:*:*)
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sparc*:BSD/OS:*:*)
|
sparc*:BSD/OS:*:*)
|
||||||
@@ -693,204 +766,92 @@ EOF
|
|||||||
i*86:Minix:*:*)
|
i*86:Minix:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-minix
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:Linux:*:*)
|
arm*:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
ia64:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux
|
||||||
|
exit 0 ;;
|
||||||
|
m68*:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
mips:Linux:*:*)
|
||||||
|
case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
|
||||||
|
big) echo mips-unknown-linux-gnu && exit 0 ;;
|
||||||
|
little) echo mipsel-unknown-linux-gnu && exit 0 ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
ppc:Linux:*:*)
|
||||||
|
echo powerpc-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
ppc64:Linux:*:*)
|
||||||
|
echo powerpc64-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
alpha:Linux:*:*)
|
||||||
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
|
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||||
|
EV56) UNAME_MACHINE=alphaev56 ;;
|
||||||
|
PCA56) UNAME_MACHINE=alphapca56 ;;
|
||||||
|
PCA57) UNAME_MACHINE=alphapca56 ;;
|
||||||
|
EV6) UNAME_MACHINE=alphaev6 ;;
|
||||||
|
EV67) UNAME_MACHINE=alphaev67 ;;
|
||||||
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||||
|
esac
|
||||||
|
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
||||||
|
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
|
exit 0 ;;
|
||||||
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
|
# Look for CPU level
|
||||||
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
|
PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
||||||
|
PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
||||||
|
*) echo hppa-unknown-linux-gnu ;;
|
||||||
|
esac
|
||||||
|
exit 0 ;;
|
||||||
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||||
|
echo hppa64-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
exit 0 ;;
|
||||||
|
sh*:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
x86_64:Linux:*:*)
|
||||||
|
echo x86_64-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:Linux:*:*)
|
||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
# first see if it will tell us. cd to the root directory to prevent
|
# first see if it will tell us. cd to the root directory to prevent
|
||||||
# problems with other programs or directories called `ld' in the path.
|
# problems with other programs or directories called `ld' in the path.
|
||||||
ld_supported_emulations=`cd /; ld --help 2>&1 \
|
ld_supported_targets=`cd /; ld --help 2>&1 \
|
||||||
| sed -ne '/supported emulations:/!d
|
| sed -ne '/supported targets:/!d
|
||||||
s/[ ][ ]*/ /g
|
s/[ ][ ]*/ /g
|
||||||
s/.*supported emulations: *//
|
s/.*supported targets: *//
|
||||||
s/ .*//
|
s/ .*//
|
||||||
p'`
|
p'`
|
||||||
case "$ld_supported_emulations" in
|
case "$ld_supported_targets" in
|
||||||
*ia64)
|
elf32-i386)
|
||||||
echo "${UNAME_MACHINE}-unknown-linux"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
i?86linux)
|
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf_i?86)
|
|
||||||
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
||||||
;;
|
;;
|
||||||
i?86coff)
|
a.out-i386-linux)
|
||||||
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||||
|
exit 0 ;;
|
||||||
|
coff-i386)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||||
exit 0
|
exit 0 ;;
|
||||||
;;
|
"")
|
||||||
sparclinux)
|
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
# one that does not give us useful --help.
|
||||||
exit 0
|
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
||||||
;;
|
exit 0 ;;
|
||||||
armlinux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf32arm*)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
armelf_linux*)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
m68klinux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf32ppc | elf32ppclinux)
|
|
||||||
# Determine Lib Version
|
|
||||||
cat >$dummy.c <<EOF
|
|
||||||
#include <features.h>
|
|
||||||
#if defined(__GLIBC__)
|
|
||||||
extern char __libc_version[];
|
|
||||||
extern char __libc_release[];
|
|
||||||
#endif
|
|
||||||
main(argc, argv)
|
|
||||||
int argc;
|
|
||||||
char *argv[];
|
|
||||||
{
|
|
||||||
#if defined(__GLIBC__)
|
|
||||||
printf("%s %s\n", __libc_version, __libc_release);
|
|
||||||
#else
|
|
||||||
printf("unkown\n");
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
LIBC=""
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
|
|
||||||
if test "$?" = 0 ; then
|
|
||||||
./$dummy | grep 1\.99 > /dev/null
|
|
||||||
if test "$?" = 0 ; then
|
|
||||||
LIBC="libc1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -f $dummy.c $dummy
|
|
||||||
echo powerpc-unknown-linux-gnu${LIBC}
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
shelf_linux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test "${UNAME_MACHINE}" = "alpha" ; then
|
|
||||||
cat <<EOF >$dummy.s
|
|
||||||
.data
|
|
||||||
\$Lformat:
|
|
||||||
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.globl main
|
|
||||||
.align 4
|
|
||||||
.ent main
|
|
||||||
main:
|
|
||||||
.frame \$30,16,\$26,0
|
|
||||||
ldgp \$29,0(\$27)
|
|
||||||
.prologue 1
|
|
||||||
.long 0x47e03d80 # implver \$0
|
|
||||||
lda \$2,-1
|
|
||||||
.long 0x47e20c21 # amask \$2,\$1
|
|
||||||
lda \$16,\$Lformat
|
|
||||||
mov \$0,\$17
|
|
||||||
not \$1,\$18
|
|
||||||
jsr \$26,printf
|
|
||||||
ldgp \$29,0(\$26)
|
|
||||||
mov 0,\$16
|
|
||||||
jsr \$26,exit
|
|
||||||
.end main
|
|
||||||
EOF
|
|
||||||
LIBC=""
|
|
||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
|
||||||
if test "$?" = 0 ; then
|
|
||||||
case `./$dummy` in
|
|
||||||
0-0)
|
|
||||||
UNAME_MACHINE="alpha"
|
|
||||||
;;
|
|
||||||
1-0)
|
|
||||||
UNAME_MACHINE="alphaev5"
|
|
||||||
;;
|
|
||||||
1-1)
|
|
||||||
UNAME_MACHINE="alphaev56"
|
|
||||||
;;
|
|
||||||
1-101)
|
|
||||||
UNAME_MACHINE="alphapca56"
|
|
||||||
;;
|
|
||||||
2-303)
|
|
||||||
UNAME_MACHINE="alphaev6"
|
|
||||||
;;
|
|
||||||
2-307)
|
|
||||||
UNAME_MACHINE="alphaev67"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
objdump --private-headers $dummy | \
|
|
||||||
grep ld.so.1 > /dev/null
|
|
||||||
if test "$?" = 0 ; then
|
|
||||||
LIBC="libc1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -f $dummy.s $dummy
|
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
|
||||||
cat >$dummy.c <<EOF
|
|
||||||
#ifdef __cplusplus
|
|
||||||
#include <stdio.h> /* for printf() prototype */
|
|
||||||
int main (int argc, char *argv[]) {
|
|
||||||
#else
|
|
||||||
int main (argc, argv) int argc; char *argv[]; {
|
|
||||||
#endif
|
|
||||||
#ifdef __MIPSEB__
|
|
||||||
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
|
||||||
#endif
|
|
||||||
#ifdef __MIPSEL__
|
|
||||||
printf ("%sel-unknown-linux-gnu\n", argv[1]);
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
|
||||||
rm -f $dummy.c $dummy
|
|
||||||
elif test "${UNAME_MACHINE}" = "s390"; then
|
|
||||||
echo s390-ibm-linux && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "x86_64"; then
|
|
||||||
echo x86_64-unknown-linux-gnu && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "parisc" -o "${UNAME_MACHINE}" = "hppa"; then
|
|
||||||
# Look for CPU level
|
|
||||||
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
|
||||||
PA7*)
|
|
||||||
echo hppa1.1-unknown-linux-gnu
|
|
||||||
;;
|
|
||||||
PA8*)
|
|
||||||
echo hppa2.0-unknown-linux-gnu
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo hppa-unknown-linux-gnu
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
|
||||||
# or one that does not give us useful --help.
|
|
||||||
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
|
||||||
# If ld does not provide *any* "supported emulations:"
|
|
||||||
# that means it is gnuoldld.
|
|
||||||
test -z "$ld_supported_emulations" \
|
|
||||||
&& echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
|
||||||
|
|
||||||
case "${UNAME_MACHINE}" in
|
|
||||||
i?86)
|
|
||||||
VENDOR=pc;
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
VENDOR=unknown;
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
|
eval $set_cc_for_build
|
||||||
cat >$dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -902,29 +863,30 @@ EOF
|
|||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
# ifdef __GLIBC__
|
# ifdef __GLIBC__
|
||||||
# if __GLIBC__ >= 2
|
# if __GLIBC__ >= 2
|
||||||
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
|
printf ("%s-pc-linux-gnu\n", argv[1]);
|
||||||
# else
|
# else
|
||||||
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
|
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
|
printf ("%s-pc-linux-gnuaout\n", argv[1]);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||||
fi ;;
|
;;
|
||||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
i*86:DYNIX/ptx:4*:*)
|
||||||
# are messed up and put the nodename in both sysname and nodename.
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||||
i?86:DYNIX/ptx:4*:*)
|
# earlier versions are messed up and put the nodename in both
|
||||||
|
# sysname and nodename.
|
||||||
echo i386-sequent-sysv4
|
echo i386-sequent-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:UNIX_SV:4.2MP:2.*)
|
i*86:UNIX_SV:4.2MP:2.*)
|
||||||
# Unixware is an offshoot of SVR4, but it has its own version
|
# Unixware is an offshoot of SVR4, but it has its own version
|
||||||
# number series starting with 2...
|
# number series starting with 2...
|
||||||
# I am not positive that other SVR4 systems won't match this,
|
# I am not positive that other SVR4 systems won't match this,
|
||||||
@@ -932,7 +894,7 @@ EOF
|
|||||||
# Use sysv4.2uw... so that sysv4* matches it.
|
# Use sysv4.2uw... so that sysv4* matches it.
|
||||||
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
|
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
|
||||||
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
||||||
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
||||||
echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
|
echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
|
||||||
@@ -940,16 +902,15 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
|
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:5:7*)
|
i*86:*:5:[78]*)
|
||||||
# Fixed at (any) Pentium or better
|
case `/bin/uname -X | grep "^Machine"` in
|
||||||
UNAME_MACHINE=i586
|
*486*) UNAME_MACHINE=i486 ;;
|
||||||
if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
|
*Pentium) UNAME_MACHINE=i586 ;;
|
||||||
echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
|
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
|
||||||
else
|
esac
|
||||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
|
||||||
fi
|
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*:3.2:*)
|
i*86:*:3.2:*)
|
||||||
if test -f /usr/options/cb.name; then
|
if test -f /usr/options/cb.name; then
|
||||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||||
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
||||||
@@ -967,7 +928,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv32
|
echo ${UNAME_MACHINE}-pc-sysv32
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:*DOS:*:*)
|
i*86:*DOS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
pc:*:*:*)
|
pc:*:*:*)
|
||||||
@@ -1006,21 +967,24 @@ EOF
|
|||||||
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
||||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||||
&& echo i486-ncr-sysv4 && exit 0 ;;
|
&& echo i486-ncr-sysv4 && exit 0 ;;
|
||||||
m68*:LynxOS:2.*:*)
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
||||||
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mc68030:UNIX_System_V:4.*:*)
|
mc68030:UNIX_System_V:4.*:*)
|
||||||
echo m68k-atari-sysv4
|
echo m68k-atari-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
|
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
TSUNAMI:LynxOS:2.*:*)
|
TSUNAMI:LynxOS:2.*:*)
|
||||||
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
|
rs6000:LynxOS:2.*:*)
|
||||||
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
||||||
|
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
SM[BE]S:UNIX_SV:*:*)
|
SM[BE]S:UNIX_SV:*:*)
|
||||||
echo mips-dde-sysv${UNAME_RELEASE}
|
echo mips-dde-sysv${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1038,7 +1002,7 @@ EOF
|
|||||||
echo ns32k-sni-sysv
|
echo ns32k-sni-sysv
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
||||||
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
||||||
echo i586-unisys-sysv4
|
echo i586-unisys-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1051,6 +1015,10 @@ EOF
|
|||||||
# From seanf@swdc.stratus.com.
|
# From seanf@swdc.stratus.com.
|
||||||
echo i860-stratus-sysv4
|
echo i860-stratus-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
*:VOS:*:*)
|
||||||
|
# From Paul.Green@stratus.com.
|
||||||
|
echo hppa1.1-stratus-vos
|
||||||
|
exit 0 ;;
|
||||||
mc68*:A/UX:*:*)
|
mc68*:A/UX:*:*)
|
||||||
echo m68k-apple-aux${UNAME_RELEASE}
|
echo m68k-apple-aux${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1120,11 +1088,41 @@ EOF
|
|||||||
fi
|
fi
|
||||||
echo ${UNAME_MACHINE}-unknown-plan9
|
echo ${UNAME_MACHINE}-unknown-plan9
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i*86:OS/2:*:*)
|
||||||
|
# If we were able to find `uname', then EMX Unix compatibility
|
||||||
|
# is probably installed.
|
||||||
|
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||||
|
exit 0 ;;
|
||||||
|
*:TOPS-10:*:*)
|
||||||
|
echo pdp10-unknown-tops10
|
||||||
|
exit 0 ;;
|
||||||
|
*:TENEX:*:*)
|
||||||
|
echo pdp10-unknown-tenex
|
||||||
|
exit 0 ;;
|
||||||
|
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
|
||||||
|
echo pdp10-dec-tops20
|
||||||
|
exit 0 ;;
|
||||||
|
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
|
||||||
|
echo pdp10-xkl-tops20
|
||||||
|
exit 0 ;;
|
||||||
|
*:TOPS-20:*:*)
|
||||||
|
echo pdp10-unknown-tops20
|
||||||
|
exit 0 ;;
|
||||||
|
*:ITS:*:*)
|
||||||
|
echo pdp10-unknown-its
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:XTS-300:*:STOP)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-stop
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:atheos:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-atheos
|
||||||
|
exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
|
||||||
|
eval $set_cc_for_build
|
||||||
cat >$dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
#ifdef _SEQUENT_
|
#ifdef _SEQUENT_
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
@@ -1212,7 +1210,20 @@ main ()
|
|||||||
|
|
||||||
#if defined (vax)
|
#if defined (vax)
|
||||||
# if !defined (ultrix)
|
# if !defined (ultrix)
|
||||||
|
# include <sys/param.h>
|
||||||
|
# if defined (BSD)
|
||||||
|
# if BSD == 43
|
||||||
|
printf ("vax-dec-bsd4.3\n"); exit (0);
|
||||||
|
# else
|
||||||
|
# if BSD == 199006
|
||||||
|
printf ("vax-dec-bsd4.3reno\n"); exit (0);
|
||||||
|
# else
|
||||||
printf ("vax-dec-bsd\n"); exit (0);
|
printf ("vax-dec-bsd\n"); exit (0);
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
printf ("vax-dec-bsd\n"); exit (0);
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
printf ("vax-dec-ultrix\n"); exit (0);
|
printf ("vax-dec-ultrix\n"); exit (0);
|
||||||
# endif
|
# endif
|
||||||
@@ -1226,7 +1237,7 @@ main ()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
|
|
||||||
# Apollos put the system type in the environment.
|
# Apollos put the system type in the environment.
|
||||||
@@ -1262,8 +1273,9 @@ fi
|
|||||||
cat >&2 <<EOF
|
cat >&2 <<EOF
|
||||||
$0: unable to guess system type
|
$0: unable to guess system type
|
||||||
|
|
||||||
The $version version of this script cannot recognize your system type.
|
This script, last modified $timestamp, has failed to recognize
|
||||||
Please download the most up to date version of the config scripts:
|
the operating system you are using. It is advised that you
|
||||||
|
download the most up to date version of the config scripts from
|
||||||
|
|
||||||
ftp://ftp.gnu.org/pub/gnu/config/
|
ftp://ftp.gnu.org/pub/gnu/config/
|
||||||
|
|
||||||
@@ -1272,7 +1284,7 @@ send the following data and any information you think might be
|
|||||||
pertinent to <config-patches@gnu.org> in order to provide the needed
|
pertinent to <config-patches@gnu.org> in order to provide the needed
|
||||||
information to handle your system.
|
information to handle your system.
|
||||||
|
|
||||||
config.guess version = $version
|
config.guess timestamp = $timestamp
|
||||||
|
|
||||||
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
||||||
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
||||||
@@ -1299,7 +1311,7 @@ exit 1
|
|||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
# time-stamp-start: "version='"
|
# time-stamp-start: "timestamp='"
|
||||||
# time-stamp-format: "%:y-%02m-%02d"
|
# time-stamp-format: "%:y-%02m-%02d"
|
||||||
# time-stamp-end: "'"
|
# time-stamp-end: "'"
|
||||||
# End:
|
# End:
|
||||||
|
239
config.sub
vendored
239
config.sub
vendored
@@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script, version 1.1.
|
# Configuration validation subroutine script.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
version='2000-11-04'
|
timestamp='2001-09-07'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@@ -61,15 +61,29 @@ Canonicalize a configuration name.
|
|||||||
|
|
||||||
Operation modes:
|
Operation modes:
|
||||||
-h, --help print this help, then exit
|
-h, --help print this help, then exit
|
||||||
-V, --version print version number, then exit"
|
-t, --time-stamp print date of last modification, then exit
|
||||||
|
-v, --version print version number, then exit
|
||||||
|
|
||||||
|
Report bugs and patches to <config-patches@gnu.org>."
|
||||||
|
|
||||||
|
version="\
|
||||||
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
||||||
help="
|
help="
|
||||||
Try \`$me --help' for more information."
|
Try \`$me --help' for more information."
|
||||||
|
|
||||||
# Parse command line
|
# Parse command line
|
||||||
while test $# -gt 0 ; do
|
while test $# -gt 0 ; do
|
||||||
case "$1" in
|
case $1 in
|
||||||
--version | --vers* | -V )
|
--time-stamp | --time* | -t )
|
||||||
|
echo "$timestamp" ; exit 0 ;;
|
||||||
|
--version | -v )
|
||||||
echo "$version" ; exit 0 ;;
|
echo "$version" ; exit 0 ;;
|
||||||
--help | --h* | -h )
|
--help | --h* | -h )
|
||||||
echo "$usage"; exit 0 ;;
|
echo "$usage"; exit 0 ;;
|
||||||
@@ -78,9 +92,7 @@ while test $# -gt 0 ; do
|
|||||||
- ) # Use stdin as input.
|
- ) # Use stdin as input.
|
||||||
break ;;
|
break ;;
|
||||||
-* )
|
-* )
|
||||||
exec >&2
|
echo "$me: invalid option $1$help"
|
||||||
echo "$me: invalid option $1"
|
|
||||||
echo "$help"
|
|
||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
|
|
||||||
*local*)
|
*local*)
|
||||||
@@ -105,7 +117,7 @@ esac
|
|||||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
case $maybe_os in
|
case $maybe_os in
|
||||||
nto-qnx* | linux-gnu* | storm-chaos*)
|
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
|
||||||
os=-$maybe_os
|
os=-$maybe_os
|
||||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||||
;;
|
;;
|
||||||
@@ -145,6 +157,14 @@ case $os in
|
|||||||
os=-vxworks
|
os=-vxworks
|
||||||
basic_machine=$1
|
basic_machine=$1
|
||||||
;;
|
;;
|
||||||
|
-chorusos*)
|
||||||
|
os=-chorusos
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
-chorusrdb)
|
||||||
|
os=-chorusrdb
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
-hiux*)
|
-hiux*)
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
;;
|
;;
|
||||||
@@ -203,22 +223,36 @@ esac
|
|||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
# Recognize the basic CPU types without company name.
|
# Recognize the basic CPU types without company name.
|
||||||
# Some are omitted here because they have special meanings below.
|
# Some are omitted here because they have special meanings below.
|
||||||
tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
1750a | 580 \
|
||||||
| arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
| a29k \
|
||||||
| 580 | i960 | h8300 \
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||||
| x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
||||||
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
|
| c4x | clipper \
|
||||||
| hppa64 \
|
| d10v | d30v | dsp16xx \
|
||||||
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
|
| fr30 \
|
||||||
| alphaev6[78] \
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||||
| we32k | ns16k | clipper | i370 | sh | sh[34] \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| powerpc | powerpcle \
|
| m32r | m68000 | m68k | m88k | mcore \
|
||||||
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
|
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
|
||||||
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
| mips64vr4100 | mips64vr4100el | mips64vr4300 \
|
||||||
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
| mips64vr4300el | mips64vr5000 | mips64vr5000el \
|
||||||
| mips64vr5000 | miprs64vr5000el | mcore \
|
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
|
||||||
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
| mipsisa32 \
|
||||||
| thumb | d10v | d30v | fr30 | avr)
|
| mn10200 | mn10300 \
|
||||||
|
| ns16k | ns32k \
|
||||||
|
| openrisc \
|
||||||
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||||
|
| pyramid \
|
||||||
|
| s390 | s390x \
|
||||||
|
| sh | sh[34] | sh[34]eb | shbe | shle \
|
||||||
|
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
|
||||||
|
| stormy16 | strongarm \
|
||||||
|
| tahoe | thumb | tic80 | tron \
|
||||||
|
| v850 \
|
||||||
|
| we32k \
|
||||||
|
| x86 | xscale \
|
||||||
|
| z8k)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
@@ -226,13 +260,13 @@ case $basic_machine in
|
|||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
i[234567]86 | x86_64)
|
i*86 | x86_64)
|
||||||
basic_machine=$basic_machine-pc
|
basic_machine=$basic_machine-pc
|
||||||
;;
|
;;
|
||||||
# Object if more than one company name word.
|
# Object if more than one company name word.
|
||||||
@@ -241,28 +275,43 @@ case $basic_machine in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
# Recognize the basic CPU types with company name.
|
# Recognize the basic CPU types with company name.
|
||||||
# FIXME: clean up the formatting here.
|
580-* \
|
||||||
vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
|
| a29k-* \
|
||||||
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
||||||
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
| alphapca5[67]-* | arc-* \
|
||||||
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
| arm-* | armbe-* | armle-* | armv*-* \
|
||||||
| xmp-* | ymp-* \
|
| bs2000-* \
|
||||||
| x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
|
| c[123]* | c30-* | [cjt]90-* | c54x-* \
|
||||||
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
|
| clipper-* | cray2-* | cydra-* \
|
||||||
| hppa2.0n-* | hppa64-* \
|
| d10v-* | d30v-* \
|
||||||
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
|
| elxsi-* \
|
||||||
| alphaev6[78]-* \
|
| f30[01]-* | f700-* | fr30-* | fx80-* \
|
||||||
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
| h8300-* | h8500-* \
|
||||||
| clipper-* | orion-* \
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||||
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
| sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
|
| m32r-* \
|
||||||
| mips64el-* | mips64orion-* | mips64orionel-* \
|
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
| m88110-* | m88k-* | mcore-* \
|
||||||
| mipstx39-* | mipstx39el-* | mcore-* \
|
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
|
||||||
| f301-* | armv*-* | s390-* | sv1-* | t3e-* \
|
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
|
||||||
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
|
||||||
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
|
| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
|
||||||
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| orion-* \
|
||||||
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||||
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||||
|
| pyramid-* \
|
||||||
|
| romp-* | rs6000-* \
|
||||||
|
| s390-* | s390x-* \
|
||||||
|
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
|
||||||
|
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
|
||||||
|
| sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
|
||||||
|
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
|
||||||
|
| v850-* | vax-* \
|
||||||
|
| we32k-* \
|
||||||
|
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
|
||||||
|
| ymp-* \
|
||||||
|
| z8k-*)
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@@ -353,8 +402,8 @@ case $basic_machine in
|
|||||||
basic_machine=cray2-cray
|
basic_machine=cray2-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
[ctj]90-cray)
|
[cjt]90)
|
||||||
basic_machine=c90-cray
|
basic_machine=${basic_machine}-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
crds | unos)
|
crds | unos)
|
||||||
@@ -410,6 +459,10 @@ case $basic_machine in
|
|||||||
basic_machine=tron-gmicro
|
basic_machine=tron-gmicro
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
|
go32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-go32
|
||||||
|
;;
|
||||||
h3050r* | hiux*)
|
h3050r* | hiux*)
|
||||||
basic_machine=hppa1.1-hitachi
|
basic_machine=hppa1.1-hitachi
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
@@ -485,19 +538,19 @@ case $basic_machine in
|
|||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
;;
|
;;
|
||||||
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
||||||
i[34567]86v32)
|
i*86v32)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv32
|
os=-sysv32
|
||||||
;;
|
;;
|
||||||
i[34567]86v4*)
|
i*86v4*)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
i[34567]86v)
|
i*86v)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
i[34567]86sol2)
|
i*86sol2)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-solaris2
|
os=-solaris2
|
||||||
;;
|
;;
|
||||||
@@ -509,18 +562,6 @@ case $basic_machine in
|
|||||||
basic_machine=i386-unknown
|
basic_machine=i386-unknown
|
||||||
os=-vsta
|
os=-vsta
|
||||||
;;
|
;;
|
||||||
i386-go32 | go32)
|
|
||||||
basic_machine=i386-unknown
|
|
||||||
os=-go32
|
|
||||||
;;
|
|
||||||
i386-mingw32 | mingw32)
|
|
||||||
basic_machine=i386-unknown
|
|
||||||
os=-mingw32
|
|
||||||
;;
|
|
||||||
i[34567]86-pw32 | pw32)
|
|
||||||
basic_machine=i586-unknown
|
|
||||||
os=-pw32
|
|
||||||
;;
|
|
||||||
iris | iris4d)
|
iris | iris4d)
|
||||||
basic_machine=mips-sgi
|
basic_machine=mips-sgi
|
||||||
case $os in
|
case $os in
|
||||||
@@ -546,6 +587,10 @@ case $basic_machine in
|
|||||||
basic_machine=ns32k-utek
|
basic_machine=ns32k-utek
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
|
mingw32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
miniframe)
|
miniframe)
|
||||||
basic_machine=m68000-convergent
|
basic_machine=m68000-convergent
|
||||||
;;
|
;;
|
||||||
@@ -576,7 +621,7 @@ case $basic_machine in
|
|||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
msdos)
|
msdos)
|
||||||
basic_machine=i386-unknown
|
basic_machine=i386-pc
|
||||||
os=-msdos
|
os=-msdos
|
||||||
;;
|
;;
|
||||||
mvs)
|
mvs)
|
||||||
@@ -686,7 +731,7 @@ case $basic_machine in
|
|||||||
basic_machine=i686-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentiumii | pentium2)
|
pentiumii | pentium2)
|
||||||
basic_machine=i786-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
||||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
@@ -695,12 +740,12 @@ case $basic_machine in
|
|||||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumii-* | pentium2-*)
|
pentiumii-* | pentium2-*)
|
||||||
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pn)
|
pn)
|
||||||
basic_machine=pn-gould
|
basic_machine=pn-gould
|
||||||
;;
|
;;
|
||||||
power) basic_machine=rs6000-ibm
|
power) basic_machine=power-ibm
|
||||||
;;
|
;;
|
||||||
ppc) basic_machine=powerpc-unknown
|
ppc) basic_machine=powerpc-unknown
|
||||||
;;
|
;;
|
||||||
@@ -712,9 +757,23 @@ case $basic_machine in
|
|||||||
ppcle-* | powerpclittle-*)
|
ppcle-* | powerpclittle-*)
|
||||||
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
|
ppc64) basic_machine=powerpc64-unknown
|
||||||
|
;;
|
||||||
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
|
||||||
|
basic_machine=powerpc64le-unknown
|
||||||
|
;;
|
||||||
|
ppc64le-* | powerpc64little-*)
|
||||||
|
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
ps2)
|
ps2)
|
||||||
basic_machine=i386-ibm
|
basic_machine=i386-ibm
|
||||||
;;
|
;;
|
||||||
|
pw32)
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
rom68k)
|
rom68k)
|
||||||
basic_machine=m68k-rom68k
|
basic_machine=m68k-rom68k
|
||||||
os=-coff
|
os=-coff
|
||||||
@@ -862,6 +921,10 @@ case $basic_machine in
|
|||||||
basic_machine=hppa1.1-winbond
|
basic_machine=hppa1.1-winbond
|
||||||
os=-proelf
|
os=-proelf
|
||||||
;;
|
;;
|
||||||
|
windows32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-windows32-msvcrt
|
||||||
|
;;
|
||||||
xmp)
|
xmp)
|
||||||
basic_machine=xmp-cray
|
basic_machine=xmp-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
@@ -905,16 +968,20 @@ case $basic_machine in
|
|||||||
vax)
|
vax)
|
||||||
basic_machine=vax-dec
|
basic_machine=vax-dec
|
||||||
;;
|
;;
|
||||||
|
pdp10)
|
||||||
|
# there are many clones, so DEC is not a safe bet
|
||||||
|
basic_machine=pdp10-unknown
|
||||||
|
;;
|
||||||
pdp11)
|
pdp11)
|
||||||
basic_machine=pdp11-dec
|
basic_machine=pdp11-dec
|
||||||
;;
|
;;
|
||||||
we32k)
|
we32k)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
sh3 | sh4)
|
sh3 | sh4 | sh3eb | sh4eb)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
sparc | sparcv9)
|
sparc | sparcv9 | sparcv9b)
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
cydra)
|
cydra)
|
||||||
@@ -936,6 +1003,9 @@ case $basic_machine in
|
|||||||
basic_machine=c4x-none
|
basic_machine=c4x-none
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
|
*-unknown)
|
||||||
|
# Make sure to match an already-canonicalized machine name.
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@@ -992,15 +1062,18 @@ case $os in
|
|||||||
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* \
|
||||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
|
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
|
||||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* | -storm-chaos*)
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||||
|
| -os2* | -vos*)
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
-qnx*)
|
-qnx*)
|
||||||
case $basic_machine in
|
case $basic_machine in
|
||||||
x86-* | i[34567]86-*)
|
x86-* | i*86-*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
os=-nto$os
|
os=-nto$os
|
||||||
@@ -1093,7 +1166,7 @@ case $os in
|
|||||||
-xenix)
|
-xenix)
|
||||||
os=-xenix
|
os=-xenix
|
||||||
;;
|
;;
|
||||||
-*mint | -*MiNT)
|
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
||||||
os=-mint
|
os=-mint
|
||||||
;;
|
;;
|
||||||
-none)
|
-none)
|
||||||
@@ -1127,6 +1200,9 @@ case $basic_machine in
|
|||||||
arm*-semi)
|
arm*-semi)
|
||||||
os=-aout
|
os=-aout
|
||||||
;;
|
;;
|
||||||
|
pdp10-*)
|
||||||
|
os=-tops20
|
||||||
|
;;
|
||||||
pdp11-*)
|
pdp11-*)
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
@@ -1235,7 +1311,7 @@ case $basic_machine in
|
|||||||
*-masscomp)
|
*-masscomp)
|
||||||
os=-rtu
|
os=-rtu
|
||||||
;;
|
;;
|
||||||
f301-fujitsu)
|
f30[01]-fujitsu | f700-fujitsu)
|
||||||
os=-uxpv
|
os=-uxpv
|
||||||
;;
|
;;
|
||||||
*-rom68k)
|
*-rom68k)
|
||||||
@@ -1313,9 +1389,12 @@ case $basic_machine in
|
|||||||
-mpw* | -macos*)
|
-mpw* | -macos*)
|
||||||
vendor=apple
|
vendor=apple
|
||||||
;;
|
;;
|
||||||
-*mint | -*MiNT)
|
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
||||||
vendor=atari
|
vendor=atari
|
||||||
;;
|
;;
|
||||||
|
-vos*)
|
||||||
|
vendor=stratus
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
||||||
;;
|
;;
|
||||||
@@ -1326,7 +1405,7 @@ exit 0
|
|||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||||
# time-stamp-start: "version='"
|
# time-stamp-start: "timestamp='"
|
||||||
# time-stamp-format: "%:y-%02m-%02d"
|
# time-stamp-format: "%:y-%02m-%02d"
|
||||||
# time-stamp-end: "'"
|
# time-stamp-end: "'"
|
||||||
# End:
|
# End:
|
||||||
|
1717
configure.in
1717
configure.in
File diff suppressed because it is too large
Load Diff
@@ -3,13 +3,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
all:
|
all:
|
||||||
cd src; make
|
cd src; $(MAKE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd src; make clean
|
cd src; $(MAKE) clean
|
||||||
cd samples; make clean
|
cd samples; $(MAKE) clean
|
||||||
cd utils; make clean
|
cd utils; $(MAKE) clean
|
||||||
|
|
||||||
|
|
||||||
samples:
|
samples:
|
||||||
cd samples; make
|
cd samples; $(MAKE)
|
||||||
|
@@ -41,10 +41,9 @@ wxIncludePrep class Definition
|
|||||||
class wxIncludePrep : public wxHtmlProcessor {
|
class wxIncludePrep : public wxHtmlProcessor {
|
||||||
private:
|
private:
|
||||||
//DECLARE_DYNAMIC_CLASS(wxIncludePrep);
|
//DECLARE_DYNAMIC_CLASS(wxIncludePrep);
|
||||||
wxString DOC_ROOT;
|
wxFileSystem *m_FS;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxIncludePrep() : wxHtmlProcessor() {DOC_ROOT = wxString("");}
|
wxIncludePrep() : wxHtmlProcessor() {}
|
||||||
~wxIncludePrep() {}
|
~wxIncludePrep() {}
|
||||||
|
|
||||||
// Process input text and return processed result
|
// Process input text and return processed result
|
||||||
@@ -54,8 +53,7 @@ public:
|
|||||||
// is the processor applied to the text.
|
// is the processor applied to the text.
|
||||||
int GetPriority() const { return wxHTML_PRIORITY_SYSTEM; }
|
int GetPriority() const { return wxHTML_PRIORITY_SYSTEM; }
|
||||||
|
|
||||||
void ChangeDirectory(const wxString &dir);
|
void ChangeDirectory(wxFileSystem *);
|
||||||
wxString GetDirectory() { return DOC_ROOT; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,23 +5,19 @@
|
|||||||
* Copyright (C) 1991-2001 SciTech Software, Inc.
|
* Copyright (C) 1991-2001 SciTech Software, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* ======================================================================
|
* ========================================================================
|
||||||
* |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|
|
*
|
||||||
* | |
|
* The contents of this file are subject to the wxWindows License
|
||||||
* |This copyrighted computer code is a proprietary trade secret of |
|
* Version 3.0 (the "License"); you may not use this file except in
|
||||||
* |SciTech Software, Inc., located at 505 Wall Street, Chico, CA 95928 |
|
* compliance with the License. You may obtain a copy of the License at
|
||||||
* |USA (www.scitechsoft.com). ANY UNAUTHORIZED POSSESSION, USE, |
|
* http://www.wxwindows.org/licence3.txt
|
||||||
* |VIEWING, COPYING, MODIFICATION OR DISSEMINATION OF THIS CODE IS |
|
*
|
||||||
* |STRICTLY PROHIBITED BY LAW. Unless you have current, express |
|
* Software distributed under the License is distributed on an
|
||||||
* |written authorization from SciTech to possess or use this code, you |
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||||
* |may be subject to civil and/or criminal penalties. |
|
* implied. See the License for the specific language governing
|
||||||
* | |
|
* rights and limitations under the License.
|
||||||
* |If you received this code in error or you would like to report |
|
*
|
||||||
* |improper use, please immediately contact SciTech Software, Inc. at |
|
* ========================================================================
|
||||||
* |530-894-8400. |
|
|
||||||
* | |
|
|
||||||
* |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|
|
|
||||||
* ======================================================================
|
|
||||||
*
|
*
|
||||||
* Language: ANSI C++
|
* Language: ANSI C++
|
||||||
* Environment: Any
|
* Environment: Any
|
||||||
@@ -42,6 +38,7 @@ class wxQlet;
|
|||||||
class wxLoadPageEvent;
|
class wxLoadPageEvent;
|
||||||
class wxPageLoadedEvent;
|
class wxPageLoadedEvent;
|
||||||
class wxIncludePrep;
|
class wxIncludePrep;
|
||||||
|
class wxToolBarBase;
|
||||||
|
|
||||||
// Declare a linked list of wxApplet pointers
|
// Declare a linked list of wxApplet pointers
|
||||||
WX_DECLARE_LIST(wxApplet, wxAppletList);
|
WX_DECLARE_LIST(wxApplet, wxAppletList);
|
||||||
@@ -65,6 +62,8 @@ public:
|
|||||||
wxString& group,
|
wxString& group,
|
||||||
wxString& href );
|
wxString& href );
|
||||||
|
|
||||||
|
VirtualData();
|
||||||
|
|
||||||
// Gets
|
// Gets
|
||||||
wxString GetName(){ return m_name;};
|
wxString GetName(){ return m_name;};
|
||||||
wxString GetGroup(){ return m_group;};
|
wxString GetGroup(){ return m_group;};
|
||||||
@@ -89,13 +88,19 @@ private:
|
|||||||
|
|
||||||
bool m_mutexLock;
|
bool m_mutexLock;
|
||||||
wxIncludePrep *incPreprocessor; // deleted by list it is added too in constructor
|
wxIncludePrep *incPreprocessor; // deleted by list it is added too in constructor
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxAppletList m_AppletList;
|
wxAppletList m_AppletList;
|
||||||
static wxHashTable m_Cookies;
|
static wxHashTable m_Cookies;
|
||||||
|
bool m_NavBarEnabled;
|
||||||
wxToolBarBase *m_NavBar;
|
wxToolBarBase *m_NavBar;
|
||||||
int m_NavBackId;
|
int m_NavBackId;
|
||||||
int m_NavForwardId;
|
int m_NavForwardId;
|
||||||
wxString m_DocRoot;
|
wxPalette m_globalPalette;
|
||||||
|
|
||||||
|
// Override this so we can do proper palette management!!
|
||||||
|
virtual void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Constructor
|
// Constructor
|
||||||
wxHtmlAppletWindow(
|
wxHtmlAppletWindow(
|
||||||
@@ -108,7 +113,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxHW_SCROLLBAR_AUTO,
|
long style = wxHW_SCROLLBAR_AUTO,
|
||||||
const wxString& name = "htmlAppletWindow",
|
const wxString& name = "htmlAppletWindow",
|
||||||
const wxString& docroot = "" );
|
const wxPalette& globalPalette = wxNullPalette);
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
~wxHtmlAppletWindow();
|
~wxHtmlAppletWindow();
|
||||||
@@ -141,6 +146,14 @@ public:
|
|||||||
// Handles backwards navigation within the HTML stack
|
// Handles backwards navigation within the HTML stack
|
||||||
bool HistoryBack();
|
bool HistoryBack();
|
||||||
|
|
||||||
|
// Disables Nav bars
|
||||||
|
void DisableNavBar();
|
||||||
|
|
||||||
|
// Enables Nav bars
|
||||||
|
void EnableNavBar();
|
||||||
|
|
||||||
|
void SetNavBar(wxToolBarBase *navBar);
|
||||||
|
|
||||||
// Broadcast a message to all applets on the page
|
// Broadcast a message to all applets on the page
|
||||||
void SendMessage(wxEvent& msg);
|
void SendMessage(wxEvent& msg);
|
||||||
|
|
||||||
|
@@ -1098,6 +1098,9 @@ public:
|
|||||||
bool mAuxBoolVal;
|
bool mAuxBoolVal;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Not used, but required
|
||||||
|
virtual wxEvent* Clone() const { return NULL; }
|
||||||
|
|
||||||
#if wxCHECK_VERSION(2,3,0)
|
#if wxCHECK_VERSION(2,3,0)
|
||||||
cbPluginEvent( wxEventType eventType, cbDockPane* pPane )
|
cbPluginEvent( wxEventType eventType, cbDockPane* pPane )
|
||||||
: mpPane( pPane )
|
: mpPane( pPane )
|
||||||
|
@@ -13,6 +13,13 @@
|
|||||||
#ifndef _WX_DYNAMICSASH_H_
|
#ifndef _WX_DYNAMICSASH_H_
|
||||||
#define _WX_DYNAMICSASH_H_
|
#define _WX_DYNAMICSASH_H_
|
||||||
|
|
||||||
|
#ifdef GIZMOISDLL
|
||||||
|
#define GIZMODLLEXPORT WXDLLEXPORT
|
||||||
|
#else
|
||||||
|
#define GIZMODLLEXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
wxDynamicSashWindow
|
wxDynamicSashWindow
|
||||||
@@ -44,7 +51,7 @@
|
|||||||
for instance, you wish to scroll a subwindow of the view you add to
|
for instance, you wish to scroll a subwindow of the view you add to
|
||||||
your wxDynamicSashWindow object, rather than scrolling the whole view.)
|
your wxDynamicSashWindow object, rather than scrolling the whole view.)
|
||||||
In this case, you will need to construct your wxDynamicSashWindow without
|
In this case, you will need to construct your wxDynamicSashWindow without
|
||||||
the wxMANAGE_SCROLLBARS style and you will need to use the
|
the wxDS_MANAGE_SCROLLBARS style and you will need to use the
|
||||||
GetHScrollBar() and GetVScrollBar() methods to retrieve the scrollbar
|
GetHScrollBar() and GetVScrollBar() methods to retrieve the scrollbar
|
||||||
controls and call SetEventHanler() on them to redirect the scrolling
|
controls and call SetEventHanler() on them to redirect the scrolling
|
||||||
events whenever your window is reparented by wxDyanmicSashWindow.
|
events whenever your window is reparented by wxDyanmicSashWindow.
|
||||||
@@ -73,11 +80,19 @@ class wxScrollBar;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
wxMANAGE_SCROLLBARS is a default style of wxDynamicSashWindow which
|
wxDS_MANAGE_SCROLLBARS is a default style of wxDynamicSashWindow which
|
||||||
will cause it to respond to scrollbar events for your application by
|
will cause it to respond to scrollbar events for your application by
|
||||||
automatically scrolling the child view.
|
automatically scrolling the child view.
|
||||||
*/
|
*/
|
||||||
#define wxMANAGE_SCROLLBARS 0x00800000
|
#define wxDS_MANAGE_SCROLLBARS 0x0010
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
wxDS_DRAG_CORNER style indicates that the views can also be resized by
|
||||||
|
dragging the corner piece between the scrollbars, and which is reflected up
|
||||||
|
to the frame if necessary.
|
||||||
|
*/
|
||||||
|
#define wxDS_DRAG_CORNER 0x0020
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -87,11 +102,14 @@ class wxScrollBar;
|
|||||||
a child of the wxDynamicSashWindow. wxDynamicSashWindow will
|
a child of the wxDynamicSashWindow. wxDynamicSashWindow will
|
||||||
automatically reparent it to the proper place in its window hierarchy.
|
automatically reparent it to the proper place in its window hierarchy.
|
||||||
*/
|
*/
|
||||||
class wxDynamicSashSplitEvent : public wxCommandEvent {
|
class GIZMODLLEXPORT wxDynamicSashSplitEvent : public wxCommandEvent {
|
||||||
public:
|
public:
|
||||||
wxDynamicSashSplitEvent();
|
wxDynamicSashSplitEvent();
|
||||||
|
wxDynamicSashSplitEvent(const wxDynamicSashSplitEvent& event): wxCommandEvent(event) { }
|
||||||
wxDynamicSashSplitEvent(wxObject *target);
|
wxDynamicSashSplitEvent(wxObject *target);
|
||||||
|
|
||||||
|
virtual wxEvent* Clone() const { return new wxDynamicSashSplitEvent(*this); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxDynamicSashSplitEvent)
|
DECLARE_DYNAMIC_CLASS(wxDynamicSashSplitEvent)
|
||||||
};
|
};
|
||||||
@@ -106,11 +124,14 @@ private:
|
|||||||
the scrollbars' event handlers connected to your view's event handler
|
the scrollbars' event handlers connected to your view's event handler
|
||||||
class.
|
class.
|
||||||
*/
|
*/
|
||||||
class wxDynamicSashUnifyEvent : public wxCommandEvent {
|
class GIZMODLLEXPORT wxDynamicSashUnifyEvent : public wxCommandEvent {
|
||||||
public:
|
public:
|
||||||
wxDynamicSashUnifyEvent();
|
wxDynamicSashUnifyEvent();
|
||||||
|
wxDynamicSashUnifyEvent(const wxDynamicSashUnifyEvent& event): wxCommandEvent(event) {}
|
||||||
wxDynamicSashUnifyEvent(wxObject *target);
|
wxDynamicSashUnifyEvent(wxObject *target);
|
||||||
|
|
||||||
|
virtual wxEvent* Clone() const { return new wxDynamicSashUnifyEvent(*this); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxDynamicSashUnifyEvent);
|
DECLARE_DYNAMIC_CLASS(wxDynamicSashUnifyEvent);
|
||||||
};
|
};
|
||||||
@@ -118,18 +139,18 @@ private:
|
|||||||
/*
|
/*
|
||||||
wxDynamicSashWindow. See above.
|
wxDynamicSashWindow. See above.
|
||||||
*/
|
*/
|
||||||
class wxDynamicSashWindow : public wxWindow {
|
class GIZMODLLEXPORT wxDynamicSashWindow : public wxWindow {
|
||||||
public:
|
public:
|
||||||
wxDynamicSashWindow();
|
wxDynamicSashWindow();
|
||||||
wxDynamicSashWindow(wxWindow *parent, wxWindowID id,
|
wxDynamicSashWindow(wxWindow *parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||||
long style = wxCLIP_CHILDREN | wxMANAGE_SCROLLBARS,
|
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||||
const wxString& name = "dynamicSashWindow");
|
const wxString& name = "dynamicSashWindow");
|
||||||
virtual ~wxDynamicSashWindow();
|
virtual ~wxDynamicSashWindow();
|
||||||
|
|
||||||
virtual bool Create(wxWindow *parent, wxWindowID id,
|
virtual bool Create(wxWindow *parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||||
long style = wxCLIP_CHILDREN | wxMANAGE_SCROLLBARS,
|
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||||
const wxString& name = "dynamicSashWindow");
|
const wxString& name = "dynamicSashWindow");
|
||||||
virtual wxScrollBar *GetHScrollBar(const wxWindow *child) const;
|
virtual wxScrollBar *GetHScrollBar(const wxWindow *child) const;
|
||||||
virtual wxScrollBar *GetVScrollBar(const wxWindow *child) const;
|
virtual wxScrollBar *GetVScrollBar(const wxWindow *child) const;
|
||||||
|
@@ -17,6 +17,12 @@
|
|||||||
|
|
||||||
#include "wx/panel.h"
|
#include "wx/panel.h"
|
||||||
|
|
||||||
|
#ifdef GIZMOISDLL
|
||||||
|
#define GIZMODLLEXPORT WXDLLEXPORT
|
||||||
|
#else
|
||||||
|
#define GIZMODLLEXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxBitmapButton;
|
class WXDLLEXPORT wxBitmapButton;
|
||||||
class WXDLLEXPORT wxListCtrl;
|
class WXDLLEXPORT wxListCtrl;
|
||||||
@@ -25,7 +31,7 @@ class WXDLLEXPORT wxListEvent;
|
|||||||
// This class provides a composite control that lets the
|
// This class provides a composite control that lets the
|
||||||
// user easily enter list of strings
|
// user easily enter list of strings
|
||||||
|
|
||||||
class WXDLLEXPORT wxEditableListBox : public wxPanel
|
class GIZMODLLEXPORT wxEditableListBox : public wxPanel
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxEditableListBox);
|
DECLARE_CLASS(wxEditableListBox);
|
||||||
|
|
||||||
|
89
contrib/include/wx/gizmos/ledctrl.h
Normal file
89
contrib/include/wx/gizmos/ledctrl.h
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
#ifndef _WX_LEDNUMBERCTRL_H_
|
||||||
|
#define _WX_LEDNUMBERCTRL_H_
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "wxLEDNumberCtrl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef GIZMOISDLL
|
||||||
|
#define GIZMODLLEXPORT WXDLLEXPORT
|
||||||
|
#else
|
||||||
|
#define GIZMODLLEXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#include <wx/window.h>
|
||||||
|
#include <wx/control.h>
|
||||||
|
|
||||||
|
class wxEraseEvent;
|
||||||
|
class wxPaintEvent;
|
||||||
|
class wxSizeEvent;
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// enum and styles
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
enum wxLEDValueAlign
|
||||||
|
{
|
||||||
|
wxLED_ALIGN_LEFT = 0x01,
|
||||||
|
wxLED_ALIGN_RIGHT = 0x02,
|
||||||
|
wxLED_ALIGN_CENTER = 0x04,
|
||||||
|
|
||||||
|
wxLED_ALIGN_MASK = 0x04
|
||||||
|
};
|
||||||
|
|
||||||
|
#define wxLED_DRAW_FADED 0x08
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// wxLEDNumberCtrl
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
class GIZMODLLEXPORT wxLEDNumberCtrl : public wxControl
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// Constructors.
|
||||||
|
wxLEDNumberCtrl();
|
||||||
|
wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = -1,
|
||||||
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
const wxSize& size = wxDefaultSize,
|
||||||
|
long style = wxLED_ALIGN_LEFT | wxLED_DRAW_FADED);
|
||||||
|
|
||||||
|
// Create functions.
|
||||||
|
bool Create(wxWindow *parent, wxWindowID id = -1,
|
||||||
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
const wxSize& size = wxDefaultSize,
|
||||||
|
long style = 0);
|
||||||
|
|
||||||
|
wxLEDValueAlign GetAlignment() const { return m_Alignment; }
|
||||||
|
bool GetDrawFaded() const { return m_DrawFaded; }
|
||||||
|
const wxString &GetValue() const { return m_Value; }
|
||||||
|
|
||||||
|
void SetAlignment(wxLEDValueAlign Alignment, bool Redraw = TRUE);
|
||||||
|
void SetDrawFaded(bool DrawFaded, bool Redraw = TRUE);
|
||||||
|
void SetValue(const wxString &Value, bool Redraw = TRUE);
|
||||||
|
|
||||||
|
private:
|
||||||
|
// Members.
|
||||||
|
wxString m_Value;
|
||||||
|
wxLEDValueAlign m_Alignment;
|
||||||
|
|
||||||
|
int m_LineMargin;
|
||||||
|
int m_DigitMargin;
|
||||||
|
int m_LineLength;
|
||||||
|
int m_LineWidth;
|
||||||
|
bool m_DrawFaded;
|
||||||
|
int m_LeftStartPos;
|
||||||
|
|
||||||
|
// Functions.
|
||||||
|
void DrawDigit(wxDC &Dc, int Digit, int Column);
|
||||||
|
void RecalcInternals(const wxSize &CurrentSize);
|
||||||
|
|
||||||
|
// Events.
|
||||||
|
DECLARE_EVENT_TABLE()
|
||||||
|
|
||||||
|
void OnEraseBackground(wxEraseEvent &Event);
|
||||||
|
void OnPaint(wxPaintEvent &Event);
|
||||||
|
void OnSize(wxSizeEvent &Event);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@@ -19,6 +19,14 @@
|
|||||||
#pragma interface "multicell.h"
|
#pragma interface "multicell.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef GIZMOISDLL
|
||||||
|
#define GIZMODLLEXPORT WXDLLEXPORT
|
||||||
|
#else
|
||||||
|
#define GIZMODLLEXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -45,7 +53,7 @@ enum wxResizable
|
|||||||
// wxMultiCellItemHandle
|
// wxMultiCellItemHandle
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
class WXDLLEXPORT wxMultiCellItemHandle: public wxObject
|
class GIZMODLLEXPORT wxMultiCellItemHandle: public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxMultiCellItemHandle);
|
DECLARE_CLASS(wxMultiCellItemHandle);
|
||||||
protected:
|
protected:
|
||||||
@@ -81,7 +89,7 @@ private:
|
|||||||
// wxMultiCellSizer
|
// wxMultiCellSizer
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
class WXDLLEXPORT wxMultiCellSizer : virtual public wxSizer
|
class GIZMODLLEXPORT wxMultiCellSizer : virtual public wxSizer
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxMultiCellSizer);
|
DECLARE_CLASS(wxMultiCellSizer);
|
||||||
|
|
||||||
@@ -131,7 +139,7 @@ class wxCell;
|
|||||||
// wxMultiCellCanvas
|
// wxMultiCellCanvas
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
class wxMultiCellCanvas : public wxFlexGridSizer
|
class GIZMODLLEXPORT wxMultiCellCanvas : public wxFlexGridSizer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2);
|
wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2);
|
||||||
|
@@ -18,6 +18,12 @@
|
|||||||
#pragma interface "splittree.h"
|
#pragma interface "splittree.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef GIZMOISDLL
|
||||||
|
#define GIZMODLLEXPORT WXDLLEXPORT
|
||||||
|
#else
|
||||||
|
#define GIZMODLLEXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set this to 1 to use generic tree control (doesn't yet work properly)
|
// Set this to 1 to use generic tree control (doesn't yet work properly)
|
||||||
#define USE_GENERIC_TREECTRL 0
|
#define USE_GENERIC_TREECTRL 0
|
||||||
|
|
||||||
@@ -46,7 +52,7 @@ class wxSplitterScrolledWindow;
|
|||||||
* It also updates the scrolled window vertical scrollbar as appropriate.
|
* It also updates the scrolled window vertical scrollbar as appropriate.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxRemotelyScrolledTreeCtrl: public wxTreeCtrl
|
class GIZMODLLEXPORT wxRemotelyScrolledTreeCtrl: public wxTreeCtrl
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxRemotelyScrolledTreeCtrl)
|
DECLARE_CLASS(wxRemotelyScrolledTreeCtrl)
|
||||||
public:
|
public:
|
||||||
@@ -58,6 +64,7 @@ public:
|
|||||||
void OnSize(wxSizeEvent& event);
|
void OnSize(wxSizeEvent& event);
|
||||||
void OnExpand(wxTreeEvent& event);
|
void OnExpand(wxTreeEvent& event);
|
||||||
void OnScroll(wxScrollWinEvent& event);
|
void OnScroll(wxScrollWinEvent& event);
|
||||||
|
void OnPaint(wxPaintEvent& event);
|
||||||
|
|
||||||
//// Overrides
|
//// Overrides
|
||||||
// Override this in case we're using the generic tree control.
|
// Override this in case we're using the generic tree control.
|
||||||
@@ -110,6 +117,7 @@ public:
|
|||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
protected:
|
protected:
|
||||||
wxWindow* m_companionWindow;
|
wxWindow* m_companionWindow;
|
||||||
|
bool m_drawRowLines;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -118,7 +126,7 @@ protected:
|
|||||||
* A window displaying values associated with tree control items.
|
* A window displaying values associated with tree control items.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxTreeCompanionWindow: public wxWindow
|
class GIZMODLLEXPORT wxTreeCompanionWindow: public wxWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_CLASS(wxTreeCompanionWindow)
|
DECLARE_CLASS(wxTreeCompanionWindow)
|
||||||
@@ -157,7 +165,7 @@ protected:
|
|||||||
* than the usual one.
|
* than the usual one.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxThinSplitterWindow: public wxSplitterWindow
|
class GIZMODLLEXPORT wxThinSplitterWindow: public wxSplitterWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS(wxThinSplitterWindow)
|
DECLARE_DYNAMIC_CLASS(wxThinSplitterWindow)
|
||||||
@@ -197,7 +205,7 @@ protected:
|
|||||||
* scroll appropriately.
|
* scroll appropriately.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxSplitterScrolledWindow: public wxScrolledWindow
|
class GIZMODLLEXPORT wxSplitterScrolledWindow: public wxScrolledWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS(wxSplitterScrolledWindow)
|
DECLARE_DYNAMIC_CLASS(wxSplitterScrolledWindow)
|
||||||
|
@@ -124,7 +124,7 @@ class WXDLLEXPORT wxExprDatabase;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class wxShapeEvtHandler: public wxObject
|
class wxShapeEvtHandler: public wxObject, public wxClientDataContainer
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxShapeEvtHandler)
|
DECLARE_DYNAMIC_CLASS(wxShapeEvtHandler)
|
||||||
|
|
||||||
@@ -299,8 +299,6 @@ class wxShape: public wxShapeEvtHandler
|
|||||||
|
|
||||||
void SetPen(wxPen *pen);
|
void SetPen(wxPen *pen);
|
||||||
void SetBrush(wxBrush *brush);
|
void SetBrush(wxBrush *brush);
|
||||||
inline void SetClientData(wxObject *client_data) { m_clientData = client_data; };
|
|
||||||
inline wxObject *GetClientData() const { return m_clientData; };
|
|
||||||
|
|
||||||
virtual void Show(bool show);
|
virtual void Show(bool show);
|
||||||
virtual bool IsShown() const { return m_visible; }
|
virtual bool IsShown() const { return m_visible; }
|
||||||
@@ -515,8 +513,10 @@ class wxShape: public wxShapeEvtHandler
|
|||||||
// Clears points from a list of wxRealPoints
|
// Clears points from a list of wxRealPoints
|
||||||
void ClearPointList(wxList& list);
|
void ClearPointList(wxList& list);
|
||||||
|
|
||||||
private:
|
// Return pen or brush of the right colour for the background
|
||||||
wxObject* m_clientData;
|
wxPen GetBackgroundPen();
|
||||||
|
wxBrush GetBackgroundBrush();
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxShapeEvtHandler* m_eventHandler;
|
wxShapeEvtHandler* m_eventHandler;
|
||||||
|
@@ -99,7 +99,6 @@ extern wxPen* g_oglWhiteBackgroundPen;
|
|||||||
extern wxPen* g_oglTransparentPen;
|
extern wxPen* g_oglTransparentPen;
|
||||||
extern wxBrush* g_oglWhiteBackgroundBrush;
|
extern wxBrush* g_oglWhiteBackgroundBrush;
|
||||||
extern wxPen* g_oglBlackForegroundPen;
|
extern wxPen* g_oglBlackForegroundPen;
|
||||||
extern wxCursor* g_oglBullseyeCursor;
|
|
||||||
|
|
||||||
extern wxFont* oglMatchFont(int point_size);
|
extern wxFont* oglMatchFont(int point_size);
|
||||||
|
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
|
#include <wx/dnd.h>
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// BEGIN generated section. The following code is automatically generated
|
// BEGIN generated section. The following code is automatically generated
|
||||||
@@ -72,6 +73,7 @@
|
|||||||
#define wxSTC_MARK_CIRCLEPLUSCONNECTED 19
|
#define wxSTC_MARK_CIRCLEPLUSCONNECTED 19
|
||||||
#define wxSTC_MARK_CIRCLEMINUS 20
|
#define wxSTC_MARK_CIRCLEMINUS 20
|
||||||
#define wxSTC_MARK_CIRCLEMINUSCONNECTED 21
|
#define wxSTC_MARK_CIRCLEMINUSCONNECTED 21
|
||||||
|
#define wxSTC_MARK_CHARACTER 10000
|
||||||
|
|
||||||
// Markers used for outlining column
|
// Markers used for outlining column
|
||||||
#define wxSTC_MARKNUM_FOLDEREND 25
|
#define wxSTC_MARKNUM_FOLDEREND 25
|
||||||
@@ -83,12 +85,16 @@
|
|||||||
#define wxSTC_MARKNUM_FOLDEROPEN 31
|
#define wxSTC_MARKNUM_FOLDEROPEN 31
|
||||||
#define wxSTC_MARGIN_SYMBOL 0
|
#define wxSTC_MARGIN_SYMBOL 0
|
||||||
#define wxSTC_MARGIN_NUMBER 1
|
#define wxSTC_MARGIN_NUMBER 1
|
||||||
|
|
||||||
|
// Styles in range 32..37 are predefined for parts of the UI and are not used as normal styles.
|
||||||
|
// Styles 38 and 39 are for future use.
|
||||||
#define wxSTC_STYLE_DEFAULT 32
|
#define wxSTC_STYLE_DEFAULT 32
|
||||||
#define wxSTC_STYLE_LINENUMBER 33
|
#define wxSTC_STYLE_LINENUMBER 33
|
||||||
#define wxSTC_STYLE_BRACELIGHT 34
|
#define wxSTC_STYLE_BRACELIGHT 34
|
||||||
#define wxSTC_STYLE_BRACEBAD 35
|
#define wxSTC_STYLE_BRACEBAD 35
|
||||||
#define wxSTC_STYLE_CONTROLCHAR 36
|
#define wxSTC_STYLE_CONTROLCHAR 36
|
||||||
#define wxSTC_STYLE_INDENTGUIDE 37
|
#define wxSTC_STYLE_INDENTGUIDE 37
|
||||||
|
#define wxSTC_STYLE_LASTPREDEFINED 39
|
||||||
#define wxSTC_STYLE_MAX 127
|
#define wxSTC_STYLE_MAX 127
|
||||||
|
|
||||||
// Character set identifiers are used in StyleSetCharacterSet.
|
// Character set identifiers are used in StyleSetCharacterSet.
|
||||||
@@ -295,6 +301,7 @@
|
|||||||
#define wxSTC_LEX_EIFFEL 23
|
#define wxSTC_LEX_EIFFEL 23
|
||||||
#define wxSTC_LEX_EIFFELKW 24
|
#define wxSTC_LEX_EIFFELKW 24
|
||||||
#define wxSTC_LEX_TCL 25
|
#define wxSTC_LEX_TCL 25
|
||||||
|
#define wxSTC_LEX_NNCRONTAB 26
|
||||||
|
|
||||||
// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
|
// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
|
||||||
// value assigned in sequence from SCLEX_AUTOMATIC+1.
|
// value assigned in sequence from SCLEX_AUTOMATIC+1.
|
||||||
@@ -334,6 +341,8 @@
|
|||||||
#define wxSTC_C_REGEX 14
|
#define wxSTC_C_REGEX 14
|
||||||
#define wxSTC_C_COMMENTLINEDOC 15
|
#define wxSTC_C_COMMENTLINEDOC 15
|
||||||
#define wxSTC_C_WORD2 16
|
#define wxSTC_C_WORD2 16
|
||||||
|
#define wxSTC_C_COMMENTDOCKEYWORD 17
|
||||||
|
#define wxSTC_C_COMMENTDOCKEYWORDERROR 18
|
||||||
|
|
||||||
// Lexical states for SCLEX_HTML, SCLEX_XML
|
// Lexical states for SCLEX_HTML, SCLEX_XML
|
||||||
#define wxSTC_H_DEFAULT 0
|
#define wxSTC_H_DEFAULT 0
|
||||||
@@ -365,7 +374,17 @@
|
|||||||
#define wxSTC_H_XCCOMMENT 20
|
#define wxSTC_H_XCCOMMENT 20
|
||||||
|
|
||||||
// SGML
|
// SGML
|
||||||
#define wxSTC_H_SGML 21
|
#define wxSTC_H_SGML_DEFAULT 21
|
||||||
|
#define wxSTC_H_SGML_COMMAND 22
|
||||||
|
#define wxSTC_H_SGML_1ST_PARAM 23
|
||||||
|
#define wxSTC_H_SGML_DOUBLESTRING 24
|
||||||
|
#define wxSTC_H_SGML_SIMPLESTRING 25
|
||||||
|
#define wxSTC_H_SGML_ERROR 26
|
||||||
|
#define wxSTC_H_SGML_SPECIAL 27
|
||||||
|
#define wxSTC_H_SGML_ENTITY 28
|
||||||
|
#define wxSTC_H_SGML_COMMENT 29
|
||||||
|
#define wxSTC_H_SGML_1ST_PARAM_COMMENT 30
|
||||||
|
#define wxSTC_H_SGML_BLOCK_DEFAULT 31
|
||||||
|
|
||||||
// Embedded Javascript
|
// Embedded Javascript
|
||||||
#define wxSTC_HJ_START 40
|
#define wxSTC_HJ_START 40
|
||||||
@@ -604,6 +623,19 @@
|
|||||||
#define wxSTC_EIFFEL_IDENTIFIER 7
|
#define wxSTC_EIFFEL_IDENTIFIER 7
|
||||||
#define wxSTC_EIFFEL_STRINGEOL 8
|
#define wxSTC_EIFFEL_STRINGEOL 8
|
||||||
|
|
||||||
|
// Lexical states for the SCLEX_NNCRONTAB (nnCron crontab Lexer)
|
||||||
|
#define wxSTC_NNCRONTAB_DEFAULT 0
|
||||||
|
#define wxSTC_NNCRONTAB_COMMENT 1
|
||||||
|
#define wxSTC_NNCRONTAB_TASK 2
|
||||||
|
#define wxSTC_NNCRONTAB_SECTION 3
|
||||||
|
#define wxSTC_NNCRONTAB_KEYWORD 4
|
||||||
|
#define wxSTC_NNCRONTAB_MODIFIER 5
|
||||||
|
#define wxSTC_NNCRONTAB_ASTERISK 6
|
||||||
|
#define wxSTC_NNCRONTAB_NUMBER 7
|
||||||
|
#define wxSTC_NNCRONTAB_STRING 8
|
||||||
|
#define wxSTC_NNCRONTAB_ENVIRONMENT 9
|
||||||
|
#define wxSTC_NNCRONTAB_IDENTIFIER 10
|
||||||
|
|
||||||
// END of generated section
|
// END of generated section
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Others
|
// Others
|
||||||
@@ -631,6 +663,8 @@ public:
|
|||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize, long style = 0,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const char* name = "styledtext");
|
const char* name = "styledtext");
|
||||||
|
%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
|
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
@@ -1221,10 +1255,12 @@ public:
|
|||||||
int GetTargetEnd();
|
int GetTargetEnd();
|
||||||
|
|
||||||
// Replace the target text with the argument text.
|
// Replace the target text with the argument text.
|
||||||
|
// Text is counted so it can contain nulls.
|
||||||
// Returns the length of the replacement text.
|
// Returns the length of the replacement text.
|
||||||
int ReplaceTarget(const wxString& text);
|
int ReplaceTarget(const wxString& text);
|
||||||
|
|
||||||
// Replace the target text with the argument text after \d processing.
|
// Replace the target text with the argument text after \d processing.
|
||||||
|
// Text is counted so it can contain nulls.
|
||||||
// Looks for \d where d is between 1 and 9 and replaces these with the strings
|
// Looks for \d where d is between 1 and 9 and replaces these with the strings
|
||||||
// matched in the last search operation which were surrounded by \( and \).
|
// matched in the last search operation which were surrounded by \( and \).
|
||||||
// Returns the length of the replacement text including any change
|
// Returns the length of the replacement text including any change
|
||||||
@@ -1232,7 +1268,7 @@ public:
|
|||||||
int ReplaceTargetRE(const wxString& text);
|
int ReplaceTargetRE(const wxString& text);
|
||||||
|
|
||||||
// Search for a counted string in the target and set the target to the found
|
// Search for a counted string in the target and set the target to the found
|
||||||
// range.
|
// range. Text is counted so it can contain nulls.
|
||||||
// Returns length of range or -1 for failure in which case target is not moved.
|
// Returns length of range or -1 for failure in which case target is not moved.
|
||||||
int SearchInTarget(const wxString& text);
|
int SearchInTarget(const wxString& text);
|
||||||
|
|
||||||
@@ -1558,6 +1594,14 @@ public:
|
|||||||
// Send a message to Scintilla
|
// Send a message to Scintilla
|
||||||
long SendMsg(int msg, long wp=0, long lp=0);
|
long SendMsg(int msg, long wp=0, long lp=0);
|
||||||
|
|
||||||
|
|
||||||
|
// Set the vertical scrollbar to use instead of the ont that's built-in.
|
||||||
|
void SetVScrollBar(wxScrollBar* bar) { m_vScrollBar = bar; }
|
||||||
|
|
||||||
|
|
||||||
|
// Set the horizontal scrollbar to use instead of the ont that's built-in.
|
||||||
|
void SetHScrollBar(wxScrollBar* bar) { m_hScrollBar = bar; }
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@@ -1566,10 +1610,12 @@ private:
|
|||||||
// Event handlers
|
// Event handlers
|
||||||
void OnPaint(wxPaintEvent& evt);
|
void OnPaint(wxPaintEvent& evt);
|
||||||
void OnScrollWin(wxScrollWinEvent& evt);
|
void OnScrollWin(wxScrollWinEvent& evt);
|
||||||
|
void OnScroll(wxScrollEvent& evt);
|
||||||
void OnSize(wxSizeEvent& evt);
|
void OnSize(wxSizeEvent& evt);
|
||||||
void OnMouseLeftDown(wxMouseEvent& evt);
|
void OnMouseLeftDown(wxMouseEvent& evt);
|
||||||
void OnMouseMove(wxMouseEvent& evt);
|
void OnMouseMove(wxMouseEvent& evt);
|
||||||
void OnMouseLeftUp(wxMouseEvent& evt);
|
void OnMouseLeftUp(wxMouseEvent& evt);
|
||||||
|
void OnMouseRightUp(wxMouseEvent& evt);
|
||||||
void OnContextMenu(wxContextMenuEvent& evt);
|
void OnContextMenu(wxContextMenuEvent& evt);
|
||||||
void OnMouseWheel(wxMouseEvent& evt);
|
void OnMouseWheel(wxMouseEvent& evt);
|
||||||
void OnChar(wxKeyEvent& evt);
|
void OnChar(wxKeyEvent& evt);
|
||||||
@@ -1586,13 +1632,17 @@ private:
|
|||||||
void NotifyChange();
|
void NotifyChange();
|
||||||
void NotifyParent(SCNotification* scn);
|
void NotifyParent(SCNotification* scn);
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
DECLARE_CLASS(wxStyledTextCtrl)
|
DECLARE_CLASS(wxStyledTextCtrl)
|
||||||
|
|
||||||
ScintillaWX* m_swx;
|
ScintillaWX* m_swx;
|
||||||
wxStopWatch m_stopWatch;
|
wxStopWatch m_stopWatch;
|
||||||
|
wxScrollBar* m_vScrollBar;
|
||||||
|
wxScrollBar* m_hScrollBar;
|
||||||
|
|
||||||
|
bool m_lastKeyDownConsumed;
|
||||||
|
|
||||||
friend class ScintillaWX;
|
friend class ScintillaWX;
|
||||||
friend class Platform;
|
friend class Platform;
|
||||||
@@ -1604,6 +1654,9 @@ private:
|
|||||||
class wxStyledTextEvent : public wxCommandEvent {
|
class wxStyledTextEvent : public wxCommandEvent {
|
||||||
public:
|
public:
|
||||||
wxStyledTextEvent(wxEventType commandType=0, int id=0);
|
wxStyledTextEvent(wxEventType commandType=0, int id=0);
|
||||||
|
#ifndef SWIG
|
||||||
|
wxStyledTextEvent(const wxStyledTextEvent& event);
|
||||||
|
#endif
|
||||||
~wxStyledTextEvent() {}
|
~wxStyledTextEvent() {}
|
||||||
|
|
||||||
void SetPosition(int pos) { m_position = pos; }
|
void SetPosition(int pos) { m_position = pos; }
|
||||||
@@ -1623,6 +1676,11 @@ public:
|
|||||||
void SetListType(int val) { m_listType = val; }
|
void SetListType(int val) { m_listType = val; }
|
||||||
void SetX(int val) { m_x = val; }
|
void SetX(int val) { m_x = val; }
|
||||||
void SetY(int val) { m_y = val; }
|
void SetY(int val) { m_y = val; }
|
||||||
|
#ifndef __WXMAC__ // #if wxUSE_DRAG_AND_DROP
|
||||||
|
void SetDragText(const wxString& val) { m_dragText = val; }
|
||||||
|
void SetDragAllowMove(bool val) { m_dragAllowMove = val; }
|
||||||
|
void SetDragResult(wxDragResult val) { m_dragResult = val; }
|
||||||
|
#endif
|
||||||
|
|
||||||
int GetPosition() const { return m_position; }
|
int GetPosition() const { return m_position; }
|
||||||
int GetKey() const { return m_key; }
|
int GetKey() const { return m_key; }
|
||||||
@@ -1641,12 +1699,17 @@ public:
|
|||||||
int GetListType() const { return m_listType; }
|
int GetListType() const { return m_listType; }
|
||||||
int GetX() const { return m_x; }
|
int GetX() const { return m_x; }
|
||||||
int GetY() const { return m_y; }
|
int GetY() const { return m_y; }
|
||||||
|
#ifndef __WXMAC__ // #if wxUSE_DRAG_AND_DROP
|
||||||
|
wxString GetDragText() { return m_dragText; }
|
||||||
|
bool GetDragAllowMove() { return m_dragAllowMove; }
|
||||||
|
wxDragResult GetDragResult() { return m_dragResult; }
|
||||||
|
#endif
|
||||||
|
|
||||||
bool GetShift() const;
|
bool GetShift() const;
|
||||||
bool GetControl() const;
|
bool GetControl() const;
|
||||||
bool GetAlt() const;
|
bool GetAlt() const;
|
||||||
|
|
||||||
void CopyObject(wxObject& obj) const;
|
virtual wxEvent* Clone() const { return new wxStyledTextEvent(*this); }
|
||||||
|
|
||||||
#ifndef SWIG
|
#ifndef SWIG
|
||||||
private:
|
private:
|
||||||
@@ -1673,6 +1736,13 @@ private:
|
|||||||
int m_listType;
|
int m_listType;
|
||||||
int m_x;
|
int m_x;
|
||||||
int m_y;
|
int m_y;
|
||||||
|
|
||||||
|
#ifndef __WXMAC__ // #if wxUSE_DRAG_AND_DROP
|
||||||
|
wxString m_dragText; // wxEVT_STC_START_DRAG, wxEVT_STC_DO_DROP
|
||||||
|
bool m_dragAllowMove; // wxEVT_STC_START_DRAG
|
||||||
|
|
||||||
|
wxDragResult m_dragResult; // wxEVT_STC_DRAG_OVER,wxEVT_STC_DO_DROP
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1697,6 +1767,11 @@ BEGIN_DECLARE_EVENT_TYPES()
|
|||||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_URIDROPPED, 1666)
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_URIDROPPED, 1666)
|
||||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DWELLSTART, 1667)
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DWELLSTART, 1667)
|
||||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DWELLEND, 1668)
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DWELLEND, 1668)
|
||||||
|
#if wxUSE_DRAG_AND_DROP
|
||||||
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_START_DRAG, 1669)
|
||||||
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DRAG_OVER, 1670)
|
||||||
|
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DO_DROP, 1671)
|
||||||
|
#endif
|
||||||
END_DECLARE_EVENT_TYPES()
|
END_DECLARE_EVENT_TYPES()
|
||||||
#else
|
#else
|
||||||
enum {
|
enum {
|
||||||
@@ -1719,6 +1794,11 @@ END_DECLARE_EVENT_TYPES()
|
|||||||
wxEVT_STC_URIDROPPED,
|
wxEVT_STC_URIDROPPED,
|
||||||
wxEVT_STC_DWELLSTART,
|
wxEVT_STC_DWELLSTART,
|
||||||
wxEVT_STC_DWELLEND,
|
wxEVT_STC_DWELLEND,
|
||||||
|
#ifndef __WXMAC__ // #if wxUSE_DRAG_AND_DROP
|
||||||
|
wxEVT_STC_START_DRAG,
|
||||||
|
wxEVT_STC_DRAG_OVER,
|
||||||
|
wxEVT_STC_DO_DROP,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1746,8 +1826,11 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);
|
|||||||
#define EVT_STC_URIDROPPED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_URIDROPPED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
#define EVT_STC_URIDROPPED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_URIDROPPED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
#define EVT_STC_DWELLSTART(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DWELLSTART, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
#define EVT_STC_DWELLSTART(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DWELLSTART, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
#define EVT_STC_DWELLEND(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DWELLEND, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
#define EVT_STC_DWELLEND(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DWELLEND, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
|
#if wxUSE_DRAG_AND_DROP
|
||||||
|
#define EVT_STC_START_DRAG(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_START_DRAG, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
|
#define EVT_STC_DRAG_OVER(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DRAG_OVER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
|
#define EVT_STC_DO_DROP(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DO_DROP, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
CONTRIB_SAMPLES=mmedia ogl stc gizmos canvas xrc plot applet fl
|
CONTRIB_SAMPLES=canvas fl gizmos mmedia net ogl plot stc xrc #applet
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@for d in $(CONTRIB_SAMPLES); do (cd $$d && $(MAKE)); done
|
@for d in $(CONTRIB_SAMPLES); do (cd $$d && $(MAKE)); done
|
||||||
|
@@ -47,7 +47,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -58,7 +58,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/anitest.exe" /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/anitest.exe" /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -85,7 +85,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -111,7 +111,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -138,7 +138,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 UnivRelease"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 UnivRelease"
|
||||||
|
|
||||||
@@ -218,6 +218,8 @@ SOURCE=.\anitest.h
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\anitest.rc
|
SOURCE=.\anitest.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
@@ -45,18 +45,18 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /i "../../../include" /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/simple.exe" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/simple.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,18 +72,18 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /i "../../../include" /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/simple.exe" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/simple.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -99,17 +99,17 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /i "../../../include" /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/simple.exe" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/simple.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "SimpleVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -125,18 +125,18 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /i "../../../include" /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/simple.exe" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/simple.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -169,7 +169,8 @@ SOURCE=.\simple.cpp
|
|||||||
|
|
||||||
SOURCE=.\simple.rc
|
SOURCE=.\simple.rc
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809 /i "..\..\include"
|
# ADD RSC /l 0x809 /i "../../../../include" /i "..\..\include"
|
||||||
|
# SUBTRACT RSC /i "../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -45,7 +45,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/test.exe" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/test.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TestVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "TestVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -83,7 +83,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/test.exe" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/test.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TestVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "TestVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -109,7 +109,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/test.exe" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib canvasd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/test.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TestVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "TestVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -136,7 +136,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/test.exe" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib canvas.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/test.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ SOURCE=.\test.cpp
|
|||||||
|
|
||||||
SOURCE=.\test.rc
|
SOURCE=.\test.rc
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809 /i "..\..\..\include"
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -43,7 +43,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Debug"
|
!ELSEIF "$(CFG)" == "fl_demo1 - Win32 Debug"
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -103,6 +103,8 @@ SOURCE=.\fl_demo1.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\fl_demo1.rc
|
SOURCE=.\fl_demo1.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -78,8 +78,8 @@ bool MyApp::OnInit(void)
|
|||||||
SetTopWindow(frame);
|
SetTopWindow(frame);
|
||||||
|
|
||||||
|
|
||||||
wxMessageBox("Hello, this demo has a bunch of yet-not-fixed-bugs and misssing functionality\n" \
|
wxMessageBox("Hello, this demo has a bunch of yet-not-fixed-bugs and missing functionality\n" \
|
||||||
"The ONLY purpose is to demostrate self-layouting toolbars,\nflat-bitmapped-buttons and 2-new FL-plugins" \
|
"The ONLY purpose is to demonstrate self-layouting toolbars,\nflat-bitmapped-buttons and 2-new FL-plugins" \
|
||||||
"(cbRowDragPlugin & cbBarHintsPlugin)\n\n" \
|
"(cbRowDragPlugin & cbBarHintsPlugin)\n\n" \
|
||||||
"BTW, disabled images and label-text are rendered at run-time" );
|
"BTW, disabled images and label-text are rendered at run-time" );
|
||||||
|
|
||||||
@@ -203,7 +203,7 @@ MyFrame::MyFrame(wxFrame *frame)
|
|||||||
sizes1, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
sizes1, FL_ALIGN_TOP, // alignment ( 0-top,1-bottom, etc)
|
||||||
0, // insert into 0th row (vert. position)
|
0, // insert into 0th row (vert. position)
|
||||||
0, // offset from the start of row (in pixels)
|
0, // offset from the start of row (in pixels)
|
||||||
"ToolBar1", // name to refere in customization pop-ups
|
"ToolBar1", // name to refer in customization pop-ups
|
||||||
TRUE
|
TRUE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Debug"
|
!ELSEIF "$(CFG)" == "fl_demo2 - Win32 Debug"
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -103,6 +103,8 @@ SOURCE=.\fl_demo2.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\fl_demo2.rc
|
SOURCE=.\fl_demo2.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -43,7 +43,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Debug"
|
!ELSEIF "$(CFG)" == "fl_sample1 - Win32 Debug"
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -103,6 +103,8 @@ SOURCE=.\fl_sample1.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\fl_sample1.rc
|
SOURCE=.\fl_sample1.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -43,7 +43,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Debug"
|
!ELSEIF "$(CFG)" == "fl_sample2 - Win32 Debug"
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -103,6 +103,8 @@ SOURCE=.\fl_sample2.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\fl_sample2.rc
|
SOURCE=.\fl_sample2.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -43,7 +43,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib fl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Debug"
|
!ELSEIF "$(CFG)" == "fl_sample3 - Win32 Debug"
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "_DEBUG" /D DEBUG=1 /D "__WXDEBUG__" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /D BMP_DIR=\"../bitmaps/\" /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib fld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -103,6 +103,8 @@ SOURCE=.\fl_sample3.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\fl_sample3.rc
|
SOURCE=.\fl_sample3.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# Purpose: makefile for multicell example (Unix)
|
# Purpose: makefile for multicell example (Unix)
|
||||||
# Created 2000-07-28
|
# Created 2000-07-28
|
||||||
|
|
||||||
CC = gcc
|
CXX = $(shell wx-config --cxx)
|
||||||
|
|
||||||
PROGRAM = mtest
|
PROGRAM = mtest
|
||||||
|
|
||||||
@@ -13,12 +13,12 @@ EXTRAINC=-I../include
|
|||||||
.SUFFIXES: .o .cpp
|
.SUFFIXES: .o .cpp
|
||||||
|
|
||||||
.cpp.o :
|
.cpp.o :
|
||||||
$(CC) -c `wx-config --cflags` -o $@ $<
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
||||||
|
|
||||||
all: $(PROGRAM)
|
all: $(PROGRAM)
|
||||||
|
|
||||||
$(PROGRAM): $(OBJECTS)
|
$(PROGRAM): $(OBJECTS)
|
||||||
$(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(PROGRAM)
|
rm -f *.o $(PROGRAM)
|
||||||
|
@@ -45,7 +45,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib gizmos.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/tree.exe" /libpath:"d:\wx2\wxWindows\lib"
|
# ADD LINK32 wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib gizmos.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/tree.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TreeVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "TreeVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib gizmosd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/tree.exe" /pdbtype:sept /libpath:"d:\wx2\wxWindows\lib"
|
# ADD LINK32 wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib gizmosd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/tree.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TreeVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "TreeVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -108,7 +108,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 wxdlld.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tree.exe" /pdbtype:sept /libpath:"../../lib" /libpath:"../../contrib/lib"
|
# ADD LINK32 wxmsw232d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/tree.exe" /pdbtype:sept /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "TreeVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "TreeVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "..\..\..\..\include" /I "..\..\include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -135,7 +135,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 wxdll.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/tree.exe" /libpath:"../../lib" /libpath:"../../contrib/lib"
|
# ADD LINK32 wxmsw232.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/tree.exe" /libpath:"../../../../lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -181,7 +181,7 @@ SOURCE=.\tree.h
|
|||||||
|
|
||||||
SOURCE=.\tree.rc
|
SOURCE=.\tree.rc
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809 /i "d:\wx2\wxWindows\include"
|
# ADD RSC /l 0x809 /i "../../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
# under Linux.
|
# under Linux.
|
||||||
#
|
#
|
||||||
|
|
||||||
CC = gcc
|
CXX = $(shell wx-config --cxx)
|
||||||
|
|
||||||
PROGRAM = minimal
|
PROGRAM = minimal
|
||||||
|
|
||||||
@@ -24,12 +24,12 @@ OBJECTS = $(PROGRAM).o
|
|||||||
.SUFFIXES: .o .cpp
|
.SUFFIXES: .o .cpp
|
||||||
|
|
||||||
.cpp.o :
|
.cpp.o :
|
||||||
$(CC) -c `wx-config --cflags` -o $@ $<
|
$(CXX) -c `wx-config --cxxflags` -o $@ $<
|
||||||
|
|
||||||
all: $(PROGRAM)
|
all: $(PROGRAM)
|
||||||
|
|
||||||
$(PROGRAM): $(OBJECTS)
|
$(PROGRAM): $(OBJECTS)
|
||||||
$(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(PROGRAM)
|
rm -f *.o $(PROGRAM)
|
||||||
|
@@ -169,8 +169,10 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
m_splitter = new wxThinSplitterWindow(m_scrolledWindow, idSPLITTER_WINDOW, wxDefaultPosition,
|
m_splitter = new wxThinSplitterWindow(m_scrolledWindow, idSPLITTER_WINDOW, wxDefaultPosition,
|
||||||
wxDefaultSize, wxSP_3DBORDER | wxCLIP_CHILDREN /* | wxSP_LIVE_UPDATE */);
|
wxDefaultSize, wxSP_3DBORDER | wxCLIP_CHILDREN /* | wxSP_LIVE_UPDATE */);
|
||||||
m_splitter->SetSashSize(2);
|
m_splitter->SetSashSize(2);
|
||||||
|
|
||||||
|
/* Note the wxTR_ROW_LINES style: draws horizontal lines between items */
|
||||||
m_tree = new TestTree(m_splitter , idTREE_CTRL, wxDefaultPosition,
|
m_tree = new TestTree(m_splitter , idTREE_CTRL, wxDefaultPosition,
|
||||||
wxDefaultSize, wxTR_HAS_BUTTONS | wxTR_NO_LINES | wxNO_BORDER );
|
wxDefaultSize, wxTR_HAS_BUTTONS | wxTR_NO_LINES | wxNO_BORDER | wxTR_ROW_LINES );
|
||||||
m_valueWindow = new TestValueWindow(m_splitter, idVALUE_WINDOW, wxDefaultPosition,
|
m_valueWindow = new TestValueWindow(m_splitter, idVALUE_WINDOW, wxDefaultPosition,
|
||||||
wxDefaultSize, wxNO_BORDER);
|
wxDefaultSize, wxNO_BORDER);
|
||||||
m_splitter->SplitVertically(m_tree, m_valueWindow);
|
m_splitter->SplitVertically(m_tree, m_valueWindow);
|
||||||
@@ -230,7 +232,6 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
|||||||
IMPLEMENT_CLASS(TestTree, wxRemotelyScrolledTreeCtrl)
|
IMPLEMENT_CLASS(TestTree, wxRemotelyScrolledTreeCtrl)
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(TestTree, wxRemotelyScrolledTreeCtrl)
|
BEGIN_EVENT_TABLE(TestTree, wxRemotelyScrolledTreeCtrl)
|
||||||
EVT_PAINT(TestTree::OnPaint)
|
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
TestTree::TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt,
|
TestTree::TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt,
|
||||||
@@ -273,39 +274,6 @@ TestTree::~TestTree()
|
|||||||
delete m_imageList;
|
delete m_imageList;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestTree::OnPaint(wxPaintEvent& event)
|
|
||||||
{
|
|
||||||
wxPaintDC dc(this);
|
|
||||||
|
|
||||||
wxTreeCtrl::OnPaint(event);
|
|
||||||
|
|
||||||
// Reset the device origin since it may have been set
|
|
||||||
dc.SetDeviceOrigin(0, 0);
|
|
||||||
|
|
||||||
wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
|
|
||||||
dc.SetPen(pen);
|
|
||||||
dc.SetBrush(* wxTRANSPARENT_BRUSH);
|
|
||||||
|
|
||||||
wxSize clientSize = GetClientSize();
|
|
||||||
wxRect itemRect;
|
|
||||||
int cy=0;
|
|
||||||
wxTreeItemId h, lastH;
|
|
||||||
for(h=GetFirstVisibleItem();h;h=GetNextVisible(h))
|
|
||||||
{
|
|
||||||
if (GetBoundingRect(h, itemRect))
|
|
||||||
{
|
|
||||||
cy = itemRect.GetTop();
|
|
||||||
dc.DrawLine(0, cy, clientSize.x, cy);
|
|
||||||
lastH = h;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (GetBoundingRect(lastH, itemRect))
|
|
||||||
{
|
|
||||||
cy = itemRect.GetBottom();
|
|
||||||
dc.DrawLine(0, cy, clientSize.x, cy);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TestValueWindow
|
* TestValueWindow
|
||||||
*/
|
*/
|
||||||
|
@@ -45,6 +45,7 @@ protected:
|
|||||||
wxRemotelyScrolledTreeCtrl* m_tree;
|
wxRemotelyScrolledTreeCtrl* m_tree;
|
||||||
wxThinSplitterWindow* m_splitter;
|
wxThinSplitterWindow* m_splitter;
|
||||||
wxSplitterScrolledWindow* m_scrolledWindow;
|
wxSplitterScrolledWindow* m_scrolledWindow;
|
||||||
|
//wxScrolledWindow* m_scrolledWindow;
|
||||||
TestValueWindow* m_valueWindow;
|
TestValueWindow* m_valueWindow;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -78,7 +79,6 @@ public:
|
|||||||
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
|
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
|
||||||
~TestTree();
|
~TestTree();
|
||||||
|
|
||||||
void OnPaint(wxPaintEvent& event);
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
protected:
|
protected:
|
||||||
wxImageList* m_imageList;
|
wxImageList* m_imageList;
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
# Microsoft Developer Studio Project File - Name="MMboardVC" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="MMboardVC" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# (Actually, generated by MakeProject, (c) Julian Smart, 1998)
|
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Application" 0x0101
|
# TARGTYPE "Win32 (x86) Application" 0x0101
|
||||||
@@ -25,6 +24,7 @@ CFG=MMboardVC - Win32 Debug
|
|||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
@@ -45,10 +45,10 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib,libci.lib,msvcrtd.lib" /out:"Release/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,9 +72,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib,libcid.lib,msvcrt.lib" /out:"Debug/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -98,9 +98,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -108,7 +108,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2d.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib mmediad.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/mmboard.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -124,10 +124,10 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -135,7 +135,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib mmedia.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/mmboard.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -147,46 +147,6 @@ LINK32=link.exe
|
|||||||
# Name "MMboardVC - Win32 Release DLL"
|
# Name "MMboardVC - Win32 Release DLL"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\mmboard.cpp
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\mmboard.h
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug"
|
|
||||||
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug DLL"
|
|
||||||
|
|
||||||
# SUBTRACT BASE CPP /YX /Yc /Yu
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\mmbman.cpp
|
SOURCE=.\mmbman.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
||||||
@@ -208,6 +168,10 @@ SOURCE=.\mmbman.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\mmbman.h
|
SOURCE=.\mmbman.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\mmboard.cpp
|
||||||
|
|
||||||
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
||||||
|
|
||||||
@@ -227,9 +191,34 @@ SOURCE=.\mmbman.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\mmboard.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\mmboard.rc
|
SOURCE=.\mmboard.rc
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "MMboardVC - Win32 Release"
|
||||||
|
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809 /i "../../../include" /i "../../../contrib/include"
|
# ADD RSC /l 0x809 /i "../../../include" /i "../../../contrib/include"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug"
|
||||||
|
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../include" /i "../../../contrib/include"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Debug DLL"
|
||||||
|
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../include" /i "../../../contrib/include"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "MMboardVC - Win32 Release DLL"
|
||||||
|
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../../include" /i "../../../../contrib/include"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Microsoft Developer Studio Workspace File, Format Version 5.00
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@@ -45,7 +45,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -108,7 +108,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -135,7 +135,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -12,8 +12,7 @@
|
|||||||
# on your system.
|
# on your system.
|
||||||
#
|
#
|
||||||
|
|
||||||
CPP = gcc -g
|
CXX = $(shell wx-config --cxx)
|
||||||
CC = gcc
|
|
||||||
WXCONFIG=../../../../wx-config
|
WXCONFIG=../../../../wx-config
|
||||||
WXINCLUDE=-I../../../../include -I../../../include
|
WXINCLUDE=-I../../../../include -I../../../include
|
||||||
WXLIB=-L../../../../lib -L../../../src/ogl
|
WXLIB=-L../../../../lib -L../../../src/ogl
|
||||||
@@ -21,19 +20,19 @@ WXLIB=-L../../../../lib -L../../../src/ogl
|
|||||||
OBJECTS=ogledit.o palette.o doc.o view.o
|
OBJECTS=ogledit.o palette.o doc.o view.o
|
||||||
|
|
||||||
ogledit: $(OBJECTS)
|
ogledit: $(OBJECTS)
|
||||||
$(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
$(CXX) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
||||||
|
|
||||||
ogledit.o: ogledit.cpp
|
ogledit.o: ogledit.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
|
||||||
|
|
||||||
palette.o: palette.cpp
|
palette.o: palette.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c palette.cpp
|
||||||
|
|
||||||
doc.o: doc.cpp
|
doc.o: doc.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
||||||
|
|
||||||
view.o: view.cpp
|
view.o: view.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o ogledit
|
rm -f *.o ogledit
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -45,7 +45,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -108,7 +108,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -135,7 +135,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx232.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -12,8 +12,7 @@
|
|||||||
# on your system.
|
# on your system.
|
||||||
#
|
#
|
||||||
|
|
||||||
CPP = gcc -g
|
CXX = $(shell wx-config --cxx)
|
||||||
CC = gcc
|
|
||||||
WXCONFIG=../../../../wx-config
|
WXCONFIG=../../../../wx-config
|
||||||
WXINCLUDE=-I../../../../include -I../../../include
|
WXINCLUDE=-I../../../../include -I../../../include
|
||||||
WXLIB=-L../../../../lib -L../../../src/ogl
|
WXLIB=-L../../../../lib -L../../../src/ogl
|
||||||
@@ -21,37 +20,37 @@ WXLIB=-L../../../../lib -L../../../src/ogl
|
|||||||
OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
|
OBJECTS=studio.o cspalette.o csprint.o dialogs.o doc.o mainfrm.o project.o shapes.o symbols.o view.o
|
||||||
|
|
||||||
studio: $(OBJECTS)
|
studio: $(OBJECTS)
|
||||||
$(CPP) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
$(CXX) -o studio $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
|
||||||
|
|
||||||
studio.o: studio.cpp
|
studio.o: studio.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c studio.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c studio.cpp
|
||||||
|
|
||||||
cspalette.o: cspalette.cpp
|
cspalette.o: cspalette.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c cspalette.cpp
|
||||||
|
|
||||||
doc.o: doc.cpp
|
doc.o: doc.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c doc.cpp
|
||||||
|
|
||||||
view.o: view.cpp
|
view.o: view.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c view.cpp
|
||||||
|
|
||||||
dialogs.o: dialogs.cpp
|
dialogs.o: dialogs.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c dialogs.cpp
|
||||||
|
|
||||||
mainfrm.o: mainfrm.cpp
|
mainfrm.o: mainfrm.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c mainfrm.cpp
|
||||||
|
|
||||||
project.o: project.cpp
|
project.o: project.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c project.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c project.cpp
|
||||||
|
|
||||||
shapes.o: shapes.cpp
|
shapes.o: shapes.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c shapes.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c shapes.cpp
|
||||||
|
|
||||||
symbols.o: symbols.cpp
|
symbols.o: symbols.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c symbols.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c symbols.cpp
|
||||||
|
|
||||||
csprint.o: csprint.cpp
|
csprint.o: csprint.cpp
|
||||||
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c csprint.cpp
|
$(CXX) `$(WXCONFIG) --cxxflags` -I../../src $(WXINCLUDE) -c csprint.cpp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o studio
|
rm -f *.o studio
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
@@ -168,7 +168,7 @@ void csEvtHandler::OnRightClick(double x, double y, int keys, int attachment)
|
|||||||
|
|
||||||
int viewStartX, viewStartY;
|
int viewStartX, viewStartY;
|
||||||
int unitX, unitY;
|
int unitX, unitY;
|
||||||
GetShape()->GetCanvas()->ViewStart(& viewStartX, & viewStartY);
|
GetShape()->GetCanvas()->GetViewStart(& viewStartX, & viewStartY);
|
||||||
GetShape()->GetCanvas()->GetScrollPixelsPerUnit(& unitX, & unitY);
|
GetShape()->GetCanvas()->GetScrollPixelsPerUnit(& unitX, & unitY);
|
||||||
|
|
||||||
int x1 = (int)(x * GetShape()->GetCanvas()->GetScaleX());
|
int x1 = (int)(x * GetShape()->GetCanvas()->GetScaleX());
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "PlotVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib plotd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/plot.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "PlotVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "PlotVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib plot.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/plot.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ SOURCE=.\plot.cpp
|
|||||||
|
|
||||||
SOURCE=.\plot.rc
|
SOURCE=.\plot.rc
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809 /i "..\..\..\include"
|
# ADD RSC /l 0x809 /i "..\..\..\include" /i "..\..\..\contrib\include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
# Microsoft Developer Studio Project File - Name="StcTestVC" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="StcTestVC" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# (Actually, generated by MakeProject, (c) Julian Smart, 1998)
|
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Application" 0x0101
|
# TARGTYPE "Win32 (x86) Application" 0x0101
|
||||||
@@ -25,6 +24,7 @@ CFG=StcTestVC - Win32 Debug
|
|||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
@@ -45,10 +45,10 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib,libci.lib,msvcrtd.lib" /out:"Release/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,9 +72,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib,libcid.lib,msvcrt.lib" /out:"Debug/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -98,9 +98,9 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -108,7 +108,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib stcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/stctest.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "StcTestVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -124,10 +124,10 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -135,7 +135,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx23_2.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib stc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/stctest.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Microsoft Developer Studio Workspace File, Format Version 5.00
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@@ -49,7 +49,6 @@ public:
|
|||||||
|
|
||||||
void OnQuit(wxCommandEvent& event);
|
void OnQuit(wxCommandEvent& event);
|
||||||
void OnAbout(wxCommandEvent& event);
|
void OnAbout(wxCommandEvent& event);
|
||||||
void OnStyleNeeded(wxStyledTextEvent& event);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxStyledTextCtrl* ed;
|
wxStyledTextCtrl* ed;
|
||||||
@@ -70,7 +69,6 @@ enum
|
|||||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||||
EVT_MENU (ID_Quit, MyFrame::OnQuit)
|
EVT_MENU (ID_Quit, MyFrame::OnQuit)
|
||||||
EVT_MENU (ID_About, MyFrame::OnAbout)
|
EVT_MENU (ID_About, MyFrame::OnAbout)
|
||||||
EVT_STC_STYLENEEDED (ID_ED, MyFrame::OnStyleNeeded)
|
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
IMPLEMENT_APP(MyApp)
|
IMPLEMENT_APP(MyApp)
|
||||||
@@ -128,7 +126,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
ed = new wxStyledTextCtrl(this, ID_ED);
|
ed = new wxStyledTextCtrl(this, ID_ED);
|
||||||
|
|
||||||
// Default font
|
// Default font
|
||||||
wxFont font(8, wxMODERN, wxNORMAL, wxNORMAL);
|
wxFont font(10, wxMODERN, wxNORMAL, wxNORMAL);
|
||||||
ed->StyleSetFont(wxSTC_STYLE_DEFAULT, font);
|
ed->StyleSetFont(wxSTC_STYLE_DEFAULT, font);
|
||||||
ed->StyleClearAll();
|
ed->StyleClearAll();
|
||||||
|
|
||||||
@@ -148,9 +146,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
ed->StyleSetBold(10, TRUE);
|
ed->StyleSetBold(10, TRUE);
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:7");
|
ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:9");
|
||||||
#else
|
#else
|
||||||
ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:7");
|
ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:9");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// give it some text to play with
|
// give it some text to play with
|
||||||
@@ -181,14 +179,6 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
|||||||
|
|
||||||
// event handlers
|
// event handlers
|
||||||
|
|
||||||
void MyFrame::OnStyleNeeded(wxStyledTextEvent& event) {
|
|
||||||
int currEndStyled = ed->GetEndStyled();
|
|
||||||
ed->Colourise(currEndStyled, event.GetPosition());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
// TRUE is to force the frame to close
|
// TRUE is to force the frame to close
|
||||||
|
@@ -45,7 +45,7 @@ RSC=rc.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Debug"
|
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Debug"
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -83,7 +83,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Debug DLL"
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
@@ -109,7 +109,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdlld.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib wxxrcd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/xmldemo.exe" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "XrcDemoVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../../contrib/include" /I "../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||||
@@ -136,7 +136,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxdll.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib wxxrc.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/xmldemo.exe" /libpath:"../../../lib" /libpath:"../../../contrib/lib"
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
@@ -168,6 +168,8 @@ SOURCE=.\xrcdemo.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\xrcdemo.rc
|
SOURCE=.\xrcdemo.rc
|
||||||
|
# ADD BASE RSC /l 0x809
|
||||||
|
# ADD RSC /l 0x809 /i "../../../include"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
CONTRIB_SUBDIRS=ogl mmedia stc xrc applet plot canvas animate fl
|
CONTRIB_SUBDIRS=canvas fl gizmos mmedia net ogl plot stc xrc #applet
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done
|
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done
|
||||||
|
@@ -41,7 +41,7 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
@@ -65,7 +65,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
|
@@ -5,23 +5,19 @@
|
|||||||
* Copyright (C) 1991-2001 SciTech Software, Inc.
|
* Copyright (C) 1991-2001 SciTech Software, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* ======================================================================
|
* ========================================================================
|
||||||
* |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|
|
*
|
||||||
* | |
|
* The contents of this file are subject to the wxWindows License
|
||||||
* |This copyrighted computer code is a proprietary trade secret of |
|
* Version 3.0 (the "License"); you may not use this file except in
|
||||||
* |SciTech Software, Inc., located at 505 Wall Street, Chico, CA 95928 |
|
* compliance with the License. You may obtain a copy of the License at
|
||||||
* |USA (www.scitechsoft.com). ANY UNAUTHORIZED POSSESSION, USE, |
|
* http://www.wxwindows.org/licence3.txt
|
||||||
* |VIEWING, COPYING, MODIFICATION OR DISSEMINATION OF THIS CODE IS |
|
*
|
||||||
* |STRICTLY PROHIBITED BY LAW. Unless you have current, express |
|
* Software distributed under the License is distributed on an
|
||||||
* |written authorization from SciTech to possess or use this code, you |
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||||
* |may be subject to civil and/or criminal penalties. |
|
* implied. See the License for the specific language governing
|
||||||
* | |
|
* rights and limitations under the License.
|
||||||
* |If you received this code in error or you would like to report |
|
*
|
||||||
* |improper use, please immediately contact SciTech Software, Inc. at |
|
* ========================================================================
|
||||||
* |530-894-8400. |
|
|
||||||
* | |
|
|
||||||
* |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|
|
|
||||||
* ======================================================================
|
|
||||||
*
|
*
|
||||||
* Language: ANSI C++
|
* Language: ANSI C++
|
||||||
* Environment: Any
|
* Environment: Any
|
||||||
@@ -38,7 +34,9 @@
|
|||||||
#include "wx/html/forcelnk.h"
|
#include "wx/html/forcelnk.h"
|
||||||
|
|
||||||
// crt
|
// crt
|
||||||
|
#ifdef __WXMSW__
|
||||||
#include <process.h> // spawnl()
|
#include <process.h> // spawnl()
|
||||||
|
#endif
|
||||||
|
|
||||||
// Include private headers
|
// Include private headers
|
||||||
#include "wx/applet/applet.h"
|
#include "wx/applet/applet.h"
|
||||||
@@ -86,24 +84,27 @@ wxHtmlAppletWindow::wxHtmlAppletWindow(
|
|||||||
const wxSize& size,
|
const wxSize& size,
|
||||||
long style,
|
long style,
|
||||||
const wxString& name,
|
const wxString& name,
|
||||||
const wxString& docroot )
|
const wxPalette& globalPalette)
|
||||||
: wxHtmlWindow(parent,id,pos,size,style,name)
|
: wxHtmlWindow(parent,id,pos,size,style,name), m_globalPalette(globalPalette)
|
||||||
{
|
{
|
||||||
// Init our locks
|
// Init our locks
|
||||||
UnLock();
|
UnLock();
|
||||||
|
|
||||||
// setup client navbars
|
// setup client navbars
|
||||||
if (navBar) {
|
if (navBar) {
|
||||||
|
m_NavBarEnabled = true;
|
||||||
m_NavBar = navBar;
|
m_NavBar = navBar;
|
||||||
m_NavBackId = navBackId;
|
m_NavBackId = navBackId;
|
||||||
m_NavForwardId = navForwardId;
|
m_NavForwardId = navForwardId;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
m_NavBarEnabled = false;
|
||||||
m_NavBar = NULL;
|
m_NavBar = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up docroot
|
m_NavBackId = navBackId;
|
||||||
m_DocRoot = docroot;
|
m_NavForwardId = navForwardId;
|
||||||
|
|
||||||
|
|
||||||
// Set the key_type for applets
|
// Set the key_type for applets
|
||||||
m_AppletList = wxAppletList(wxKEY_STRING);
|
m_AppletList = wxAppletList(wxKEY_STRING);
|
||||||
@@ -112,7 +113,7 @@ wxHtmlAppletWindow::wxHtmlAppletWindow(
|
|||||||
// deleting preprocessors is done by the code within the window
|
// deleting preprocessors is done by the code within the window
|
||||||
|
|
||||||
incPreprocessor = new wxIncludePrep(); // #include preprocessor
|
incPreprocessor = new wxIncludePrep(); // #include preprocessor
|
||||||
incPreprocessor->ChangeDirectory(m_DocRoot);
|
incPreprocessor->ChangeDirectory(m_FS); // give it access to our filesys object
|
||||||
|
|
||||||
wxEchoPrep * echoPreprocessor = new wxEchoPrep(); // #echo preprocessor
|
wxEchoPrep * echoPreprocessor = new wxEchoPrep(); // #echo preprocessor
|
||||||
wxIfElsePrep * ifPreprocessor = new wxIfElsePrep();
|
wxIfElsePrep * ifPreprocessor = new wxIfElsePrep();
|
||||||
@@ -130,6 +131,27 @@ wxHtmlAppletWindow::~wxHtmlAppletWindow()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include "scitech.h"
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
PARAMETERS:
|
||||||
|
dc - wxDC object to draw on
|
||||||
|
|
||||||
|
REMARKS:
|
||||||
|
This function handles drawing the HTML applet window. Because the standard
|
||||||
|
wxWindows classes don't properly handle palette management, we add code
|
||||||
|
in here to properly select the global palette that we use for all drawing
|
||||||
|
into the DC before we allow the regular wxWindows code to finish the
|
||||||
|
drawing process.
|
||||||
|
****************************************************************************/
|
||||||
|
void wxHtmlAppletWindow::OnDraw(
|
||||||
|
wxDC& dc)
|
||||||
|
{
|
||||||
|
// TODO: Only do this for <= 8bpp modes!
|
||||||
|
dc.SetPalette(m_globalPalette);
|
||||||
|
wxHtmlWindow::OnDraw(dc);
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
PARAMETERS:
|
PARAMETERS:
|
||||||
className - Name of the applet class to create an object for
|
className - Name of the applet class to create an object for
|
||||||
@@ -261,24 +283,11 @@ True if page loaded successfully, false if not
|
|||||||
REMARKS:
|
REMARKS:
|
||||||
Remove an applet from the manager. Called during applet destruction
|
Remove an applet from the manager. Called during applet destruction
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "scitech"
|
|
||||||
bool wxHtmlAppletWindow::LoadPage(
|
bool wxHtmlAppletWindow::LoadPage(
|
||||||
const wxString& link)
|
const wxString& link)
|
||||||
{
|
{
|
||||||
wxString href(link);
|
wxString href(link);
|
||||||
|
|
||||||
// TODO: technically we allow no relative paths
|
|
||||||
|
|
||||||
// Check to see if it is a real url, if not it is a file
|
|
||||||
if (link.Mid(0, 5).CmpNoCase("http:") != 0) {
|
|
||||||
|
|
||||||
// Check for abs path. If it is not then tack on the path
|
|
||||||
// supplied at creation.
|
|
||||||
// TODO: Abs paths are only used in testing (remove this)
|
|
||||||
if (link.GetChar(1) != ':')
|
|
||||||
href = m_DocRoot + href;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (link.GetChar(0) == '?'){
|
if (link.GetChar(0) == '?'){
|
||||||
wxString cmd = link.BeforeFirst('=');
|
wxString cmd = link.BeforeFirst('=');
|
||||||
wxString cmdValue = link.AfterFirst('=');
|
wxString cmdValue = link.AfterFirst('=');
|
||||||
@@ -327,11 +336,12 @@ bool wxHtmlAppletWindow::LoadPage(
|
|||||||
for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext())
|
for (wxAppletList::Node *node = m_AppletList.GetFirst(); node; node = node->GetNext())
|
||||||
(node->GetData())->OnLinkClicked(wxHtmlLinkInfo(href));
|
(node->GetData())->OnLinkClicked(wxHtmlLinkInfo(href));
|
||||||
Show(false);
|
Show(false);
|
||||||
|
|
||||||
bool stat = wxHtmlWindow::LoadPage(href);
|
bool stat = wxHtmlWindow::LoadPage(href);
|
||||||
Show(true);
|
Show(true);
|
||||||
|
|
||||||
// Enable/Dis the navbar tools
|
// Enable/Dis the navbar tools
|
||||||
if (m_NavBar) {
|
if (m_NavBarEnabled) {
|
||||||
m_NavBar->EnableTool(m_NavForwardId,HistoryCanForward());
|
m_NavBar->EnableTool(m_NavForwardId,HistoryCanForward());
|
||||||
m_NavBar->EnableTool(m_NavBackId,HistoryCanBack());
|
m_NavBar->EnableTool(m_NavBackId,HistoryCanBack());
|
||||||
}
|
}
|
||||||
@@ -386,6 +396,37 @@ bool wxHtmlAppletWindow::HistoryBack()
|
|||||||
return wxHtmlWindow::HistoryBack();
|
return wxHtmlWindow::HistoryBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
REMARKS:
|
||||||
|
This function is used to disable the navigation bars. If you want to
|
||||||
|
toggle to the navbars off you must call this function.
|
||||||
|
****************************************************************************/
|
||||||
|
void wxHtmlAppletWindow::DisableNavBar()
|
||||||
|
{
|
||||||
|
m_NavBarEnabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
REMARKS:
|
||||||
|
This function is used to enable the nav bars. If you toggle the nav bars on
|
||||||
|
you must call this function.
|
||||||
|
****************************************************************************/
|
||||||
|
void wxHtmlAppletWindow::EnableNavBar()
|
||||||
|
{
|
||||||
|
m_NavBarEnabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
REMARKS:
|
||||||
|
This function is used to set the nav bar to a new nav bar if you deleted the
|
||||||
|
one that you were useing. Usally this happens when you toggle a nav bar
|
||||||
|
on or off.
|
||||||
|
****************************************************************************/
|
||||||
|
void wxHtmlAppletWindow::SetNavBar(wxToolBarBase *navBar)
|
||||||
|
{
|
||||||
|
m_NavBar = navBar;
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
PARAMETERS:
|
PARAMETERS:
|
||||||
msg - wxEvent message to be sent to all wxApplets
|
msg - wxEvent message to be sent to all wxApplets
|
||||||
@@ -568,6 +609,18 @@ VirtualData::VirtualData(
|
|||||||
m_href = href;
|
m_href = href;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
PARAMETERS:
|
||||||
|
REMARKS:
|
||||||
|
VirtualData is used to store information on the virtual links.
|
||||||
|
****************************************************************************/
|
||||||
|
VirtualData::VirtualData()
|
||||||
|
{
|
||||||
|
m_name.Empty();
|
||||||
|
m_group.Empty();
|
||||||
|
m_href.Empty();
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
PARAMETERS:
|
PARAMETERS:
|
||||||
REMARKS:
|
REMARKS:
|
||||||
|
@@ -115,9 +115,14 @@ wxString wxEchoPrep::Process(
|
|||||||
|
|
||||||
// grab the value from the class, put it in tag since the data is no longer needed
|
// grab the value from the class, put it in tag since the data is no longer needed
|
||||||
tag = wxEchoVariable::FindValue(cname, parms.c_str());
|
tag = wxEchoVariable::FindValue(cname, parms.c_str());
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
// remove ampersands and <> chars
|
||||||
|
tag.Replace("&", "&");
|
||||||
|
tag.Replace("<", "<");
|
||||||
|
tag.Replace(">", ">");
|
||||||
|
|
||||||
output = (output.Mid(0,i) + tag + output.Mid(i));
|
output = (output.Mid(0,i) + tag + output.Mid(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -49,12 +49,17 @@ do not correctly pass the given return value.
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
int ReverseFind(
|
int ReverseFind(
|
||||||
const wxString &tstr,
|
const wxString &tstr,
|
||||||
const wxString &str)
|
const wxString &str,
|
||||||
|
int start = -1)
|
||||||
{
|
{
|
||||||
wxASSERT( str.GetStringData()->IsValid() );
|
wxASSERT( str.GetStringData()->IsValid() );
|
||||||
|
|
||||||
// TODO could be made much quicker than that
|
// TODO could be made much quicker than that
|
||||||
int p = tstr.Len()-str.Len()-1;
|
int p = tstr.Len()-str.Len()-1;
|
||||||
|
int p2 = start-str.Len();
|
||||||
|
|
||||||
|
// if the user supplied a valid start point, use it
|
||||||
|
if (start != -1 && p > p2) p = p2;
|
||||||
while ( p >= 0 ) {
|
while ( p >= 0 ) {
|
||||||
if ( wxStrncmp(tstr.c_str() + p, str.c_str(), str.Len()) == 0 )
|
if ( wxStrncmp(tstr.c_str() + p, str.c_str(), str.Len()) == 0 )
|
||||||
return p;
|
return p;
|
||||||
@@ -64,6 +69,131 @@ int ReverseFind(
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
PARAMETERS:
|
||||||
|
str - text of #if statement
|
||||||
|
|
||||||
|
RETURNS:
|
||||||
|
true or false depending on how it evaluated
|
||||||
|
|
||||||
|
REMARKS:
|
||||||
|
|
||||||
|
SEE ALSO:
|
||||||
|
wxIfElseVariable
|
||||||
|
****************************************************************************/
|
||||||
|
bool ParseIfStatementValue(wxString &str) {
|
||||||
|
|
||||||
|
// Find out if the tag has parenthesis
|
||||||
|
// recursive to parse the text within the parenthesis,
|
||||||
|
// replacing the text with 1 or 0, (hardcoded true or false)
|
||||||
|
int b;
|
||||||
|
while ((b = str.Find('(')) != -1) {
|
||||||
|
int e;
|
||||||
|
// Find the matching parenthesis
|
||||||
|
int nextbeg, nextend;
|
||||||
|
int parencount = 1, min = b+1;
|
||||||
|
do {
|
||||||
|
|
||||||
|
nextbeg = str.find('(', min);
|
||||||
|
nextend = str.find(')', min);
|
||||||
|
if (nextbeg < nextend && nextbeg != wxString::npos) {
|
||||||
|
parencount++;
|
||||||
|
min = nextbeg+1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
parencount--;
|
||||||
|
min = nextend+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (nextend == wxString::npos) {
|
||||||
|
#ifdef CHECKED
|
||||||
|
wxMessageBox("wxHTML #if\\else error: Unmatched parenthesis in #if expression.","Error",wxICON_ERROR);
|
||||||
|
#endif
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// once parencount reaches 0 again we have found our matchin )
|
||||||
|
} while (parencount > 0);
|
||||||
|
|
||||||
|
e = nextend;
|
||||||
|
|
||||||
|
// Extract the expression from the parenthesis block and recurse
|
||||||
|
// to solve it.
|
||||||
|
wxString tag;
|
||||||
|
tag = str.Mid(b+1, e-b-1);
|
||||||
|
bool val = ParseIfStatementValue(tag);
|
||||||
|
// Add extra spaces just in case of NOT(VAL)
|
||||||
|
if (val) str = str.Mid(0, b) + " 1" + str.Mid(e+1);
|
||||||
|
else str = str.Mid(0, b) + " 0" + str.Mid(e+1);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove spaces from left and right
|
||||||
|
str.Trim(false);
|
||||||
|
str.Trim(true);
|
||||||
|
|
||||||
|
// Convert text method of operators "AND" and "OR" to c style
|
||||||
|
// this makes only one special case necessary for each later on
|
||||||
|
str.Replace(" AND ", "&&");
|
||||||
|
str.Replace(" OR ", "||");
|
||||||
|
|
||||||
|
// We use ReverseFind so that the whole left expression gets evaluated agains
|
||||||
|
// the right single item, creating a left -> right evaluation
|
||||||
|
// Search for || operators, recurse to solve (so we don't have to handle special cases here)
|
||||||
|
int and, or;
|
||||||
|
and = ReverseFind(str, "&&");
|
||||||
|
or = ReverseFind(str, "||");
|
||||||
|
if ( (and != -1) || (or != -1) ) {
|
||||||
|
wxString tag1, tag2;
|
||||||
|
// handle the rightmost first to force left->right evaluation
|
||||||
|
if (and > or) {
|
||||||
|
return (
|
||||||
|
ParseIfStatementValue(tag2 = str.Mid(and+2)) &&
|
||||||
|
ParseIfStatementValue(tag1 = str.Mid(0, and)) );
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return (
|
||||||
|
ParseIfStatementValue(tag2 = str.Mid(or+2)) ||
|
||||||
|
ParseIfStatementValue(tag1 = str.Mid(0, or)) );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// By the time we get to this place in the function we are guarenteed to have a single
|
||||||
|
// variable operation, perhaps with a NOT or ! operator
|
||||||
|
bool notval = false;
|
||||||
|
|
||||||
|
// search for a NOT or ! operator
|
||||||
|
if (str.Mid(0, 1) == "!") {
|
||||||
|
str.Remove(0, 1);
|
||||||
|
str.Trim(false); // trim spaces from left
|
||||||
|
notval = true;
|
||||||
|
}
|
||||||
|
else if (str.Mid(0,4).CmpNoCase("NOT ") == 0) {
|
||||||
|
str.Remove(0, 4);
|
||||||
|
str.Trim(false); // trim any extra spaces from left
|
||||||
|
notval = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// now all we have left is the name of the class or a hardcoded 0 or 1
|
||||||
|
|
||||||
|
if (str == "") {
|
||||||
|
#ifdef CHECKED
|
||||||
|
wxMessageBox("wxHTML #if\\else error: Empty expression in #if\\#elif statement.","Error",wxICON_ERROR);
|
||||||
|
#endif
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check for hardcoded 0 and 1 cases, (these are used by parenthesis catcher)
|
||||||
|
// this just decomplicates the recursion algorithm
|
||||||
|
if (str == "0") return notval;
|
||||||
|
if (str == "1") return !notval;
|
||||||
|
|
||||||
|
// Grab the value from the variable class identified by cname
|
||||||
|
bool value = wxIfElseVariable::FindValue(str);
|
||||||
|
if (notval) value = !value;
|
||||||
|
return value;
|
||||||
|
|
||||||
|
}
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
PARAMETERS:
|
PARAMETERS:
|
||||||
text - HTML to process for if/else blocks
|
text - HTML to process for if/else blocks
|
||||||
@@ -72,7 +202,7 @@ RETURNS:
|
|||||||
The string containing the processed HTML
|
The string containing the processed HTML
|
||||||
|
|
||||||
REMARKS:
|
REMARKS:
|
||||||
This function replaces #if, #else, and #endif directives with the text
|
This function replaces #if, #else, #elif, and #endif directives with the text
|
||||||
contained within the blocks, dependant on the value of the given boolean
|
contained within the blocks, dependant on the value of the given boolean
|
||||||
variable. The variable is created by making a sub class of wxIfElseVariable.
|
variable. The variable is created by making a sub class of wxIfElseVariable.
|
||||||
Dynamic class construction is used at run time internally to create an instance
|
Dynamic class construction is used at run time internally to create an instance
|
||||||
@@ -86,19 +216,81 @@ wxString wxIfElsePrep::Process(
|
|||||||
{
|
{
|
||||||
int b;
|
int b;
|
||||||
char ft[] = "<!--#if ";
|
char ft[] = "<!--#if ";
|
||||||
char ftnot[] = "<!--#if NOT ";
|
char ftend[] = "<!--#endif-->";
|
||||||
|
char ftelse[] = "<!--#else-->";
|
||||||
|
char ftnot[] = "<!--#if not ";
|
||||||
char ftnot2[] = "<!--#if !";
|
char ftnot2[] = "<!--#if !";
|
||||||
|
|
||||||
|
char ftelif[] = "<!--#elif ";
|
||||||
|
|
||||||
// make a copy so we can replace text as we go without affecting the original
|
// make a copy so we can replace text as we go without affecting the original
|
||||||
wxString output = text;
|
wxString output = text;
|
||||||
|
|
||||||
|
// Avoid duplication of our parsing code by turning any #elif blocks into appropriate
|
||||||
|
// else/if blocks
|
||||||
|
while ((b = ReverseFind(output.Lower(), ftelif)) != -1) {
|
||||||
|
int e;
|
||||||
|
// Replace beginning of block
|
||||||
|
e = output.find("-->", b + strlen(ftelif));
|
||||||
|
|
||||||
|
if (e == wxString::npos) {
|
||||||
|
#ifdef CHECKED
|
||||||
|
wxMessageBox("wxHTML #elif error: Premature end of file while parsing #elif.","Error",wxICON_ERROR);
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert to lower case so find is easy, grab everything after #elif tag
|
||||||
|
wxString remains = (output.Mid(e+strlen("-->"))).Lower();
|
||||||
|
|
||||||
|
// find matching else or endif
|
||||||
|
int nextif, nextendif;
|
||||||
|
int ifcount = 1, min = 0;
|
||||||
|
do {
|
||||||
|
nextif = remains.find(ft, min);
|
||||||
|
nextendif = remains.find(ftend, min);
|
||||||
|
if (nextif < nextendif && nextif != wxString::npos) {
|
||||||
|
ifcount++;
|
||||||
|
min = nextif+1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ifcount--;
|
||||||
|
min = nextendif+1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (nextendif == wxString::npos) {
|
||||||
|
#ifdef CHECKED
|
||||||
|
wxMessageBox("wxHTML #elif error: Premature end of file before finding #endif.","Error",wxICON_ERROR);
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// once ifcount reaches 0 again we have found our matchin #endif
|
||||||
|
} while (ifcount > 0);
|
||||||
|
|
||||||
|
// If it couldn't be found die gracefully
|
||||||
|
if (nextendif == wxString::npos) {
|
||||||
|
// We already displayed a message, just break all the way out
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
int elifsize = e - (b + strlen(ftelif)) + strlen("-->");
|
||||||
|
// Create the #if/else block, removing the #elif code
|
||||||
|
output = output.Mid(0, b) +
|
||||||
|
wxString(wxString(ftelse)+wxString(ft)) +
|
||||||
|
output.Mid(b+strlen(ftelif), elifsize+nextendif) +
|
||||||
|
wxString(ftend) +
|
||||||
|
output.Mid(b+strlen(ftelif)+elifsize+nextendif);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Parse out the if else blocks themselves
|
||||||
while ((b = ReverseFind(output.Lower(), ft)) != -1) {
|
while ((b = ReverseFind(output.Lower(), ft)) != -1) {
|
||||||
// Loop until every #if directive is found
|
// Loop until every #if directive is found
|
||||||
// We search from the end of the string so that #if statements will properly recurse
|
// We search from the end of the string so that #if statements will properly recurse
|
||||||
// and we avoid the hassle of matching statements with the correct <!--#endif-->
|
// and we avoid the hassle of matching statements with the correct <!--#endif-->
|
||||||
bool notval = false;
|
bool notval = false;
|
||||||
int off = 0;
|
int off = 0;
|
||||||
int end, c, n;
|
int end;
|
||||||
wxString usecode, code;
|
wxString usecode, code;
|
||||||
wxString cname;
|
wxString cname;
|
||||||
wxString tag;
|
wxString tag;
|
||||||
@@ -106,15 +298,6 @@ wxString wxIfElsePrep::Process(
|
|||||||
|
|
||||||
code = wxString("");
|
code = wxString("");
|
||||||
|
|
||||||
if (output.Mid(b, strlen(ftnot) ).CmpNoCase(ftnot) == 0 ) {
|
|
||||||
notval = true;
|
|
||||||
off = 4;
|
|
||||||
}
|
|
||||||
else if (output.Mid(b, strlen(ftnot2) ).CmpNoCase(ftnot2) == 0 ) {
|
|
||||||
notval = true;
|
|
||||||
off = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// grab the tag and get the name of the variable
|
// grab the tag and get the name of the variable
|
||||||
end = (output.Mid(b)).Find("-->");
|
end = (output.Mid(b)).Find("-->");
|
||||||
if (end == -1) {
|
if (end == -1) {
|
||||||
@@ -125,30 +308,14 @@ wxString wxIfElsePrep::Process(
|
|||||||
}
|
}
|
||||||
|
|
||||||
end += 3;
|
end += 3;
|
||||||
tag = output.Mid(b, end);
|
// remove the <!--#if and --> sections from the tag before passing it on to be parsed
|
||||||
|
tag = output.Mid(b+strlen(ft), end-strlen(ft)-3);
|
||||||
output.Remove(b, end);
|
output.Remove(b, end);
|
||||||
|
|
||||||
c = tag.Find("-->");
|
value = ParseIfStatementValue(tag);
|
||||||
n = c;
|
|
||||||
|
|
||||||
// find the classname
|
|
||||||
c = (tag.Mid(8+off, n-(8+off))).Find(" ");
|
|
||||||
if (c == -1) n -= (8+off);
|
|
||||||
else n = c;
|
|
||||||
cname = tag.Mid(8+off, n);
|
|
||||||
|
|
||||||
cname.Trim(false);
|
|
||||||
c = cname.Find("\"");
|
|
||||||
if (c != -1) cname = cname.Mid(c+1);
|
|
||||||
c = cname.Find("\"");
|
|
||||||
if (c != -1) cname = cname.Mid(0, c);
|
|
||||||
|
|
||||||
// Grab the value from the variable class identified by cname
|
|
||||||
value = wxIfElseVariable::FindValue(cname);
|
|
||||||
if (notval) value = !value;
|
|
||||||
|
|
||||||
// Find the end of the tag (<!--#endif-->) and copy it all into the variable code
|
// Find the end of the tag (<!--#endif-->) and copy it all into the variable code
|
||||||
end = ((output.Mid(b)).Lower()).Find("<!--#endif-->");
|
end = ((output.Mid(b)).Lower()).Find(ftend);
|
||||||
if (end == -1) {
|
if (end == -1) {
|
||||||
#ifdef CHECKED
|
#ifdef CHECKED
|
||||||
wxMessageBox("wxHTML #if error: Premature end of file while searching for matching #endif.","Error",wxICON_ERROR);
|
wxMessageBox("wxHTML #if error: Premature end of file while searching for matching #endif.","Error",wxICON_ERROR);
|
||||||
@@ -157,14 +324,14 @@ wxString wxIfElsePrep::Process(
|
|||||||
}
|
}
|
||||||
|
|
||||||
code = output.Mid(b, end);
|
code = output.Mid(b, end);
|
||||||
output.Remove(b, end+13); // remove the entire #if block from original document
|
output.Remove(b, end+strlen(ftend)); // remove the entire #if block from original document
|
||||||
|
|
||||||
// Find out if there is an else statement
|
// Find out if there is an else statement
|
||||||
end = (code.Lower()).Find("<!--#else-->");
|
end = (code.Lower()).Find(ftelse);
|
||||||
if (end != -1) {
|
if (end != -1) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
// Use the else statement
|
// Use the else statement
|
||||||
usecode = code.Mid(end+12);
|
usecode = code.Mid(end+strlen(ftelse));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Use statement before #else
|
// Use statement before #else
|
||||||
|
@@ -59,8 +59,6 @@ wxString wxIncludePrep::Process(
|
|||||||
int i;
|
int i;
|
||||||
char ft[] = "<!--#include virtual=";
|
char ft[] = "<!--#include virtual=";
|
||||||
|
|
||||||
wxFileSystem *fs = new wxFileSystem;
|
|
||||||
fs->ChangePathTo(DOC_ROOT, true);
|
|
||||||
|
|
||||||
int openedcount = 0;
|
int openedcount = 0;
|
||||||
|
|
||||||
@@ -92,11 +90,12 @@ wxString wxIncludePrep::Process(
|
|||||||
// remove the #include tag
|
// remove the #include tag
|
||||||
output.Remove(i, n+21+3);
|
output.Remove(i, n+21+3);
|
||||||
|
|
||||||
wxFSFile * file = fs->OpenFile(DOC_ROOT + fname);
|
wxFSFile * file;
|
||||||
|
file = m_FS->OpenFile(fname);
|
||||||
|
|
||||||
if (!file) {
|
if (!file) {
|
||||||
#ifdef CHECKED
|
#ifdef CHECKED
|
||||||
wxMessageBox(wxString("wxHTML #include error: File not Found ") + DOC_ROOT + fname + wxString("."),"Error",wxICON_ERROR);
|
wxMessageBox(wxString("wxHTML #include error: File not Found ") + fname + wxString("."),"Error",wxICON_ERROR);
|
||||||
#endif
|
#endif
|
||||||
delete file;
|
delete file;
|
||||||
continue;
|
continue;
|
||||||
@@ -125,7 +124,6 @@ wxString wxIncludePrep::Process(
|
|||||||
delete file;
|
delete file;
|
||||||
}
|
}
|
||||||
|
|
||||||
delete fs;
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -138,9 +136,8 @@ This function sets the directory to get included HTML files from. The default
|
|||||||
value is the current directory. Directorys may be given as a relative path.
|
value is the current directory. Directorys may be given as a relative path.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
void wxIncludePrep::ChangeDirectory(
|
void wxIncludePrep::ChangeDirectory(
|
||||||
const wxString &dir)
|
wxFileSystem *fs)
|
||||||
{
|
{
|
||||||
|
m_FS = fs;
|
||||||
DOC_ROOT = dir;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
@@ -65,7 +65,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
|
@@ -1,27 +1,57 @@
|
|||||||
#
|
# $Id$
|
||||||
# File: Makefile
|
|
||||||
# Author: Hans Van Leemputten
|
|
||||||
# Created: 2001
|
|
||||||
# Updated:
|
|
||||||
# Copyright: (c) wxWorkshop team, 2001
|
|
||||||
#
|
|
||||||
# Makefile for wxWindows FrameLayout library (Linux/wxGTK).
|
|
||||||
|
|
||||||
top_srcdir = @top_srcdir@/..
|
top_srcdir = @top_srcdir@/..
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
libsrc_dir = contrib/src/fl
|
libsrc_dir = contrib/src/fl
|
||||||
|
|
||||||
TARGET_LIBNAME = libfl
|
TARGET_LIBNAME = libfl
|
||||||
OBJ_EXT = o
|
|
||||||
|
|
||||||
# Version Info.
|
|
||||||
LIBVERSION_CURRENT=1
|
LIBVERSION_CURRENT=1
|
||||||
LIBVERSION_REVISION=0
|
LIBVERSION_REVISION=0
|
||||||
LIBVERSION_AGE=0
|
LIBVERSION_AGE=0
|
||||||
|
|
||||||
include $(top_srcdir)/$(libsrc_dir)/files.lst
|
HEADER_PATH=$(top_srcdir)/contrib/include/wx
|
||||||
|
HEADER_SUBDIR=fl
|
||||||
|
|
||||||
|
HEADERS = \
|
||||||
|
bardragpl.h \
|
||||||
|
cbcustom.h \
|
||||||
|
dynbarhnd.h \
|
||||||
|
dyntbarhnd.h \
|
||||||
|
garbagec.h \
|
||||||
|
hintanimpl.h \
|
||||||
|
panedrawpl.h \
|
||||||
|
rowlayoutpl.h \
|
||||||
|
updatesmgr.h \
|
||||||
|
antiflickpl.h \
|
||||||
|
barhintspl.h \
|
||||||
|
controlbar.h \
|
||||||
|
dyntbar.h \
|
||||||
|
frmview.h \
|
||||||
|
gcupdatesmgr.h \
|
||||||
|
newbmpbtn.h \
|
||||||
|
rowdragpl.h \
|
||||||
|
toolwnd.h
|
||||||
|
|
||||||
|
OBJECTS = \
|
||||||
|
antiflickpl.o \
|
||||||
|
gcupdatesmgr.o \
|
||||||
|
rowlayoutpl.o \
|
||||||
|
bardragpl.o \
|
||||||
|
dyntbar.o \
|
||||||
|
hintanimpl.o \
|
||||||
|
toolwnd.o \
|
||||||
|
barhintspl.o \
|
||||||
|
dyntbarhnd.o \
|
||||||
|
newbmpbtn.o \
|
||||||
|
updatesmgr.o \
|
||||||
|
cbcustom.o \
|
||||||
|
frmview.o \
|
||||||
|
panedrawpl.o \
|
||||||
|
controlbar.o \
|
||||||
|
garbagec.o \
|
||||||
|
rowdragpl.o
|
||||||
|
|
||||||
OBJECTS = $(FL_OBJECTS)
|
|
||||||
DEPFILES= $(OBJECTS:.o=.d)
|
DEPFILES= $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
APPEXTRADEFS = -I$(top_srcdir)/contrib/include
|
APPEXTRADEFS = -I$(top_srcdir)/contrib/include
|
||||||
@@ -29,3 +59,4 @@ APPEXTRADEFS = -I$(top_srcdir)/contrib/include
|
|||||||
include $(top_builddir)/src/makelib.env
|
include $(top_builddir)/src/makelib.env
|
||||||
|
|
||||||
-include $(DEPFILES)
|
-include $(DEPFILES)
|
||||||
|
|
||||||
|
@@ -371,7 +371,7 @@ void cbBarDragPlugin::UnstickFromPane( cbDockPane* pPane, wxPoint& mousePos )
|
|||||||
|
|
||||||
if ( pPane->IsHorizontal() && fromLowerEdge )
|
if ( pPane->IsHorizontal() && fromLowerEdge )
|
||||||
{
|
{
|
||||||
bool fromLowerEdge = mousePos.y > bounds.y;
|
// bool fromLowerEdge = mousePos.y > bounds.y;
|
||||||
|
|
||||||
mHintRect.y = wxMax( bounds.y + bounds.height + 1, mousePos.y - newHeight );
|
mHintRect.y = wxMax( bounds.y + bounds.height + 1, mousePos.y - newHeight );
|
||||||
|
|
||||||
|
@@ -140,7 +140,7 @@ void cbBarHintsPlugin::DrawGrooves( wxDC& dc, const wxPoint& pos, int length )
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
for ( i = 0; i != mGrooveCount; ++i, ofs += ( GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP ) )
|
for ( i = 0; i != mGrooveCount; ++i, ofs += ( GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP ) )
|
||||||
|
{
|
||||||
if ( mpPane->IsHorizontal() )
|
if ( mpPane->IsHorizontal() )
|
||||||
{
|
{
|
||||||
dc.SetPen( mpLayout->mLightPen );
|
dc.SetPen( mpLayout->mLightPen );
|
||||||
@@ -164,6 +164,7 @@ void cbBarHintsPlugin::DrawGrooves( wxDC& dc, const wxPoint& pos, int length )
|
|||||||
dc.DrawPoint( pos.x + length - 1, pos.y + ofs );
|
dc.DrawPoint( pos.x + length - 1, pos.y + ofs );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void cbBarHintsPlugin::ExcludeHints( wxRect& rect, cbBarInfo& info )
|
void cbBarHintsPlugin::ExcludeHints( wxRect& rect, cbBarInfo& info )
|
||||||
{
|
{
|
||||||
@@ -239,20 +240,21 @@ void cbBarHintsPlugin::GetHintsLayout( wxRect& rect, cbBarInfo& info,
|
|||||||
int& boxOfs, int& grooveOfs, int& pos )
|
int& boxOfs, int& grooveOfs, int& pos )
|
||||||
{
|
{
|
||||||
int boxHeight = BTN_BOX_HEIGHT;
|
int boxHeight = BTN_BOX_HEIGHT;
|
||||||
int boxWidth = BTN_BOX_WIDTH + BOX_TO_GROOVE_GAP + BTN_BOX_WIDTH;
|
// int boxWidth = BTN_BOX_WIDTH + BOX_TO_GROOVE_GAP + BTN_BOX_WIDTH;
|
||||||
|
|
||||||
// collapse and close box are not placed on fixed bars
|
// collapse and close box are not placed on fixed bars
|
||||||
|
|
||||||
if ( info.IsFixed() || ( !mCloseBoxOn && !mCollapseBoxOn ) )
|
if ( info.IsFixed() || ( !mCloseBoxOn && !mCollapseBoxOn ) )
|
||||||
{
|
{
|
||||||
boxHeight = 0;
|
boxHeight = 0;
|
||||||
boxWidth = 0;
|
// boxWidth = 0;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
else
|
else
|
||||||
if ( !mCloseBoxOn || !mCollapseBoxOn )
|
if ( !mCloseBoxOn || !mCollapseBoxOn )
|
||||||
|
|
||||||
boxWidth = BTN_BOX_WIDTH;
|
boxWidth = BTN_BOX_WIDTH;
|
||||||
|
*/
|
||||||
int grooveHeight = mGrooveCount*(GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP)
|
int grooveHeight = mGrooveCount*(GROOVE_WIDTH + GROOVE_TO_GROOVE_GAP)
|
||||||
- GROOVE_TO_GROOVE_GAP;
|
- GROOVE_TO_GROOVE_GAP;
|
||||||
|
|
||||||
@@ -299,9 +301,9 @@ void cbBarHintsPlugin::GetHintsLayout( wxRect& rect, cbBarInfo& info,
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
for ( i = 0; i != BOXES_IN_HINT; ++i )
|
for ( i = 0; i != BOXES_IN_HINT; ++i )
|
||||||
|
{
|
||||||
mBoxes[i]->mpPane = mpPane;
|
mBoxes[i]->mpPane = mpPane;
|
||||||
|
}
|
||||||
|
|
||||||
if ( mpPane->IsHorizontal() )
|
if ( mpPane->IsHorizontal() )
|
||||||
{
|
{
|
||||||
@@ -445,8 +447,8 @@ void cbBarHintsPlugin::OnDrawBarDecorations( cbDrawBarDecorEvent& event )
|
|||||||
void cbBarHintsPlugin::OnLeftDown( cbLeftDownEvent& event )
|
void cbBarHintsPlugin::OnLeftDown( cbLeftDownEvent& event )
|
||||||
{
|
{
|
||||||
mpPane = event.mpPane;
|
mpPane = event.mpPane;
|
||||||
|
|
||||||
wxPoint inFrame = event.mPos;
|
wxPoint inFrame = event.mPos;
|
||||||
|
|
||||||
mpPane->PaneToFrame( &inFrame.x, &inFrame.y );
|
mpPane->PaneToFrame( &inFrame.x, &inFrame.y );
|
||||||
|
|
||||||
wxBarIterator iter( mpPane->GetRowList() );
|
wxBarIterator iter( mpPane->GetRowList() );
|
||||||
@@ -503,12 +505,12 @@ void cbBarHintsPlugin::OnLeftUp( cbLeftUpEvent& event )
|
|||||||
if ( mBoxes[i]->WasClicked() )
|
if ( mBoxes[i]->WasClicked() )
|
||||||
{
|
{
|
||||||
if ( i == 0 )
|
if ( i == 0 )
|
||||||
|
{
|
||||||
mpLayout->SetBarState( mpClickedBar, wxCBAR_HIDDEN, TRUE );
|
mpLayout->SetBarState( mpClickedBar, wxCBAR_HIDDEN, TRUE );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( mpClickedBar->IsExpanded() )
|
if ( mpClickedBar->IsExpanded() )
|
||||||
|
|
||||||
mpPane->ContractBar( mpClickedBar );
|
mpPane->ContractBar( mpClickedBar );
|
||||||
else
|
else
|
||||||
mpPane->ExpandBar( mpClickedBar );
|
mpPane->ExpandBar( mpClickedBar );
|
||||||
@@ -534,9 +536,10 @@ void cbBarHintsPlugin::OnMotion( cbMotionEvent& event )
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
for ( i = 0; i != BOXES_IN_HINT; ++i )
|
for ( i = 0; i != BOXES_IN_HINT; ++i )
|
||||||
|
{
|
||||||
mBoxes[i]->OnMotion( inFrame );
|
mBoxes[i]->OnMotion( inFrame );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
@@ -293,8 +293,8 @@ wxFrameLayout::wxFrameLayout(void)
|
|||||||
{
|
{
|
||||||
CreateCursors();
|
CreateCursors();
|
||||||
|
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
mPanes[i] = NULL;
|
mPanes[i] = NULL;
|
||||||
|
|
||||||
mFloatingOn = CanReparent();
|
mFloatingOn = CanReparent();
|
||||||
@@ -329,8 +329,8 @@ wxFrameLayout::wxFrameLayout( wxWindow* pParentFrame, wxWindow* pFrameClient, bo
|
|||||||
{
|
{
|
||||||
CreateCursors();
|
CreateCursors();
|
||||||
|
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
mPanes[i] = new cbDockPane( i, this );
|
mPanes[i] = new cbDockPane( i, this );
|
||||||
|
|
||||||
if ( activateNow )
|
if ( activateNow )
|
||||||
@@ -421,7 +421,8 @@ void wxFrameLayout::DestroyBarWindows()
|
|||||||
|
|
||||||
mBarSpyList.Clear();
|
mBarSpyList.Clear();
|
||||||
|
|
||||||
for( size_t i = 0; i != mAllBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
if ( mAllBars[i]->mpBarWnd )
|
if ( mAllBars[i]->mpBarWnd )
|
||||||
{
|
{
|
||||||
@@ -476,7 +477,6 @@ wxFrameLayout::~wxFrameLayout()
|
|||||||
// destroy contents of arrays and lists
|
// destroy contents of arrays and lists
|
||||||
|
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
|
|
||||||
for ( i = 0; i != MAX_PANES; ++i )
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
{
|
{
|
||||||
if ( mPanes[i] )
|
if ( mPanes[i] )
|
||||||
@@ -509,7 +509,6 @@ wxFrameLayout::~wxFrameLayout()
|
|||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i != mAllBars.Count(); ++i )
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
|
|
||||||
delete mAllBars[i];
|
delete mAllBars[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -652,10 +651,9 @@ bool wxFrameLayout::RedockBar( cbBarInfo* pBar,
|
|||||||
|
|
||||||
cbBarInfo* wxFrameLayout::FindBarByName( const wxString& name )
|
cbBarInfo* wxFrameLayout::FindBarByName( const wxString& name )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mAllBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
if ( mAllBars[i]->mName == name )
|
if ( mAllBars[i]->mName == name )
|
||||||
|
|
||||||
return mAllBars[i];
|
return mAllBars[i];
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -663,10 +661,9 @@ cbBarInfo* wxFrameLayout::FindBarByName( const wxString& name )
|
|||||||
|
|
||||||
cbBarInfo* wxFrameLayout::FindBarByWindow( const wxWindow* pWnd )
|
cbBarInfo* wxFrameLayout::FindBarByWindow( const wxWindow* pWnd )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mAllBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
if ( mAllBars[i]->mpBarWnd == pWnd )
|
if ( mAllBars[i]->mpBarWnd == pWnd )
|
||||||
|
|
||||||
return mAllBars[i];
|
return mAllBars[i];
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -955,7 +952,8 @@ void wxFrameLayout::RemoveBar( cbBarInfo* pBarInfo )
|
|||||||
pPane->RemoveBar( pBarInfo );
|
pPane->RemoveBar( pBarInfo );
|
||||||
}
|
}
|
||||||
|
|
||||||
for( size_t i = 0; i != mAllBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
if ( mAllBars[i] == pBarInfo )
|
if ( mAllBars[i] == pBarInfo )
|
||||||
{
|
{
|
||||||
@@ -973,9 +971,7 @@ void wxFrameLayout::RemoveBar( cbBarInfo* pBarInfo )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL_MSG("bar info should be present in the list of all bars of all panes");
|
||||||
wxASSERT(avoidCompilerWarning); // DBG:: bar info should be present in the list of all bars of all panes
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxFrameLayout::LocateBar( cbBarInfo* pBarInfo,
|
bool wxFrameLayout::LocateBar( cbBarInfo* pBarInfo,
|
||||||
@@ -985,7 +981,8 @@ bool wxFrameLayout::LocateBar( cbBarInfo* pBarInfo,
|
|||||||
(*ppRow) = NULL;
|
(*ppRow) = NULL;
|
||||||
(*ppPane) = NULL;
|
(*ppPane) = NULL;
|
||||||
|
|
||||||
for( int n = 0; n != MAX_PANES; ++n )
|
int n;
|
||||||
|
for ( n = 0; n != MAX_PANES; ++n )
|
||||||
{
|
{
|
||||||
wxBarIterator i( mPanes[n]->GetRowList() );
|
wxBarIterator i( mPanes[n]->GetRowList() );
|
||||||
|
|
||||||
@@ -1146,8 +1143,8 @@ void wxFrameLayout::PositionPanes()
|
|||||||
// FOR NOW:: excessive updates!
|
// FOR NOW:: excessive updates!
|
||||||
// reposition bars within all panes
|
// reposition bars within all panes
|
||||||
|
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
mPanes[i]->SizePaneObjects();
|
mPanes[i]->SizePaneObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1162,10 +1159,9 @@ void wxFrameLayout::OnSize( wxSizeEvent& event )
|
|||||||
|
|
||||||
void wxFrameLayout::HideBarWindows()
|
void wxFrameLayout::HideBarWindows()
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mAllBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mAllBars.Count(); ++i )
|
||||||
if ( mAllBars[i]->mpBarWnd && mAllBars[i]->mState != wxCBAR_FLOATING )
|
if ( mAllBars[i]->mpBarWnd && mAllBars[i]->mState != wxCBAR_FLOATING )
|
||||||
|
|
||||||
mAllBars[i]->mpBarWnd->Show( FALSE );
|
mAllBars[i]->mpBarWnd->Show( FALSE );
|
||||||
|
|
||||||
// then floated frames
|
// then floated frames
|
||||||
@@ -1194,34 +1190,35 @@ void wxFrameLayout::UnhookFromFrame()
|
|||||||
// FOR NOW::
|
// FOR NOW::
|
||||||
|
|
||||||
if ( mpFrame->GetEventHandler() == this )
|
if ( mpFrame->GetEventHandler() == this )
|
||||||
|
{
|
||||||
mpFrame->PopEventHandler();
|
mpFrame->PopEventHandler();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// TBD ???: Cannot reach this code
|
|
||||||
if ( mpFrame )
|
if ( mpFrame )
|
||||||
{
|
{
|
||||||
if ( this == mpFrame->GetEventHandler() )
|
if ( this == mpFrame->GetEventHandler() )
|
||||||
|
{
|
||||||
mpFrame->SetEventHandler( this->GetNextHandler() );
|
mpFrame->SetEventHandler( this->GetNextHandler() );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxEvtHandler* pCur = mpFrame->GetEventHandler();
|
wxEvtHandler* pCur = mpFrame->GetEventHandler();
|
||||||
|
|
||||||
while ( pCur )
|
while ( pCur )
|
||||||
{
|
{
|
||||||
if ( pCur == this ) break;
|
if ( pCur == this )
|
||||||
|
break;
|
||||||
|
|
||||||
pCur = pCur->GetNextHandler();
|
pCur = pCur->GetNextHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
// do not try to unhook ourselves if we're not hooked yet
|
// do not try to unhook ourselves if we're not hooked yet
|
||||||
if ( !pCur ) return;
|
if ( !pCur )
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( GetPreviousHandler() )
|
if ( GetPreviousHandler() )
|
||||||
|
|
||||||
GetPreviousHandler()->SetNextHandler( GetNextHandler() );
|
GetPreviousHandler()->SetNextHandler( GetNextHandler() );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1229,9 +1226,7 @@ void wxFrameLayout::UnhookFromFrame()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( GetNextHandler() )
|
if ( GetNextHandler() )
|
||||||
|
|
||||||
GetNextHandler()->SetPreviousHandler( GetPreviousHandler() );
|
GetNextHandler()->SetPreviousHandler( GetPreviousHandler() );
|
||||||
|
|
||||||
SetNextHandler( NULL );
|
SetNextHandler( NULL );
|
||||||
@@ -1252,9 +1247,10 @@ void wxFrameLayout::HookUpToFrame()
|
|||||||
|
|
||||||
cbDockPane* wxFrameLayout::GetBarPane( cbBarInfo* pBar )
|
cbDockPane* wxFrameLayout::GetBarPane( cbBarInfo* pBar )
|
||||||
{
|
{
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
if ( mPanes[i]->BarPresent( pBar ) ) return mPanes[i];
|
if ( mPanes[i]->BarPresent( pBar ) )
|
||||||
|
return mPanes[i];
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -1303,13 +1299,15 @@ cbDockPane* wxFrameLayout::HitTestPanes( const wxRect& rect,
|
|||||||
|
|
||||||
return pCurPane;
|
return pCurPane;
|
||||||
|
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
|
{
|
||||||
if ( pCurPane != mPanes[i] &&
|
if ( pCurPane != mPanes[i] &&
|
||||||
rect_hits_rect( mPanes[i]->GetRealRect(), rect ) )
|
rect_hits_rect( mPanes[i]->GetRealRect(), rect ) )
|
||||||
|
{
|
||||||
return mPanes[i];
|
return mPanes[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1320,7 +1318,6 @@ void wxFrameLayout::ForwardMouseEvent( wxMouseEvent& event,
|
|||||||
wxPoint pos( event.m_x, event.m_y );
|
wxPoint pos( event.m_x, event.m_y );
|
||||||
pToPane->FrameToPane( &pos.x, &pos.y );
|
pToPane->FrameToPane( &pos.x, &pos.y );
|
||||||
|
|
||||||
#if wxCHECK_VERSION(2,3,0)
|
|
||||||
if ( eventType == cbEVT_PL_LEFT_DOWN )
|
if ( eventType == cbEVT_PL_LEFT_DOWN )
|
||||||
{
|
{
|
||||||
cbLeftDownEvent evt( pos, pToPane );
|
cbLeftDownEvent evt( pos, pToPane );
|
||||||
@@ -1356,36 +1353,6 @@ void wxFrameLayout::ForwardMouseEvent( wxMouseEvent& event,
|
|||||||
int avoidCompilerWarning = 0;
|
int avoidCompilerWarning = 0;
|
||||||
wxASSERT(avoidCompilerWarning); // DBG::
|
wxASSERT(avoidCompilerWarning); // DBG::
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
switch ( eventType )
|
|
||||||
{
|
|
||||||
case cbEVT_PL_LEFT_DOWN : { cbLeftDownEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case cbEVT_PL_LEFT_DCLICK:{ cbLeftDClickEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case cbEVT_PL_LEFT_UP : { cbLeftUpEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case cbEVT_PL_RIGHT_DOWN: { cbRightDownEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case cbEVT_PL_RIGHT_UP : { cbRightUpEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case cbEVT_PL_MOTION : { cbMotionEvent evt( pos, pToPane );
|
|
||||||
FirePluginEvent( evt ); break;
|
|
||||||
}
|
|
||||||
|
|
||||||
default : wxASSERT(0); // DBG::
|
|
||||||
}
|
|
||||||
#endif // #if wxCHECK_VERSION(2,3,0)
|
|
||||||
} // wxFrameLayout::ForwardMouseEvent()
|
} // wxFrameLayout::ForwardMouseEvent()
|
||||||
|
|
||||||
|
|
||||||
@@ -1395,15 +1362,18 @@ void wxFrameLayout::RouteMouseEvent( wxMouseEvent& event, int pluginEvtType )
|
|||||||
|
|
||||||
ForwardMouseEvent( event, mpPaneInFocus, pluginEvtType );
|
ForwardMouseEvent( event, mpPaneInFocus, pluginEvtType );
|
||||||
else
|
else
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
{
|
||||||
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
|
{
|
||||||
if ( HitTestPane( mPanes[i], event.m_x, event.m_y ) )
|
if ( HitTestPane( mPanes[i], event.m_x, event.m_y ) )
|
||||||
{
|
{
|
||||||
ForwardMouseEvent( event, mPanes[i], pluginEvtType );
|
ForwardMouseEvent( event, mPanes[i], pluginEvtType );
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*** event handlers ***/
|
/*** event handlers ***/
|
||||||
|
|
||||||
@@ -1438,8 +1408,10 @@ void wxFrameLayout::OnMouseMove( wxMouseEvent& event )
|
|||||||
|
|
||||||
ForwardMouseEvent( event, mpPaneInFocus, cbEVT_PL_MOTION );
|
ForwardMouseEvent( event, mpPaneInFocus, cbEVT_PL_MOTION );
|
||||||
else
|
else
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
{
|
||||||
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
|
{
|
||||||
if ( HitTestPane( mPanes[i], event.m_x, event.m_y ) )
|
if ( HitTestPane( mPanes[i], event.m_x, event.m_y ) )
|
||||||
{
|
{
|
||||||
if ( mpLRUPane && mpLRUPane != mPanes[i] )
|
if ( mpLRUPane && mpLRUPane != mPanes[i] )
|
||||||
@@ -1454,6 +1426,8 @@ void wxFrameLayout::OnMouseMove( wxMouseEvent& event )
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( mpLRUPane )
|
if ( mpLRUPane )
|
||||||
{
|
{
|
||||||
@@ -1466,12 +1440,12 @@ void wxFrameLayout::OnMouseMove( wxMouseEvent& event )
|
|||||||
void wxFrameLayout::OnPaint( wxPaintEvent& event )
|
void wxFrameLayout::OnPaint( wxPaintEvent& event )
|
||||||
{
|
{
|
||||||
if ( mRecalcPending )
|
if ( mRecalcPending )
|
||||||
|
|
||||||
RecalcLayout( TRUE );
|
RecalcLayout( TRUE );
|
||||||
|
|
||||||
wxPaintDC dc(mpFrame);
|
wxPaintDC dc(mpFrame);
|
||||||
|
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
{
|
{
|
||||||
wxRect& rect = mPanes[i]->mBoundsInParent;
|
wxRect& rect = mPanes[i]->mBoundsInParent;
|
||||||
|
|
||||||
@@ -1546,17 +1520,19 @@ void wxFrameLayout::GetPaneProperties( cbCommonPaneProperties& props, int alignm
|
|||||||
|
|
||||||
void wxFrameLayout::SetPaneProperties( const cbCommonPaneProperties& props, int paneMask )
|
void wxFrameLayout::SetPaneProperties( const cbCommonPaneProperties& props, int paneMask )
|
||||||
{
|
{
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
|
{
|
||||||
if ( mPanes[i]->MatchesMask( paneMask ) )
|
if ( mPanes[i]->MatchesMask( paneMask ) )
|
||||||
|
|
||||||
mPanes[i]->mProps = props;
|
mPanes[i]->mProps = props;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void wxFrameLayout::SetMargins( int top, int bottom, int left, int right,
|
void wxFrameLayout::SetMargins( int top, int bottom, int left, int right,
|
||||||
int paneMask )
|
int paneMask )
|
||||||
{
|
{
|
||||||
for( int i = 0; i != MAX_PANES; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != MAX_PANES; ++i )
|
||||||
{
|
{
|
||||||
cbDockPane& pane = *mPanes[i];
|
cbDockPane& pane = *mPanes[i];
|
||||||
|
|
||||||
@@ -1736,7 +1712,7 @@ void wxFrameLayout::AddPlugin( wxClassInfo* pPlInfo, int paneMask )
|
|||||||
void wxFrameLayout::AddPluginBefore( wxClassInfo* pNextPlInfo, wxClassInfo* pPlInfo,
|
void wxFrameLayout::AddPluginBefore( wxClassInfo* pNextPlInfo, wxClassInfo* pPlInfo,
|
||||||
int paneMask )
|
int paneMask )
|
||||||
{
|
{
|
||||||
wxASSERT( pNextPlInfo != pPlInfo ); // DBG:: no sence
|
wxASSERT( pNextPlInfo != pPlInfo ); // DBG:: no sense
|
||||||
|
|
||||||
cbPluginBase* pNextPl = FindPlugin( pNextPlInfo );
|
cbPluginBase* pNextPl = FindPlugin( pNextPlInfo );
|
||||||
|
|
||||||
@@ -1930,7 +1906,8 @@ cbDimInfo::cbDimInfo()
|
|||||||
mIsFixed(TRUE),
|
mIsFixed(TRUE),
|
||||||
mpHandler( NULL )
|
mpHandler( NULL )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != MAX_BAR_STATES; ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != MAX_BAR_STATES; ++i )
|
||||||
{
|
{
|
||||||
mSizes[i].x = 20;
|
mSizes[i].x = 20;
|
||||||
mSizes[i].y = 20;
|
mSizes[i].y = 20;
|
||||||
@@ -1954,7 +1931,8 @@ cbDimInfo::cbDimInfo( cbBarDimHandlerBase* pDimHandler,
|
|||||||
mpHandler->AddRef();
|
mpHandler->AddRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
for( size_t i = 0; i != MAX_BAR_STATES; ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != MAX_BAR_STATES; ++i )
|
||||||
{
|
{
|
||||||
mSizes[i].x = -1;
|
mSizes[i].x = -1;
|
||||||
mSizes[i].y = -1;
|
mSizes[i].y = -1;
|
||||||
@@ -1991,7 +1969,8 @@ cbDimInfo::cbDimInfo( int dh_x, int dh_y,
|
|||||||
mSizes[wxCBAR_FLOATING ].x = f_x;
|
mSizes[wxCBAR_FLOATING ].x = f_x;
|
||||||
mSizes[wxCBAR_FLOATING ].y = f_y;
|
mSizes[wxCBAR_FLOATING ].y = f_y;
|
||||||
|
|
||||||
for( size_t i = 0; i != MAX_BAR_STATES; ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != MAX_BAR_STATES; ++i )
|
||||||
mBounds[i] = wxRect( -1,-1,-1,-1 );
|
mBounds[i] = wxRect( -1,-1,-1,-1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2016,7 +1995,8 @@ cbDimInfo::cbDimInfo( int x, int y,
|
|||||||
mSizes[wxCBAR_FLOATING ].x = x;
|
mSizes[wxCBAR_FLOATING ].x = x;
|
||||||
mSizes[wxCBAR_FLOATING ].y = y;
|
mSizes[wxCBAR_FLOATING ].y = y;
|
||||||
|
|
||||||
for( size_t i = 0; i != MAX_BAR_STATES; ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != MAX_BAR_STATES; ++i )
|
||||||
mBounds[i] = wxRect( -1,-1,-1,-1 );
|
mBounds[i] = wxRect( -1,-1,-1,-1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2029,10 +2009,11 @@ cbDimInfo::~cbDimInfo()
|
|||||||
|
|
||||||
const cbDimInfo& cbDimInfo::operator=( const cbDimInfo& other )
|
const cbDimInfo& cbDimInfo::operator=( const cbDimInfo& other )
|
||||||
{
|
{
|
||||||
if ( this == &other ) return *this;
|
if ( this == &other )
|
||||||
|
return *this;
|
||||||
for( int i = 0; i != MAX_BAR_STATES; ++i )
|
|
||||||
|
|
||||||
|
int i;
|
||||||
|
for ( i = 0; i != MAX_BAR_STATES; ++i )
|
||||||
mSizes[i] = other.mSizes[i];
|
mSizes[i] = other.mSizes[i];
|
||||||
|
|
||||||
mIsFixed = other.mIsFixed;
|
mIsFixed = other.mIsFixed;
|
||||||
@@ -2141,8 +2122,8 @@ cbDockPane::cbDockPane( int alignment, wxFrameLayout* pPanel )
|
|||||||
|
|
||||||
cbDockPane::~cbDockPane()
|
cbDockPane::~cbDockPane()
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
delete mRows[i];
|
delete mRows[i];
|
||||||
|
|
||||||
mRowShapeData.DeleteContents( TRUE );
|
mRowShapeData.DeleteContents( TRUE );
|
||||||
@@ -2250,7 +2231,6 @@ void cbDockPane::PaintPane( wxDC& dc )
|
|||||||
|
|
||||||
// than handles
|
// than handles
|
||||||
for ( i = 0; i != mRows.Count(); ++i )
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
|
|
||||||
PaintRowHandles( mRows[i], dc );
|
PaintRowHandles( mRows[i], dc );
|
||||||
|
|
||||||
// and finally
|
// and finally
|
||||||
@@ -2267,15 +2247,15 @@ void cbDockPane::SizeBar( cbBarInfo* pBar )
|
|||||||
|
|
||||||
void cbDockPane::SizeRowObjects( cbRowInfo* pRow )
|
void cbDockPane::SizeRowObjects( cbRowInfo* pRow )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
SizeBar( pRow->mBars[i] );
|
SizeBar( pRow->mBars[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
void cbDockPane::SizePaneObjects()
|
void cbDockPane::SizePaneObjects()
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
SizeRowObjects( mRows[i] );
|
SizeRowObjects( mRows[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2306,9 +2286,12 @@ int cbDockPane::GetNotFixedBarsCount( cbRowInfo* pRow )
|
|||||||
{
|
{
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
if ( !pRow->mBars[i]->IsFixed() ) ++cnt;
|
{
|
||||||
|
if ( !pRow->mBars[i]->IsFixed() )
|
||||||
|
++cnt;
|
||||||
|
}
|
||||||
|
|
||||||
return cnt;
|
return cnt;
|
||||||
}
|
}
|
||||||
@@ -2337,7 +2320,8 @@ void cbDockPane::SyncRowFlags( cbRowInfo* pRow )
|
|||||||
|
|
||||||
pRow->mNotFixedBarsCnt = 0;
|
pRow->mNotFixedBarsCnt = 0;
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
cbBarInfo& bar = *pRow->mBars[i];
|
cbBarInfo& bar = *pRow->mBars[i];
|
||||||
|
|
||||||
@@ -2431,7 +2415,8 @@ void cbDockPane::PaneToFrame( wxRect* pRect )
|
|||||||
|
|
||||||
int cbDockPane::GetRowAt( int paneY )
|
int cbDockPane::GetRowAt( int paneY )
|
||||||
{
|
{
|
||||||
if ( paneY < 0 ) return -1;
|
if ( paneY < 0 )
|
||||||
|
return -1;
|
||||||
|
|
||||||
int curY = 0;
|
int curY = 0;
|
||||||
|
|
||||||
@@ -2495,7 +2480,8 @@ int cbDockPane::GetRowAt( int upperY, int lowerY )
|
|||||||
|
|
||||||
int mid = upperY + (lowerY - upperY)/2;
|
int mid = upperY + (lowerY - upperY)/2;
|
||||||
|
|
||||||
if ( mid < 0 ) return -1;
|
if ( mid < 0 )
|
||||||
|
return -1;
|
||||||
|
|
||||||
int curY = 0;
|
int curY = 0;
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
@@ -2516,9 +2502,11 @@ int cbDockPane::GetRowY( cbRowInfo* pRow )
|
|||||||
{
|
{
|
||||||
int curY = 0;
|
int curY = 0;
|
||||||
|
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
{
|
{
|
||||||
if ( mRows[i] == pRow ) break;
|
if ( mRows[i] == pRow )
|
||||||
|
break;
|
||||||
|
|
||||||
curY += mRows[i]->mRowHeight;
|
curY += mRows[i]->mRowHeight;
|
||||||
}
|
}
|
||||||
@@ -2595,7 +2583,6 @@ void cbDockPane::CalcLengthRatios( cbRowInfo* pInRow )
|
|||||||
cbBarInfo& bar = *pInRow->mBars[i];
|
cbBarInfo& bar = *pInRow->mBars[i];
|
||||||
|
|
||||||
if ( !bar.IsFixed() )
|
if ( !bar.IsFixed() )
|
||||||
|
|
||||||
totalWidth += bar.mBounds.width;
|
totalWidth += bar.mBounds.width;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2606,7 +2593,6 @@ void cbDockPane::CalcLengthRatios( cbRowInfo* pInRow )
|
|||||||
cbBarInfo& bar = *pInRow->mBars[i];
|
cbBarInfo& bar = *pInRow->mBars[i];
|
||||||
|
|
||||||
if ( !bar.IsFixed() )
|
if ( !bar.IsFixed() )
|
||||||
|
|
||||||
bar.mLenRatio = double(bar.mBounds.width)/double(totalWidth);
|
bar.mLenRatio = double(bar.mBounds.width)/double(totalWidth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2704,18 +2690,17 @@ void cbDockPane::ContractBar( cbBarInfo* pBar )
|
|||||||
|
|
||||||
void cbDockPane::InitLinksForRow( cbRowInfo* pRow )
|
void cbDockPane::InitLinksForRow( cbRowInfo* pRow )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
cbBarInfo& bar = *pRow->mBars[i];
|
cbBarInfo& bar = *pRow->mBars[i];
|
||||||
|
|
||||||
if ( i == 0 )
|
if ( i == 0 )
|
||||||
|
|
||||||
bar.mpPrev = NULL;
|
bar.mpPrev = NULL;
|
||||||
else
|
else
|
||||||
bar.mpPrev = pRow->mBars[i-1];
|
bar.mpPrev = pRow->mBars[i-1];
|
||||||
|
|
||||||
if ( i == pRow->mBars.Count() - 1 )
|
if ( i == pRow->mBars.Count() - 1 )
|
||||||
|
|
||||||
bar.mpNext = NULL;
|
bar.mpNext = NULL;
|
||||||
else
|
else
|
||||||
bar.mpNext = pRow->mBars[i+1];
|
bar.mpNext = pRow->mBars[i+1];
|
||||||
@@ -2724,18 +2709,17 @@ void cbDockPane::InitLinksForRow( cbRowInfo* pRow )
|
|||||||
|
|
||||||
void cbDockPane::InitLinksForRows()
|
void cbDockPane::InitLinksForRows()
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
{
|
{
|
||||||
cbRowInfo& row = *mRows[i];
|
cbRowInfo& row = *mRows[i];
|
||||||
|
|
||||||
if ( i == 0 )
|
if ( i == 0 )
|
||||||
|
|
||||||
row.mpPrev = NULL;
|
row.mpPrev = NULL;
|
||||||
else
|
else
|
||||||
row.mpPrev = mRows[i-1];
|
row.mpPrev = mRows[i-1];
|
||||||
|
|
||||||
if ( i == mRows.Count() - 1 )
|
if ( i == mRows.Count() - 1 )
|
||||||
|
|
||||||
row.mpNext = NULL;
|
row.mpNext = NULL;
|
||||||
else
|
else
|
||||||
row.mpNext = mRows[i+1];
|
row.mpNext = mRows[i+1];
|
||||||
@@ -2826,12 +2810,13 @@ void cbDockPane::InsertBar( cbBarInfo* pBarInfo )
|
|||||||
|
|
||||||
void cbDockPane::RemoveRow( cbRowInfo* pRow )
|
void cbDockPane::RemoveRow( cbRowInfo* pRow )
|
||||||
{
|
{
|
||||||
|
size_t i;
|
||||||
// first, hide all bar-windows in the removed row
|
// first, hide all bar-windows in the removed row
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
|
{
|
||||||
if ( pRow->mBars[i]->mpBarWnd )
|
if ( pRow->mBars[i]->mpBarWnd )
|
||||||
|
|
||||||
pRow->mBars[i]->mpBarWnd->Show( FALSE );
|
pRow->mBars[i]->mpBarWnd->Show( FALSE );
|
||||||
|
}
|
||||||
|
|
||||||
mRows.Remove( pRow );
|
mRows.Remove( pRow );
|
||||||
|
|
||||||
@@ -2850,8 +2835,8 @@ void cbDockPane::InsertRow( cbRowInfo* pRow, cbRowInfo* pBeforeRow )
|
|||||||
|
|
||||||
pRow->mUMgrData.SetDirty(TRUE);
|
pRow->mUMgrData.SetDirty(TRUE);
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
pRow->mBars[i]->mUMgrData.SetDirty( TRUE );
|
pRow->mBars[i]->mUMgrData.SetDirty( TRUE );
|
||||||
|
|
||||||
SyncRowFlags( pRow );
|
SyncRowFlags( pRow );
|
||||||
@@ -2860,7 +2845,6 @@ void cbDockPane::InsertRow( cbRowInfo* pRow, cbRowInfo* pBeforeRow )
|
|||||||
void cbDockPane::SetPaneWidth(int width)
|
void cbDockPane::SetPaneWidth(int width)
|
||||||
{
|
{
|
||||||
if ( IsHorizontal() )
|
if ( IsHorizontal() )
|
||||||
|
|
||||||
mPaneWidth = width - mLeftMargin - mRightMargin;
|
mPaneWidth = width - mLeftMargin - mRightMargin;
|
||||||
else
|
else
|
||||||
mPaneWidth = width - mTopMargin - mBottomMargin;
|
mPaneWidth = width - mTopMargin - mBottomMargin;
|
||||||
@@ -2869,7 +2853,6 @@ void cbDockPane::SetPaneWidth(int width)
|
|||||||
|
|
||||||
void cbDockPane::SetBoundsInParent( const wxRect& rect )
|
void cbDockPane::SetBoundsInParent( const wxRect& rect )
|
||||||
{
|
{
|
||||||
|
|
||||||
mBoundsInParent = rect;
|
mBoundsInParent = rect;
|
||||||
|
|
||||||
// set pane dimensions in local coordinates
|
// set pane dimensions in local coordinates
|
||||||
@@ -2973,14 +2956,14 @@ cbRowInfo* cbDockPane::GetRow( int row )
|
|||||||
|
|
||||||
int cbDockPane::GetRowIndex( cbRowInfo* pRow )
|
int cbDockPane::GetRowIndex( cbRowInfo* pRow )
|
||||||
{
|
{
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
{
|
{
|
||||||
if ( mRows[i] == pRow )
|
if ( mRows[i] == pRow )
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL_MSG("Row must be present to call cbDockPane::GetRowIndex()");
|
||||||
wxASSERT(avoidCompilerWarning); // DBG:: row should be present
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -3028,8 +3011,7 @@ bool cbDockPane::MatchesMask( int paneMask )
|
|||||||
case FL_ALIGN_RIGHT : thisMask = FL_ALIGN_RIGHT_PANE; break;
|
case FL_ALIGN_RIGHT : thisMask = FL_ALIGN_RIGHT_PANE; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL_MSG("Bad FL alignment type detected in cbDockPane::MatchesMask()");
|
||||||
wxASSERT(avoidCompilerWarning); // DBG:: bogus alignment type
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( thisMask & paneMask ) != 0;
|
return ( thisMask & paneMask ) != 0;
|
||||||
@@ -3044,8 +3026,8 @@ void cbDockPane::RecalcLayout()
|
|||||||
|
|
||||||
// then horizontally in each row
|
// then horizontally in each row
|
||||||
|
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
RecalcRowLayout( mRows[i] );
|
RecalcRowLayout( mRows[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3077,7 +3059,8 @@ int cbDockPane::HitTestPaneItems( const wxPoint& pos,
|
|||||||
(*ppRow) = NULL;
|
(*ppRow) = NULL;
|
||||||
(*ppBar) = NULL;
|
(*ppBar) = NULL;
|
||||||
|
|
||||||
for( size_t i = 0; i != mRows.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != mRows.Count(); ++i )
|
||||||
{
|
{
|
||||||
cbRowInfo& row = *mRows[i];
|
cbRowInfo& row = *mRows[i];
|
||||||
|
|
||||||
@@ -3103,7 +3086,8 @@ int cbDockPane::HitTestPaneItems( const wxPoint& pos,
|
|||||||
|
|
||||||
// hit-test bar handles and bar content
|
// hit-test bar handles and bar content
|
||||||
|
|
||||||
for( size_t k = 0; k != row.mBars.Count(); ++k )
|
size_t k;
|
||||||
|
for ( k = 0; k != row.mBars.Count(); ++k )
|
||||||
{
|
{
|
||||||
cbBarInfo& bar = *row.mBars[k];
|
cbBarInfo& bar = *row.mBars[k];
|
||||||
wxRect& bounds = bar.mBounds;
|
wxRect& bounds = bar.mBounds;
|
||||||
@@ -3127,7 +3111,6 @@ int cbDockPane::HitTestPaneItems( const wxPoint& pos,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( HasPoint( pos, bounds.x, bounds.y, bounds.width, bounds.height ) )
|
if ( HasPoint( pos, bounds.x, bounds.y, bounds.width, bounds.height ) )
|
||||||
|
|
||||||
return CB_BAR_CONTENT_HITTED;
|
return CB_BAR_CONTENT_HITTED;
|
||||||
|
|
||||||
} // hit-test next bar
|
} // hit-test next bar
|
||||||
@@ -3202,18 +3185,17 @@ int cbDockPane::GetMinimalRowHeight( cbRowInfo* pRow )
|
|||||||
{
|
{
|
||||||
int height = mProps.mMinCBarDim.y;
|
int height = mProps.mMinCBarDim.y;
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
|
{
|
||||||
if ( pRow->mBars[i]->IsFixed() )
|
if ( pRow->mBars[i]->IsFixed() )
|
||||||
|
|
||||||
height = wxMax( height, pRow->mBars[i]->mBounds.height );
|
height = wxMax( height, pRow->mBars[i]->mBounds.height );
|
||||||
|
}
|
||||||
|
|
||||||
if ( pRow->mHasUpperHandle )
|
if ( pRow->mHasUpperHandle )
|
||||||
|
|
||||||
height += mProps.mResizeHandleSize;
|
height += mProps.mResizeHandleSize;
|
||||||
|
|
||||||
if ( pRow->mHasLowerHandle )
|
if ( pRow->mHasLowerHandle )
|
||||||
|
|
||||||
height += mProps.mResizeHandleSize;
|
height += mProps.mResizeHandleSize;
|
||||||
|
|
||||||
return height;
|
return height;
|
||||||
@@ -3229,12 +3211,13 @@ void cbDockPane::SetRowHeight( cbRowInfo* pRow, int newHeight )
|
|||||||
|
|
||||||
newHeight -= mProps.mResizeHandleSize;
|
newHeight -= mProps.mResizeHandleSize;
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
|
{
|
||||||
if ( !pRow->mBars[i]->IsFixed() )
|
if ( !pRow->mBars[i]->IsFixed() )
|
||||||
|
|
||||||
pRow->mBars[i]->mBounds.height = newHeight;
|
pRow->mBars[i]->mBounds.height = newHeight;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void cbDockPane::GetRowResizeRange( cbRowInfo* pRow, int* from, int* till,
|
void cbDockPane::GetRowResizeRange( cbRowInfo* pRow, int* from, int* till,
|
||||||
bool forUpperHandle )
|
bool forUpperHandle )
|
||||||
@@ -3380,7 +3363,8 @@ void cbDockPane::DrawVertHandle( wxDC& dc, int x, int y, int height )
|
|||||||
dc.DrawLine( x,y, x, lower );
|
dc.DrawLine( x,y, x, lower );
|
||||||
|
|
||||||
dc.SetPen( mpLayout->mGrayPen );
|
dc.SetPen( mpLayout->mGrayPen );
|
||||||
for( int i = 0; i != mProps.mResizeHandleSize-1; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != mProps.mResizeHandleSize-1; ++i )
|
||||||
{
|
{
|
||||||
++x;
|
++x;
|
||||||
dc.DrawLine( x,y, x, lower );
|
dc.DrawLine( x,y, x, lower );
|
||||||
@@ -3404,7 +3388,8 @@ void cbDockPane::DrawHorizHandle( wxDC& dc, int x, int y, int width )
|
|||||||
|
|
||||||
dc.SetPen( mpLayout->mGrayPen );
|
dc.SetPen( mpLayout->mGrayPen );
|
||||||
|
|
||||||
for( int i = 0; i != mProps.mResizeHandleSize-1; ++i )
|
int i;
|
||||||
|
for ( i = 0; i != mProps.mResizeHandleSize-1; ++i )
|
||||||
{
|
{
|
||||||
++y;
|
++y;
|
||||||
dc.DrawLine( x,y, right, y );
|
dc.DrawLine( x,y, right, y );
|
||||||
@@ -3435,7 +3420,8 @@ void cbDockPane::GetRowShapeData( cbRowInfo* pRow, wxList* pLst )
|
|||||||
pLst->DeleteContents( TRUE );
|
pLst->DeleteContents( TRUE );
|
||||||
pLst->Clear();
|
pLst->Clear();
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
cbBarInfo& bar = *pRow->mBars[i];
|
cbBarInfo& bar = *pRow->mBars[i];
|
||||||
|
|
||||||
@@ -3450,11 +3436,13 @@ void cbDockPane::GetRowShapeData( cbRowInfo* pRow, wxList* pLst )
|
|||||||
|
|
||||||
void cbDockPane::SetRowShapeData( cbRowInfo* pRow, wxList* pLst )
|
void cbDockPane::SetRowShapeData( cbRowInfo* pRow, wxList* pLst )
|
||||||
{
|
{
|
||||||
if ( pLst->First() == NULL ) return;
|
if ( pLst->First() == NULL )
|
||||||
|
return;
|
||||||
|
|
||||||
wxNode* pData = pLst->First();
|
wxNode* pData = pLst->First();
|
||||||
|
|
||||||
for( size_t i = 0; i != pRow->mBars.Count(); ++i )
|
size_t i;
|
||||||
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
wxASSERT( pData ); // DBG::
|
wxASSERT( pData ); // DBG::
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__HACK_MY_MSDEV40__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__HACK_MY_MSDEV40__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
@@ -65,7 +65,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
|
@@ -208,16 +208,17 @@ void wxFrameManager::EnableMenusForView( wxFrameView* pView, bool enable )
|
|||||||
wxMenuBar* pMenuBar = GetParentFrame()->GetMenuBar();
|
wxMenuBar* pMenuBar = GetParentFrame()->GetMenuBar();
|
||||||
int count = pMenuBar->GetMenuCount();
|
int count = pMenuBar->GetMenuCount();
|
||||||
|
|
||||||
if ( !pMenuBar ) return;
|
if ( !pMenuBar )
|
||||||
|
return;
|
||||||
|
|
||||||
wxStringListNode* pNode = pView->mTopMenus.GetFirst();
|
wxStringListNode* pNode = pView->mTopMenus.GetFirst();
|
||||||
|
|
||||||
|
int i;
|
||||||
while ( pNode )
|
while ( pNode )
|
||||||
{
|
{
|
||||||
for( int i = 0; i != count; ++i )
|
for ( i = 0; i != count; ++i )
|
||||||
{
|
{
|
||||||
if ( pMenuBar->GetMenu(i)->GetTitle() == pNode->GetData() )
|
if ( pMenuBar->GetMenu(i)->GetTitle() == pNode->GetData() )
|
||||||
|
|
||||||
pMenuBar->EnableTop( i, enable );
|
pMenuBar->EnableTop( i, enable );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -293,7 +294,6 @@ void wxFrameManager::Init( wxWindow* pMainFrame, const wxString& settingsFile )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( mActiveViewNo >= mViews.Number() )
|
if ( mActiveViewNo >= mViews.Number() )
|
||||||
|
|
||||||
mActiveViewNo = -1;
|
mActiveViewNo = -1;
|
||||||
|
|
||||||
ActivateView( GetView( ( mActiveViewNo == -1 ) ? 0 : mActiveViewNo ) );
|
ActivateView( GetView( ( mActiveViewNo == -1 ) ? 0 : mActiveViewNo ) );
|
||||||
@@ -311,8 +311,7 @@ void wxFrameManager::AddView( wxFrameView* pFrmView )
|
|||||||
void wxFrameManager::RemoveView( wxFrameView* pFrmView )
|
void wxFrameManager::RemoveView( wxFrameView* pFrmView )
|
||||||
{
|
{
|
||||||
// TBD::
|
// TBD::
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL_MSG("wxFrameManager::RemoveView() has not been implemented yet.");
|
||||||
wxASSERT(avoidCompilerWarning);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxFrameManager::GetActiveViewNo()
|
int wxFrameManager::GetActiveViewNo()
|
||||||
@@ -393,7 +392,8 @@ wxWindow* wxFrameManager::GetClientWindow()
|
|||||||
|
|
||||||
void wxFrameManager::DeactivateCurrentView()
|
void wxFrameManager::DeactivateCurrentView()
|
||||||
{
|
{
|
||||||
if ( mActiveViewNo == -1 ) return;
|
if ( mActiveViewNo == -1 )
|
||||||
|
return;
|
||||||
|
|
||||||
wxFrameView* pView = GetActiveView();
|
wxFrameView* pView = GetActiveView();
|
||||||
|
|
||||||
@@ -403,7 +403,6 @@ void wxFrameManager::DeactivateCurrentView()
|
|||||||
GetParentFrame()->PopEventHandler();
|
GetParentFrame()->PopEventHandler();
|
||||||
|
|
||||||
if ( pView->mpLayout )
|
if ( pView->mpLayout )
|
||||||
|
|
||||||
pView->mpLayout->Deactivate();
|
pView->mpLayout->Deactivate();
|
||||||
|
|
||||||
EnableMenusForView( pView, FALSE );
|
EnableMenusForView( pView, FALSE );
|
||||||
@@ -429,7 +428,6 @@ bool wxFrameManager::ReloadViews()
|
|||||||
// TBD: ????
|
// TBD: ????
|
||||||
#if 0
|
#if 0
|
||||||
if ( mSettingsFile == "" || !wxFileExists( mSettingsFile ) )
|
if ( mSettingsFile == "" || !wxFileExists( mSettingsFile ) )
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
DestroyViews();
|
DestroyViews();
|
||||||
|
@@ -141,7 +141,8 @@ void cbGCUpdatesMgr::UpdateNow()
|
|||||||
|
|
||||||
wxList mBarsToResize;
|
wxList mBarsToResize;
|
||||||
|
|
||||||
for( int n = 0; n != MAX_PANES; ++n )
|
int n;
|
||||||
|
for ( n = 0; n != MAX_PANES; ++n )
|
||||||
{
|
{
|
||||||
cbDockPane& pane = *(panes[n]);
|
cbDockPane& pane = *(panes[n]);
|
||||||
|
|
||||||
@@ -164,7 +165,7 @@ void cbGCUpdatesMgr::UpdateNow()
|
|||||||
cbBarInfo* pBar = pRow->GetFirstBar();
|
cbBarInfo* pBar = pRow->GetFirstBar();
|
||||||
|
|
||||||
bool rowChanged = FALSE;
|
bool rowChanged = FALSE;
|
||||||
bool rowBkPainted = FALSE;
|
// bool rowBkPainted = FALSE;
|
||||||
|
|
||||||
// FIXME:: the below should not be fixed
|
// FIXME:: the below should not be fixed
|
||||||
cbBarInfo* barsToRepaint[128];
|
cbBarInfo* barsToRepaint[128];
|
||||||
|
@@ -34,7 +34,9 @@ static int* create_array( int width, int height, int fill = 0 )
|
|||||||
int* array = new int[width*height];
|
int* array = new int[width*height];
|
||||||
|
|
||||||
int len = width*height;
|
int len = width*height;
|
||||||
for( int i = 0; i != len; ++i ) array[i] = fill;
|
int i;
|
||||||
|
for ( i = 0; i != len; ++i )
|
||||||
|
array[i] = fill;
|
||||||
|
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
@@ -110,24 +112,28 @@ static void gray_out_pixmap( int* src, int* dest, int width, int height )
|
|||||||
|
|
||||||
if ( IS_IN_ARRAY(x+1,y-1) )
|
if ( IS_IN_ARRAY(x+1,y-1) )
|
||||||
{
|
{
|
||||||
++x;--y;
|
++x;
|
||||||
|
--y;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while ( IS_IN_ARRAY(x-1,y+1) )
|
while ( IS_IN_ARRAY(x-1,y+1) )
|
||||||
{
|
{
|
||||||
--x;++y;
|
--x;
|
||||||
|
++y;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( IS_IN_ARRAY(x,y+1) )
|
if ( IS_IN_ARRAY(x,y+1) )
|
||||||
{
|
{
|
||||||
++y; continue;
|
++y;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( IS_IN_ARRAY(x+1,y) )
|
if ( IS_IN_ARRAY(x+1,y) )
|
||||||
{
|
{
|
||||||
++x; continue;
|
++x;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else break;
|
else break;
|
||||||
}
|
}
|
||||||
@@ -152,23 +158,22 @@ void gray_out_image_on_dc( wxDC& dc, int width, int height )
|
|||||||
int* src = create_array( width, height, MASK_BG );
|
int* src = create_array( width, height, MASK_BG );
|
||||||
int* dest = create_array( width, height, MASK_BG );
|
int* dest = create_array( width, height, MASK_BG );
|
||||||
|
|
||||||
int y = 0;
|
int x, y;
|
||||||
for ( y = 0; y != height; ++y )
|
for ( y = 0; y != height; ++y )
|
||||||
|
{
|
||||||
for( int x = 0; x != width; ++x )
|
for ( x = 0; x != width; ++x )
|
||||||
{
|
{
|
||||||
wxColour col;
|
wxColour col;
|
||||||
dc.GetPixel( x,y, &col );
|
dc.GetPixel( x,y, &col );
|
||||||
|
|
||||||
|
|
||||||
GET_ELEM(src,x,y) = MAKE_INT_COLOR( col.Red(), col.Green(), col.Blue() );
|
GET_ELEM(src,x,y) = MAKE_INT_COLOR( col.Red(), col.Green(), col.Blue() );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
gray_out_pixmap( src, dest, width, height );
|
gray_out_pixmap( src, dest, width, height );
|
||||||
|
|
||||||
for ( y = 0; y != height; ++y )
|
for ( y = 0; y != height; ++y )
|
||||||
|
{
|
||||||
for( int x = 0; x != width; ++x )
|
for ( x = 0; x != width; ++x )
|
||||||
{
|
{
|
||||||
int mask = GET_ELEM(dest,x,y);
|
int mask = GET_ELEM(dest,x,y);
|
||||||
|
|
||||||
@@ -186,7 +191,7 @@ void gray_out_image_on_dc( wxDC& dc, int width, int height )
|
|||||||
default : break;
|
default : break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
delete [] src;
|
delete [] src;
|
||||||
delete [] dest;
|
delete [] dest;
|
||||||
}
|
}
|
||||||
@@ -425,8 +430,7 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL_MSG("Unsupported FL alignment type detected in wxNewBitmapButton::RenderLabelImage()");
|
||||||
wxASSERT(avoidCompilerWarning);// unsupported alignment type
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -381,14 +381,7 @@ void cbPaneDrawPlugin::OnLDblClick( cbLeftDClickEvent& event )
|
|||||||
&pBarToFloat ) == CB_BAR_CONTENT_HITTED
|
&pBarToFloat ) == CB_BAR_CONTENT_HITTED
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// TBD: ????
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
mpLayout->SetBarState( pBarToFloat, wxCBAR_FLOATING, TRUE );
|
|
||||||
|
|
||||||
mpLayout->RepositionFloatedBar( pBarToFloat );
|
|
||||||
|
|
||||||
return; // event is "eaten" by this plugin
|
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip();
|
event.Skip();
|
||||||
@@ -439,7 +432,7 @@ void cbPaneDrawPlugin::OnLButtonDown( cbLeftDownEvent& event )
|
|||||||
{
|
{
|
||||||
// otehrwise if bar handle dragged
|
// otehrwise if bar handle dragged
|
||||||
|
|
||||||
cbRowInfo& rowInfo = *mpDraggedBar->mpRow;
|
// cbRowInfo& rowInfo = *mpDraggedBar->mpRow;
|
||||||
wxRect& bounds = mpDraggedBar->mBounds;
|
wxRect& bounds = mpDraggedBar->mBounds;
|
||||||
|
|
||||||
mHandleIsVertical = ( event.mpPane->IsHorizontal() ) ? TRUE : FALSE;
|
mHandleIsVertical = ( event.mpPane->IsHorizontal() ) ? TRUE : FALSE;
|
||||||
@@ -735,12 +728,12 @@ void cbPaneDrawPlugin::OnDrawRowBackground ( cbDrawRowBkGroundEvent& event )
|
|||||||
wxRect rowBounds = pRow->mBoundsInParent;
|
wxRect rowBounds = pRow->mBoundsInParent;
|
||||||
bool isHorizontal = event.mpPane->IsHorizontal();
|
bool isHorizontal = event.mpPane->IsHorizontal();
|
||||||
|
|
||||||
int prevPos;
|
// int prevPos;
|
||||||
|
|
||||||
if ( isHorizontal )
|
if ( isHorizontal )
|
||||||
{
|
{
|
||||||
prevPos = rowBounds.x;
|
// prevPos = rowBounds.x;
|
||||||
// include one line obove and below the row
|
// include one line above and below the row
|
||||||
--rowBounds.y;
|
--rowBounds.y;
|
||||||
rowBounds.height += 2;
|
rowBounds.height += 2;
|
||||||
|
|
||||||
@@ -749,8 +742,8 @@ void cbPaneDrawPlugin::OnDrawRowBackground ( cbDrawRowBkGroundEvent& event )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
prevPos = rowBounds.y;
|
// prevPos = rowBounds.y;
|
||||||
// include one line obove and below the row
|
// include one line above and below the row
|
||||||
--rowBounds.x;
|
--rowBounds.x;
|
||||||
rowBounds.width += 2;
|
rowBounds.width += 2;
|
||||||
|
|
||||||
@@ -1170,7 +1163,7 @@ void cbPaneDrawPlugin::OnDrawPaneDecorations( cbDrawPaneDecorEvent& event )
|
|||||||
|
|
||||||
void cbPaneDrawPlugin::OnDrawBarDecorations( cbDrawBarDecorEvent& event )
|
void cbPaneDrawPlugin::OnDrawBarDecorations( cbDrawBarDecorEvent& event )
|
||||||
{
|
{
|
||||||
cbBarInfo* pBar = event.mpBar;
|
// cbBarInfo* pBar = event.mpBar;
|
||||||
wxDC& dc = *event.mpDc;
|
wxDC& dc = *event.mpDc;
|
||||||
|
|
||||||
// draw brick borders
|
// draw brick borders
|
||||||
|
@@ -229,7 +229,7 @@ void cbRowDragPlugin::OnMouseMove( cbMotionEvent& event )
|
|||||||
// DBG::
|
// DBG::
|
||||||
wxPoint p = event.mPos;
|
wxPoint p = event.mPos;
|
||||||
wxPoint d = mDragOrigin;
|
wxPoint d = mDragOrigin;
|
||||||
int dif = event.mPos.x - mDragOrigin.x;
|
// int dif = event.mPos.x - mDragOrigin.x;
|
||||||
|
|
||||||
// row is dragged up or down;
|
// row is dragged up or down;
|
||||||
ShowDraggedRow( pos.y - mDragOrigin.y );
|
ShowDraggedRow( pos.y - mDragOrigin.y );
|
||||||
@@ -239,7 +239,7 @@ void cbRowDragPlugin::OnMouseMove( cbMotionEvent& event )
|
|||||||
// DBG::
|
// DBG::
|
||||||
wxPoint p = event.mPos;
|
wxPoint p = event.mPos;
|
||||||
wxPoint d = mDragOrigin;
|
wxPoint d = mDragOrigin;
|
||||||
int dif = event.mPos.x - mDragOrigin.x;
|
// int dif = event.mPos.x - mDragOrigin.x;
|
||||||
|
|
||||||
// row is dragged left or right
|
// row is dragged left or right
|
||||||
ShowDraggedRow( pos.x - mDragOrigin.x );
|
ShowDraggedRow( pos.x - mDragOrigin.x );
|
||||||
|
@@ -129,8 +129,7 @@ void cbRowLayoutPlugin::ExpandNotFixedBars( cbRowInfo* pRow )
|
|||||||
|
|
||||||
double pcntSum = 0.0;
|
double pcntSum = 0.0;
|
||||||
|
|
||||||
size_t i = 0;
|
size_t i;
|
||||||
|
|
||||||
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
{
|
{
|
||||||
if ( !pRow->mBars[i]->IsFixed() )
|
if ( !pRow->mBars[i]->IsFixed() )
|
||||||
@@ -161,7 +160,7 @@ void cbRowLayoutPlugin::ExpandNotFixedBars( cbRowInfo* pRow )
|
|||||||
|
|
||||||
void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* pRow, cbBarInfo* pTheBar )
|
void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* pRow, cbBarInfo* pTheBar )
|
||||||
{
|
{
|
||||||
return;
|
return; // TBD: Makes following code unreachable
|
||||||
|
|
||||||
// pTheBar is not-fixed
|
// pTheBar is not-fixed
|
||||||
|
|
||||||
@@ -184,7 +183,6 @@ void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* pRow, cbBarInfo* pThe
|
|||||||
if ( pRow->mBars.Count() )
|
if ( pRow->mBars.Count() )
|
||||||
|
|
||||||
pTheBar->mBounds.width = int( mpPane->mPaneWidth * (curWidth / double(totalLen)) );
|
pTheBar->mBounds.width = int( mpPane->mPaneWidth * (curWidth / double(totalLen)) );
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
double freeSpc = (double)GetRowFreeSpace( pRow );
|
double freeSpc = (double)GetRowFreeSpace( pRow );
|
||||||
@@ -234,7 +232,6 @@ void cbRowLayoutPlugin::FitBarsToRange( int from, int till,
|
|||||||
while( pBar != pTillBar )
|
while( pBar != pTillBar )
|
||||||
{
|
{
|
||||||
if ( pBar->IsFixed() )
|
if ( pBar->IsFixed() )
|
||||||
|
|
||||||
freeSpc -= pBar->mBounds.width;
|
freeSpc -= pBar->mBounds.width;
|
||||||
else
|
else
|
||||||
pcntSum += pBar->mLenRatio;
|
pcntSum += pBar->mLenRatio;
|
||||||
@@ -249,13 +246,12 @@ void cbRowLayoutPlugin::FitBarsToRange( int from, int till,
|
|||||||
while ( pBar != pTillBar )
|
while ( pBar != pTillBar )
|
||||||
{
|
{
|
||||||
if ( !pBar->IsFixed() )
|
if ( !pBar->IsFixed() )
|
||||||
|
{
|
||||||
pBar->mBounds.width =
|
pBar->mBounds.width =
|
||||||
|
|
||||||
wxMax( mpPane->mProps.mMinCBarDim.x,
|
wxMax( mpPane->mProps.mMinCBarDim.x,
|
||||||
int( double(freeSpc) * (pBar->mLenRatio/pcntSum) )
|
int( double(freeSpc) * (pBar->mLenRatio/pcntSum) )
|
||||||
);
|
);
|
||||||
|
}
|
||||||
pBar = pBar->mpNext;
|
pBar = pBar->mpNext;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -461,7 +457,6 @@ void cbRowLayoutPlugin::ApplyLengthRatios( cbRowInfo* pRow )
|
|||||||
} // for
|
} // for
|
||||||
|
|
||||||
if ( haveSquished )
|
if ( haveSquished )
|
||||||
|
|
||||||
unit = freeSpc / pcntSum;
|
unit = freeSpc / pcntSum;
|
||||||
|
|
||||||
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
for ( i = 0; i != pRow->mBars.Count(); ++i )
|
||||||
|
@@ -496,8 +496,7 @@ void wxToolWindow::CalcResizedRect( wxRect& rect, wxPoint& delta, const wxSize&
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int avoidCompilerWarning = 0;
|
wxFAIL( _T("what did the cursor hit?") );
|
||||||
wxASSERT(avoidCompilerWarning); // DBG::
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rect.x = left;
|
rect.x = left;
|
||||||
|
@@ -289,3 +289,4 @@ void cbSimpleUpdatesMgr::UpdateNow()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
@@ -65,7 +65,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
|
||||||
# SUBTRACT CPP /YX
|
# SUBTRACT CPP /YX
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
@@ -87,7 +87,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\include\wx\gizmos\multicell.h
|
SOURCE=..\..\include\wx\gizmos\dynamicsash.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@@ -95,16 +95,16 @@ SOURCE=..\..\include\wx\gizmos\editlbox.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\include\wx\gizmos\splittree.h
|
SOURCE=..\..\include\wx\gizmos\multicell.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\include\wx\gizmos\dynamicsash.h
|
SOURCE=..\..\include\wx\gizmos\splittree.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\multicell.cpp
|
SOURCE=.\dynamicsash.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@@ -112,11 +112,15 @@ SOURCE=.\editlbox.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\multicell.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\splittree.cpp
|
SOURCE=.\splittree.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\dynamicsash.cpp
|
SOURCE=.\ledctrl.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@@ -13,9 +13,9 @@ LIBVERSION_AGE=0
|
|||||||
HEADER_PATH=$(top_srcdir)/contrib/include/wx
|
HEADER_PATH=$(top_srcdir)/contrib/include/wx
|
||||||
HEADER_SUBDIR=gizmos
|
HEADER_SUBDIR=gizmos
|
||||||
|
|
||||||
HEADERS=multicell.h splittree.h editlbox.h dynamicsash.h
|
HEADERS=multicell.h splittree.h editlbox.h dynamicsash.h ledctrl.h
|
||||||
|
|
||||||
OBJECTS=multicell.o splittree.o editlbox.o dynamicsash.o
|
OBJECTS=multicell.o splittree.o editlbox.o dynamicsash.o ledctrl.o
|
||||||
DEPFILES=$(OBJECTS:.o=.d)
|
DEPFILES=$(OBJECTS:.o=.d)
|
||||||
|
|
||||||
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
|
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
|
||||||
|
@@ -10,6 +10,23 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma implementation "splittree.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// for all others, include the necessary headers (this file is usually all you
|
||||||
|
// need because it includes almost all "standard" wxWindows headers)
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/wx.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/gizmos/dynamicsash.h"
|
#include "wx/gizmos/dynamicsash.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -83,6 +100,9 @@ class wxDynamicSashReparentEvent : public wxEvent {
|
|||||||
public:
|
public:
|
||||||
wxDynamicSashReparentEvent();
|
wxDynamicSashReparentEvent();
|
||||||
wxDynamicSashReparentEvent(wxObject *object);
|
wxDynamicSashReparentEvent(wxObject *object);
|
||||||
|
wxDynamicSashReparentEvent(const wxDynamicSashReparentEvent& evt);
|
||||||
|
|
||||||
|
virtual wxEvent* Clone() const { return new wxDynamicSashReparentEvent(*this); }
|
||||||
|
|
||||||
DECLARE_DYNAMIC_CLASS(wxDynamicSashReparentEvent);
|
DECLARE_DYNAMIC_CLASS(wxDynamicSashReparentEvent);
|
||||||
};
|
};
|
||||||
@@ -328,7 +348,8 @@ void wxDynamicSashWindowImpl::DrawSash(int x, int y) const {
|
|||||||
dc.SetBrush(brush);
|
dc.SetBrush(brush);
|
||||||
dc.SetLogicalFunction(wxXOR);
|
dc.SetLogicalFunction(wxXOR);
|
||||||
|
|
||||||
if (m_dragging == DSR_CORNER) {
|
if ((m_dragging == DSR_CORNER) &&
|
||||||
|
(m_window->GetWindowStyle() & wxDS_DRAG_CORNER) != 0) {
|
||||||
int cx = 0;
|
int cx = 0;
|
||||||
int cy = 0;
|
int cy = 0;
|
||||||
|
|
||||||
@@ -530,7 +551,6 @@ void wxDynamicSashWindowImpl::Unify(int panel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void wxDynamicSashWindowImpl::Split(int px, int py) {
|
void wxDynamicSashWindowImpl::Split(int px, int py) {
|
||||||
m_window->Hide();
|
|
||||||
|
|
||||||
m_add_child_target = NULL;
|
m_add_child_target = NULL;
|
||||||
|
|
||||||
@@ -577,10 +597,9 @@ void wxDynamicSashWindowImpl::Split(int px, int py) {
|
|||||||
m_leaf = NULL;
|
m_leaf = NULL;
|
||||||
|
|
||||||
m_container->Layout();
|
m_container->Layout();
|
||||||
|
|
||||||
m_window->Show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* This code is called when you finish resizing a view by dragging the
|
/* This code is called when you finish resizing a view by dragging the
|
||||||
corner tab, but I think this implementation is lousy and will surprise
|
corner tab, but I think this implementation is lousy and will surprise
|
||||||
the user more often than it will do what they are trying to do. What
|
the user more often than it will do what they are trying to do. What
|
||||||
@@ -772,7 +791,8 @@ void wxDynamicSashWindowImpl::OnPress(wxMouseEvent &event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void wxDynamicSashWindowImpl::OnRelease(wxMouseEvent &event) {
|
void wxDynamicSashWindowImpl::OnRelease(wxMouseEvent &event) {
|
||||||
if (m_dragging == DSR_CORNER) {
|
if ((m_dragging == DSR_CORNER) &&
|
||||||
|
(m_window->GetWindowStyle() & wxDS_DRAG_CORNER) != 0) {
|
||||||
DrawSash(m_drag_x, m_drag_y);
|
DrawSash(m_drag_x, m_drag_y);
|
||||||
m_container->ReleaseMouse();
|
m_container->ReleaseMouse();
|
||||||
|
|
||||||
@@ -874,7 +894,7 @@ bool wxDynamicSashWindowLeaf::Create() {
|
|||||||
m_viewport->SetEventHandler(this);
|
m_viewport->SetEventHandler(this);
|
||||||
Connect(-1, wxEVT_DYNAMIC_SASH_REPARENT, (wxObjectEventFunction)&wxDynamicSashWindowLeaf::OnReparent);
|
Connect(-1, wxEVT_DYNAMIC_SASH_REPARENT, (wxObjectEventFunction)&wxDynamicSashWindowLeaf::OnReparent);
|
||||||
|
|
||||||
if (m_impl->m_window->GetWindowStyle() & wxMANAGE_SCROLLBARS) {
|
if (m_impl->m_window->GetWindowStyle() & wxDS_MANAGE_SCROLLBARS) {
|
||||||
m_hscroll->SetEventHandler(this);
|
m_hscroll->SetEventHandler(this);
|
||||||
m_vscroll->SetEventHandler(this);
|
m_vscroll->SetEventHandler(this);
|
||||||
|
|
||||||
@@ -971,7 +991,7 @@ DynamicSashRegion wxDynamicSashWindowLeaf::GetRegion(int x, int y) {
|
|||||||
|
|
||||||
void wxDynamicSashWindowLeaf::ResizeChild(wxSize size) {
|
void wxDynamicSashWindowLeaf::ResizeChild(wxSize size) {
|
||||||
if (m_child) {
|
if (m_child) {
|
||||||
if (m_impl->m_window->GetWindowStyle() & wxMANAGE_SCROLLBARS) {
|
if (m_impl->m_window->GetWindowStyle() & wxDS_MANAGE_SCROLLBARS) {
|
||||||
m_child->SetSize(size);
|
m_child->SetSize(size);
|
||||||
wxSize best_size = m_child->GetBestSize();
|
wxSize best_size = m_child->GetBestSize();
|
||||||
if (best_size.GetWidth() < size.GetWidth()) {
|
if (best_size.GetWidth() < size.GetWidth()) {
|
||||||
@@ -1082,7 +1102,6 @@ void wxDynamicSashWindowLeaf::OnPaint(wxPaintEvent &event) {
|
|||||||
dc.DrawLine(9, h - sh - 3, 9, h - 4);
|
dc.DrawLine(9, h - sh - 3, 9, h - 4);
|
||||||
dc.DrawLine(9, h - 4, 3, h - 4);
|
dc.DrawLine(9, h - 4, 3, h - 4);
|
||||||
|
|
||||||
|
|
||||||
int cy = (h - sh + h - 6) / 2 + 1;
|
int cy = (h - sh + h - 6) / 2 + 1;
|
||||||
int cx = (w - sw + w - 6) / 2 + 1;
|
int cx = (w - sw + w - 6) / 2 + 1;
|
||||||
int sy = cy;
|
int sy = cy;
|
||||||
@@ -1135,7 +1154,8 @@ void wxDynamicSashWindowLeaf::OnMouseMove(wxMouseEvent &event) {
|
|||||||
cursor = wxCursor(wxCURSOR_SIZENS);
|
cursor = wxCursor(wxCURSOR_SIZENS);
|
||||||
} else if (region == DSR_VERTICAL_TAB) {
|
} else if (region == DSR_VERTICAL_TAB) {
|
||||||
cursor = wxCursor(wxCURSOR_SIZEWE);
|
cursor = wxCursor(wxCURSOR_SIZEWE);
|
||||||
} else if (region == DSR_CORNER) {
|
} else if ((region == DSR_CORNER) &&
|
||||||
|
(m_impl->m_window->GetWindowStyle() & wxDS_DRAG_CORNER) != 0) {
|
||||||
cursor = wxCursor(wxCURSOR_SIZENWSE);
|
cursor = wxCursor(wxCURSOR_SIZENWSE);
|
||||||
} else if (region == DSR_LEFT_EDGE || region == DSR_TOP_EDGE
|
} else if (region == DSR_LEFT_EDGE || region == DSR_TOP_EDGE
|
||||||
|| region == DSR_RIGHT_EDGE || region == DSR_BOTTOM_EDGE) {
|
|| region == DSR_RIGHT_EDGE || region == DSR_BOTTOM_EDGE) {
|
||||||
@@ -1160,6 +1180,9 @@ void wxDynamicSashWindowLeaf::OnLeave(wxMouseEvent &event) {
|
|||||||
void wxDynamicSashWindowLeaf::OnPress(wxMouseEvent &event) {
|
void wxDynamicSashWindowLeaf::OnPress(wxMouseEvent &event) {
|
||||||
DynamicSashRegion region = GetRegion(event.m_x, event.m_y);
|
DynamicSashRegion region = GetRegion(event.m_x, event.m_y);
|
||||||
|
|
||||||
|
if ((region == DSR_CORNER) && (m_impl->m_window->GetWindowStyle() & wxDS_DRAG_CORNER) == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
if (region == DSR_HORIZONTAL_TAB || region == DSR_VERTICAL_TAB || region == DSR_CORNER) {
|
if (region == DSR_HORIZONTAL_TAB || region == DSR_VERTICAL_TAB || region == DSR_CORNER) {
|
||||||
m_impl->m_dragging = region;
|
m_impl->m_dragging = region;
|
||||||
m_impl->m_drag_x = event.m_x;
|
m_impl->m_drag_x = event.m_x;
|
||||||
@@ -1237,6 +1260,11 @@ wxDynamicSashReparentEvent::wxDynamicSashReparentEvent(wxObject *object) {
|
|||||||
m_eventType = wxEVT_DYNAMIC_SASH_REPARENT;
|
m_eventType = wxEVT_DYNAMIC_SASH_REPARENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxDynamicSashReparentEvent::wxDynamicSashReparentEvent(const wxDynamicSashReparentEvent& evt)
|
||||||
|
: wxEvent(evt)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxDynamicSashReparentEvent, wxEvent)
|
IMPLEMENT_DYNAMIC_CLASS(wxDynamicSashReparentEvent, wxEvent)
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
@@ -121,6 +121,13 @@ wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
|
|||||||
m_bDel = new wxBitmapButton(subp, wxID_ELB_DELETE, wxBitmap(eldel_xpm));
|
m_bDel = new wxBitmapButton(subp, wxID_ELB_DELETE, wxBitmap(eldel_xpm));
|
||||||
m_bUp = new wxBitmapButton(subp, wxID_ELB_UP, wxBitmap(elup_xpm));
|
m_bUp = new wxBitmapButton(subp, wxID_ELB_UP, wxBitmap(elup_xpm));
|
||||||
m_bDown = new wxBitmapButton(subp, wxID_ELB_DOWN, wxBitmap(eldown_xpm));
|
m_bDown = new wxBitmapButton(subp, wxID_ELB_DOWN, wxBitmap(eldown_xpm));
|
||||||
|
|
||||||
|
m_bEdit->SetToolTip(wxT("Edit item"));
|
||||||
|
m_bNew->SetToolTip(wxT("New item"));
|
||||||
|
m_bDel->SetToolTip(wxT("Delete item"));
|
||||||
|
m_bUp->SetToolTip(wxT("Move up"));
|
||||||
|
m_bDown->SetToolTip(wxT("Move down"));
|
||||||
|
|
||||||
subsizer->Add(m_bEdit, 0, wxALIGN_CENTRE_VERTICAL);
|
subsizer->Add(m_bEdit, 0, wxALIGN_CENTRE_VERTICAL);
|
||||||
subsizer->Add(m_bNew, 0, wxALIGN_CENTRE_VERTICAL);
|
subsizer->Add(m_bNew, 0, wxALIGN_CENTRE_VERTICAL);
|
||||||
subsizer->Add(m_bDel, 0, wxALIGN_CENTRE_VERTICAL);
|
subsizer->Add(m_bDel, 0, wxALIGN_CENTRE_VERTICAL);
|
||||||
|
358
contrib/src/gizmos/ledctrl.cpp
Normal file
358
contrib/src/gizmos/ledctrl.cpp
Normal file
@@ -0,0 +1,358 @@
|
|||||||
|
// ============================================================================
|
||||||
|
// headers
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma implementation "wxLEDNumberCtrl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif //__BORLANDC__
|
||||||
|
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/dcclient.h"
|
||||||
|
#include "wx/dcmemory.h"
|
||||||
|
#include "wx/intl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/gizmos/ledctrl.h"
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// constants
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// A LED digit is build up like this, with maximum 7 Lines :
|
||||||
|
//
|
||||||
|
// 111
|
||||||
|
// 6 2
|
||||||
|
// 777
|
||||||
|
// 5 3
|
||||||
|
// 444
|
||||||
|
//
|
||||||
|
// Each number contains combinations of the lines, and they are set up below.
|
||||||
|
|
||||||
|
const int LINE1 = 1;
|
||||||
|
const int LINE2 = 2;
|
||||||
|
const int LINE3 = 4;
|
||||||
|
const int LINE4 = 8;
|
||||||
|
const int LINE5 = 16;
|
||||||
|
const int LINE6 = 32;
|
||||||
|
const int LINE7 = 64;
|
||||||
|
|
||||||
|
const int DIGIT0 = LINE1 | LINE2 | LINE3 | LINE4 | LINE5 | LINE6;
|
||||||
|
const int DIGIT1 = LINE2 | LINE3;
|
||||||
|
const int DIGIT2 = LINE1 | LINE2 | LINE4 | LINE5 | LINE7;
|
||||||
|
const int DIGIT3 = LINE1 | LINE2 | LINE3 | LINE4 | LINE7;
|
||||||
|
const int DIGIT4 = LINE2 | LINE3 | LINE6 | LINE7;
|
||||||
|
const int DIGIT5 = LINE1 | LINE3 | LINE4 | LINE6 | LINE7;
|
||||||
|
const int DIGIT6 = LINE1 | LINE3 | LINE4 | LINE5 | LINE6 | LINE7;
|
||||||
|
const int DIGIT7 = LINE1 | LINE2 | LINE3;
|
||||||
|
const int DIGIT8 = LINE1 | LINE2 | LINE3 | LINE4 | LINE5 | LINE6 | LINE7;
|
||||||
|
const int DIGIT9 = LINE1 | LINE2 | LINE3 | LINE6 | LINE7;
|
||||||
|
const int DASH = LINE7;
|
||||||
|
|
||||||
|
const int DIGITALL = -1;
|
||||||
|
|
||||||
|
// ============================================================================
|
||||||
|
// wxLEDNumberCtrl class implementation
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
wxLEDNumberCtrl::wxLEDNumberCtrl()
|
||||||
|
: m_Alignment(wxLED_ALIGN_LEFT),
|
||||||
|
m_LineMargin(-1),
|
||||||
|
m_DigitMargin(-1),
|
||||||
|
m_LineLength(-1),
|
||||||
|
m_LineWidth(-1),
|
||||||
|
m_DrawFaded(FALSE),
|
||||||
|
m_LeftStartPos(-1)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
wxLEDNumberCtrl::wxLEDNumberCtrl(wxWindow *parent, wxWindowID id,
|
||||||
|
const wxPoint& pos, const wxSize& size,
|
||||||
|
long style)
|
||||||
|
: m_Alignment(wxLED_ALIGN_LEFT),
|
||||||
|
m_LineMargin(-1),
|
||||||
|
m_DigitMargin(-1),
|
||||||
|
m_LineLength(-1),
|
||||||
|
m_LineWidth(-1),
|
||||||
|
m_DrawFaded(FALSE),
|
||||||
|
m_LeftStartPos(-1)
|
||||||
|
{
|
||||||
|
Create(parent, id, pos, size, style);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool wxLEDNumberCtrl::Create(wxWindow *parent, wxWindowID id,
|
||||||
|
const wxPoint& pos, const wxSize& size,
|
||||||
|
long style)
|
||||||
|
{
|
||||||
|
bool RetVal = wxControl::Create(parent, id, pos, size, style);
|
||||||
|
|
||||||
|
if ((style & wxLED_DRAW_FADED) != 0)
|
||||||
|
SetDrawFaded(TRUE);
|
||||||
|
if ((style & wxLED_ALIGN_MASK) != 0)
|
||||||
|
SetAlignment((wxLEDValueAlign)(style & wxLED_ALIGN_MASK));
|
||||||
|
|
||||||
|
SetBackgroundColour(*wxBLACK);
|
||||||
|
SetForegroundColour(*wxGREEN);
|
||||||
|
|
||||||
|
return RetVal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::SetAlignment(wxLEDValueAlign Alignment, bool Redraw)
|
||||||
|
{
|
||||||
|
if (Alignment != m_Alignment)
|
||||||
|
{
|
||||||
|
m_Alignment = Alignment;
|
||||||
|
RecalcInternals(GetClientSize());
|
||||||
|
|
||||||
|
if (Redraw)
|
||||||
|
Refresh(FALSE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::SetDrawFaded(bool DrawFaded, bool Redraw)
|
||||||
|
{
|
||||||
|
if (DrawFaded != m_DrawFaded)
|
||||||
|
{
|
||||||
|
m_DrawFaded = DrawFaded;
|
||||||
|
|
||||||
|
if (Redraw)
|
||||||
|
Refresh(FALSE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::SetValue(wxString const &Value, bool Redraw)
|
||||||
|
{
|
||||||
|
if (Value != m_Value)
|
||||||
|
{
|
||||||
|
if (!Value.IsEmpty())
|
||||||
|
{
|
||||||
|
for(size_t i=0; i<Value.Length(); i++) {
|
||||||
|
wxChar ch = Value[i];
|
||||||
|
wxASSERT_MSG((ch>='0' && ch<='9') || ch=='-' || ch==' ',
|
||||||
|
wxT("wxLEDNumberCtrl can only display numeric string values."));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
m_Value = Value;
|
||||||
|
RecalcInternals(GetClientSize());
|
||||||
|
|
||||||
|
if (Redraw)
|
||||||
|
Refresh(FALSE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BEGIN_EVENT_TABLE(wxLEDNumberCtrl, wxControl)
|
||||||
|
EVT_ERASE_BACKGROUND(wxLEDNumberCtrl::OnEraseBackground)
|
||||||
|
EVT_PAINT(wxLEDNumberCtrl::OnPaint)
|
||||||
|
EVT_SIZE(wxLEDNumberCtrl::OnSize)
|
||||||
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::OnEraseBackground(wxEraseEvent &Event)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::OnPaint(wxPaintEvent &Event)
|
||||||
|
{
|
||||||
|
wxPaintDC Dc(this);
|
||||||
|
|
||||||
|
int Width, Height;
|
||||||
|
GetClientSize(&Width, &Height);
|
||||||
|
|
||||||
|
wxBitmap *pMemoryBitmap = new wxBitmap(Width, Height);
|
||||||
|
wxMemoryDC MemDc;
|
||||||
|
|
||||||
|
MemDc.SelectObject(*pMemoryBitmap);
|
||||||
|
MemDc.BeginDrawing();
|
||||||
|
|
||||||
|
// Draw background.
|
||||||
|
MemDc.SetBrush(wxBrush(GetBackgroundColour(), wxSOLID));
|
||||||
|
MemDc.DrawRectangle(wxRect(0, 0, Width, Height));
|
||||||
|
MemDc.SetBrush(wxNullBrush);
|
||||||
|
|
||||||
|
// Iterate each digit in the value, and draw.
|
||||||
|
const int DigitCount = m_Value.Len();
|
||||||
|
for (int i = 0; i < DigitCount; ++i)
|
||||||
|
{
|
||||||
|
// Draw faded lines if wanted.
|
||||||
|
if (m_DrawFaded)
|
||||||
|
DrawDigit(MemDc, DIGITALL, i);
|
||||||
|
|
||||||
|
// Draw the digits.
|
||||||
|
switch (m_Value[i])
|
||||||
|
{
|
||||||
|
case '0' :
|
||||||
|
DrawDigit(MemDc, DIGIT0, i);
|
||||||
|
break;
|
||||||
|
case '1' :
|
||||||
|
DrawDigit(MemDc, DIGIT1, i);
|
||||||
|
break;
|
||||||
|
case '2' :
|
||||||
|
DrawDigit(MemDc, DIGIT2, i);
|
||||||
|
break;
|
||||||
|
case '3' :
|
||||||
|
DrawDigit(MemDc, DIGIT3, i);
|
||||||
|
break;
|
||||||
|
case '4' :
|
||||||
|
DrawDigit(MemDc, DIGIT4, i);
|
||||||
|
break;
|
||||||
|
case '5' :
|
||||||
|
DrawDigit(MemDc, DIGIT5, i);
|
||||||
|
break;
|
||||||
|
case '6' :
|
||||||
|
DrawDigit(MemDc, DIGIT6, i);
|
||||||
|
break;
|
||||||
|
case '7' :
|
||||||
|
DrawDigit(MemDc, DIGIT7, i);
|
||||||
|
break;
|
||||||
|
case '8' :
|
||||||
|
DrawDigit(MemDc, DIGIT8, i);
|
||||||
|
break;
|
||||||
|
case '9' :
|
||||||
|
DrawDigit(MemDc, DIGIT9, i);
|
||||||
|
break;
|
||||||
|
case '-' :
|
||||||
|
DrawDigit(MemDc, DASH, i);
|
||||||
|
break;
|
||||||
|
case ' ' :
|
||||||
|
// just skip it
|
||||||
|
break;
|
||||||
|
default :
|
||||||
|
wxFAIL_MSG(wxT("Unknown digit value"));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
MemDc.EndDrawing();
|
||||||
|
|
||||||
|
// Blit the memory dc to screen.
|
||||||
|
Dc.Blit(0, 0, Width, Height, &MemDc, 0, 0, wxCOPY);
|
||||||
|
delete pMemoryBitmap;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::DrawDigit(wxDC &Dc, int Digit, int Column)
|
||||||
|
{
|
||||||
|
wxColour LineColor(GetForegroundColour());
|
||||||
|
|
||||||
|
if (Digit == DIGITALL)
|
||||||
|
{
|
||||||
|
const int R = LineColor.Red() / 3;
|
||||||
|
const int G = LineColor.Green() / 3;
|
||||||
|
const int B = LineColor.Blue() / 3;
|
||||||
|
|
||||||
|
LineColor.Set(R, G, B);
|
||||||
|
}
|
||||||
|
|
||||||
|
int XPos = m_LeftStartPos;
|
||||||
|
|
||||||
|
if (Column > 0)
|
||||||
|
XPos += (Column * m_LineLength) + (m_DigitMargin) * Column;
|
||||||
|
|
||||||
|
// Create a pen and draw the lines.
|
||||||
|
wxPen Pen(LineColor, m_LineWidth, wxSOLID);
|
||||||
|
Dc.SetPen(Pen);
|
||||||
|
|
||||||
|
if ((Digit & LINE1))
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineMargin*2, m_LineMargin,
|
||||||
|
XPos + m_LineLength, m_LineMargin);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE2)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineLength + m_LineMargin, m_LineMargin*2,
|
||||||
|
XPos + m_LineLength + m_LineMargin, m_LineLength + (m_LineMargin*2));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE3)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineLength + m_LineMargin, m_LineLength + (m_LineMargin*4),
|
||||||
|
XPos + m_LineLength + m_LineMargin, m_LineLength*2 + (m_LineMargin*3));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE4)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineMargin*2, m_LineLength*2 + (m_LineMargin*4),
|
||||||
|
XPos + m_LineLength, m_LineLength*2 + (m_LineMargin*4));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE5)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineMargin, m_LineLength + (m_LineMargin*4),
|
||||||
|
XPos + m_LineMargin, m_LineLength*2 + (m_LineMargin*3));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE6)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineMargin, m_LineMargin*2,
|
||||||
|
XPos + m_LineMargin, m_LineLength + (m_LineMargin*2));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Digit & LINE7)
|
||||||
|
{
|
||||||
|
Dc.DrawLine(XPos + m_LineMargin*2, m_LineLength + (m_LineMargin*3),
|
||||||
|
XPos + m_LineMargin + m_LineLength - m_LineMargin, m_LineLength + (m_LineMargin*3));
|
||||||
|
}
|
||||||
|
|
||||||
|
Dc.SetPen(wxNullPen);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::RecalcInternals(const wxSize &CurrentSize)
|
||||||
|
{
|
||||||
|
const int Height = CurrentSize.GetHeight();
|
||||||
|
|
||||||
|
if ((Height * 0.07) < 1)
|
||||||
|
m_LineMargin = 1;
|
||||||
|
else
|
||||||
|
m_LineMargin = Height * 0.07;
|
||||||
|
|
||||||
|
if ((Height * 0.35) < 1)
|
||||||
|
m_LineLength = 1;
|
||||||
|
else
|
||||||
|
m_LineLength = Height * 0.35;
|
||||||
|
|
||||||
|
m_LineWidth = m_LineMargin;
|
||||||
|
|
||||||
|
m_DigitMargin = m_LineMargin * 4;
|
||||||
|
|
||||||
|
const int ValueWidth = (m_LineLength + m_DigitMargin) * m_Value.Len();
|
||||||
|
const int ClientWidth = CurrentSize.GetWidth();
|
||||||
|
|
||||||
|
switch (m_Alignment)
|
||||||
|
{
|
||||||
|
case wxLED_ALIGN_LEFT :
|
||||||
|
m_LeftStartPos = 0;
|
||||||
|
break;
|
||||||
|
case wxLED_ALIGN_RIGHT :
|
||||||
|
m_LeftStartPos = ClientWidth - ValueWidth;
|
||||||
|
break;
|
||||||
|
case wxLED_ALIGN_CENTER :
|
||||||
|
m_LeftStartPos = (ClientWidth - ValueWidth) / 2;
|
||||||
|
break;
|
||||||
|
default :
|
||||||
|
wxFAIL_MSG(wxT("Unknown alignent value for wxLEDNumberCtrl."));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void wxLEDNumberCtrl::OnSize(wxSizeEvent &Event)
|
||||||
|
{
|
||||||
|
RecalcInternals(Event.GetSize());
|
||||||
|
|
||||||
|
Event.Skip();
|
||||||
|
}
|
@@ -11,7 +11,7 @@ WXDIR = $(WXWIN)
|
|||||||
|
|
||||||
LIBTARGET=$(WXDIR)\lib\gizmos.lib
|
LIBTARGET=$(WXDIR)\lib\gizmos.lib
|
||||||
|
|
||||||
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj
|
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj ledctrl.obj
|
||||||
|
|
||||||
!include $(WXDIR)\src\makelib.b32
|
!include $(WXDIR)\src\makelib.b32
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@ WXDIR = $(WXWIN)
|
|||||||
|
|
||||||
LIBTARGET=$(WXDIR)\lib\gizmos.lib
|
LIBTARGET=$(WXDIR)\lib\gizmos.lib
|
||||||
|
|
||||||
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj
|
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj ledctrl.obj
|
||||||
|
|
||||||
!include $(WXDIR)\src\makelib.bcc
|
!include $(WXDIR)\src\makelib.bcc
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
WXDIR = ../../..
|
WXDIR = ../../..
|
||||||
|
|
||||||
LIBTARGET=$(WXDIR)/lib/libgizmos.a
|
LIBTARGET=$(WXDIR)/lib/libgizmos.a
|
||||||
OBJECTS = multicell.o splittree.o editlbox.o dynamicsash.o
|
OBJECTS = multicell.o splittree.o editlbox.o dynamicsash.o ledctrl.o
|
||||||
|
|
||||||
include $(WXDIR)/src/makelib.g95
|
include $(WXDIR)/src/makelib.g95
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\gizmos
|
|||||||
|
|
||||||
!include $(WXDIR)\src\makevc.env
|
!include $(WXDIR)\src\makevc.env
|
||||||
|
|
||||||
OBJECTS = $(D)\multicell.obj $(D)\splittree.obj $(D)\editlbox.obj $(D)\dynamicsash.obj
|
OBJECTS = $(D)\multicell.obj $(D)\splittree.obj $(D)\editlbox.obj $(D)\dynamicsash.obj $(D)\ledctrl.obj
|
||||||
|
|
||||||
LIBTARGET=$(WXDIR)\lib\gizmos$(LIBEXT).lib
|
LIBTARGET=$(WXDIR)\lib\gizmos$(LIBEXT).lib
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ THISDIR = $(WXDIR)\contrib\src\gizmos
|
|||||||
NAME = gizmos
|
NAME = gizmos
|
||||||
LNK = $(name).lnk
|
LNK = $(name).lnk
|
||||||
|
|
||||||
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj
|
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj ledctrl.obj
|
||||||
|
|
||||||
all: $(GIZMOSLIB)
|
all: $(GIZMOSLIB)
|
||||||
|
|
||||||
|
@@ -40,8 +40,6 @@
|
|||||||
#include "wx/msw/winundef.h"
|
#include "wx/msw/winundef.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/generic/treectlg.h"
|
|
||||||
|
|
||||||
#include "wx/gizmos/splittree.h"
|
#include "wx/gizmos/splittree.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
@@ -61,16 +59,24 @@ BEGIN_EVENT_TABLE(wxRemotelyScrolledTreeCtrl, wxGenericTreeCtrl)
|
|||||||
BEGIN_EVENT_TABLE(wxRemotelyScrolledTreeCtrl, wxTreeCtrl)
|
BEGIN_EVENT_TABLE(wxRemotelyScrolledTreeCtrl, wxTreeCtrl)
|
||||||
#endif
|
#endif
|
||||||
EVT_SIZE(wxRemotelyScrolledTreeCtrl::OnSize)
|
EVT_SIZE(wxRemotelyScrolledTreeCtrl::OnSize)
|
||||||
|
EVT_PAINT(wxRemotelyScrolledTreeCtrl::OnPaint)
|
||||||
EVT_TREE_ITEM_EXPANDED(-1, wxRemotelyScrolledTreeCtrl::OnExpand)
|
EVT_TREE_ITEM_EXPANDED(-1, wxRemotelyScrolledTreeCtrl::OnExpand)
|
||||||
EVT_TREE_ITEM_COLLAPSED(-1, wxRemotelyScrolledTreeCtrl::OnExpand)
|
EVT_TREE_ITEM_COLLAPSED(-1, wxRemotelyScrolledTreeCtrl::OnExpand)
|
||||||
EVT_SCROLLWIN(wxRemotelyScrolledTreeCtrl::OnScroll)
|
EVT_SCROLLWIN(wxRemotelyScrolledTreeCtrl::OnScroll)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
wxRemotelyScrolledTreeCtrl::wxRemotelyScrolledTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pt,
|
wxRemotelyScrolledTreeCtrl::wxRemotelyScrolledTreeCtrl(
|
||||||
const wxSize& sz, long style):
|
wxWindow* parent, wxWindowID id, const wxPoint& pt,
|
||||||
wxTreeCtrl(parent, id, pt, sz, style)
|
const wxSize& sz, long style)
|
||||||
|
: wxTreeCtrl(parent, id, pt, sz, style & ~wxTR_ROW_LINES)
|
||||||
{
|
{
|
||||||
m_companionWindow = NULL;
|
m_companionWindow = NULL;
|
||||||
|
|
||||||
|
// We draw the row lines ourself so they match what's done
|
||||||
|
// by the companion window. That is why the flag is turned
|
||||||
|
// off above, so wxGenericTreeCtrl doesn't draw them in a
|
||||||
|
// different colour.
|
||||||
|
m_drawRowLines = (style & wxTR_ROW_LINES) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxRemotelyScrolledTreeCtrl::~wxRemotelyScrolledTreeCtrl()
|
wxRemotelyScrolledTreeCtrl::~wxRemotelyScrolledTreeCtrl()
|
||||||
@@ -79,16 +85,20 @@ wxRemotelyScrolledTreeCtrl::~wxRemotelyScrolledTreeCtrl()
|
|||||||
|
|
||||||
void wxRemotelyScrolledTreeCtrl::HideVScrollbar()
|
void wxRemotelyScrolledTreeCtrl::HideVScrollbar()
|
||||||
{
|
{
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__)
|
||||||
|
#if USE_GENERIC_TREECTRL
|
||||||
if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
::ShowScrollBar((HWND) GetHWND(), SB_VERT, FALSE);
|
::ShowScrollBar((HWND) GetHWND(), SB_VERT, FALSE);
|
||||||
}
|
}
|
||||||
|
#if USE_GENERIC_TREECTRL
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
// Implicit in overriding SetScrollbars
|
// Implicit in overriding SetScrollbars
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of pixels per user unit (0 or -1 for no scrollbar)
|
// Number of pixels per user unit (0 or -1 for no scrollbar)
|
||||||
@@ -99,6 +109,7 @@ void wxRemotelyScrolledTreeCtrl::SetScrollbars(int pixelsPerUnitX, int pixelsPer
|
|||||||
int xPos, int yPos,
|
int xPos, int yPos,
|
||||||
bool noRefresh)
|
bool noRefresh)
|
||||||
{
|
{
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
{
|
{
|
||||||
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
||||||
@@ -110,6 +121,7 @@ void wxRemotelyScrolledTreeCtrl::SetScrollbars(int pixelsPerUnitX, int pixelsPer
|
|||||||
scrolledWindow->SetScrollbars(0, pixelsPerUnitY, 0, noUnitsY, 0, yPos, noRefresh);
|
scrolledWindow->SetScrollbars(0, pixelsPerUnitY, 0, noUnitsY, 0, yPos, noRefresh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// In case we're using the generic tree control.
|
// In case we're using the generic tree control.
|
||||||
@@ -117,6 +129,7 @@ int wxRemotelyScrolledTreeCtrl::GetScrollPos(int orient) const
|
|||||||
{
|
{
|
||||||
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
||||||
|
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
{
|
{
|
||||||
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
||||||
@@ -128,6 +141,7 @@ int wxRemotelyScrolledTreeCtrl::GetScrollPos(int orient) const
|
|||||||
return scrolledWindow->GetScrollPos(orient);
|
return scrolledWindow->GetScrollPos(orient);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -138,6 +152,7 @@ void wxRemotelyScrolledTreeCtrl::GetViewStart(int *x, int *y) const
|
|||||||
{
|
{
|
||||||
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
||||||
|
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -152,6 +167,7 @@ void wxRemotelyScrolledTreeCtrl::GetViewStart(int *x, int *y) const
|
|||||||
* y = y2;
|
* y = y2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// x is wrong since the horizontal scrollbar is controlled by the
|
// x is wrong since the horizontal scrollbar is controlled by the
|
||||||
// tree control, but we probably don't need it.
|
// tree control, but we probably don't need it.
|
||||||
@@ -162,6 +178,7 @@ void wxRemotelyScrolledTreeCtrl::GetViewStart(int *x, int *y) const
|
|||||||
// In case we're using the generic tree control.
|
// In case we're using the generic tree control.
|
||||||
void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC& dc)
|
void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC& dc)
|
||||||
{
|
{
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
{
|
{
|
||||||
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
||||||
@@ -178,6 +195,7 @@ void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC& dc)
|
|||||||
dc.SetDeviceOrigin( -startX * xppu1, -startY * yppu2 );
|
dc.SetDeviceOrigin( -startX * xppu1, -startY * yppu2 );
|
||||||
// dc.SetUserScale( win->GetScaleX(), win->GetScaleY() );
|
// dc.SetUserScale( win->GetScaleX(), win->GetScaleY() );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scroll to the given line (in scroll units where each unit is
|
// Scroll to the given line (in scroll units where each unit is
|
||||||
@@ -185,14 +203,19 @@ void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC& dc)
|
|||||||
void wxRemotelyScrolledTreeCtrl::ScrollToLine(int posHoriz, int posVert)
|
void wxRemotelyScrolledTreeCtrl::ScrollToLine(int posHoriz, int posVert)
|
||||||
{
|
{
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
#if USE_GENERIC_TREECTRL
|
||||||
if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
UINT sbCode = SB_THUMBPOSITION;
|
UINT sbCode = SB_THUMBPOSITION;
|
||||||
HWND vertScrollBar = 0;
|
HWND vertScrollBar = 0;
|
||||||
MSWDefWindowProc((WXUINT) WM_VSCROLL, MAKELONG(sbCode, posVert), (WXHWND) vertScrollBar);
|
MSWDefWindowProc((WXUINT) WM_VSCROLL, MAKELONG(sbCode, posVert), (WXHWND) vertScrollBar);
|
||||||
}
|
}
|
||||||
|
#if USE_GENERIC_TREECTRL
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
{
|
{
|
||||||
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
wxGenericTreeCtrl* win = (wxGenericTreeCtrl*) this;
|
||||||
win->Refresh();
|
win->Refresh();
|
||||||
@@ -206,6 +229,7 @@ void wxRemotelyScrolledTreeCtrl::ScrollToLine(int posHoriz, int posVert)
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxRemotelyScrolledTreeCtrl::OnSize(wxSizeEvent& event)
|
void wxRemotelyScrolledTreeCtrl::OnSize(wxSizeEvent& event)
|
||||||
@@ -229,9 +253,47 @@ void wxRemotelyScrolledTreeCtrl::OnExpand(wxTreeEvent& event)
|
|||||||
m_companionWindow->GetEventHandler()->ProcessEvent(event);
|
m_companionWindow->GetEventHandler()->ProcessEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxRemotelyScrolledTreeCtrl::OnPaint(wxPaintEvent& event)
|
||||||
|
{
|
||||||
|
wxPaintDC dc(this);
|
||||||
|
|
||||||
|
wxTreeCtrl::OnPaint(event);
|
||||||
|
|
||||||
|
if (! m_drawRowLines)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// Reset the device origin since it may have been set
|
||||||
|
dc.SetDeviceOrigin(0, 0);
|
||||||
|
|
||||||
|
wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
|
||||||
|
dc.SetPen(pen);
|
||||||
|
dc.SetBrush(* wxTRANSPARENT_BRUSH);
|
||||||
|
|
||||||
|
wxSize clientSize = GetClientSize();
|
||||||
|
wxRect itemRect;
|
||||||
|
int cy=0;
|
||||||
|
wxTreeItemId h, lastH;
|
||||||
|
for(h=GetFirstVisibleItem();h;h=GetNextVisible(h))
|
||||||
|
{
|
||||||
|
if (GetBoundingRect(h, itemRect))
|
||||||
|
{
|
||||||
|
cy = itemRect.GetTop();
|
||||||
|
dc.DrawLine(0, cy, clientSize.x, cy);
|
||||||
|
lastH = h;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (GetBoundingRect(lastH, itemRect))
|
||||||
|
{
|
||||||
|
cy = itemRect.GetBottom();
|
||||||
|
dc.DrawLine(0, cy, clientSize.x, cy);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Adjust the containing wxScrolledWindow's scrollbars appropriately
|
// Adjust the containing wxScrolledWindow's scrollbars appropriately
|
||||||
void wxRemotelyScrolledTreeCtrl::AdjustRemoteScrollbars()
|
void wxRemotelyScrolledTreeCtrl::AdjustRemoteScrollbars()
|
||||||
{
|
{
|
||||||
|
#if USE_GENERIC_TREECTRL || !defined(__WXMSW__)
|
||||||
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
|
||||||
{
|
{
|
||||||
// This is for the generic tree control.
|
// This is for the generic tree control.
|
||||||
@@ -242,6 +304,7 @@ void wxRemotelyScrolledTreeCtrl::AdjustRemoteScrollbars()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
// This is for the wxMSW tree control
|
// This is for the wxMSW tree control
|
||||||
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
wxScrolledWindow* scrolledWindow = GetScrolledWindow();
|
||||||
|
@@ -41,7 +41,7 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "Release"
|
# PROP Intermediate_Dir "Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c
|
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../include" /I "../../include" /I "../../../lib/mswd" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -64,7 +64,7 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "Debug"
|
# PROP Intermediate_Dir "Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c
|
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "../../../include" /I "../../include" /I "../../../lib/msw" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /YX /FD /c
|
||||||
# ADD BASE RSC /l 0x809
|
# ADD BASE RSC /l 0x809
|
||||||
# ADD RSC /l 0x809
|
# ADD RSC /l 0x809
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -134,6 +134,10 @@ SOURCE=.\sndg72x.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\sndmsad.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\sndpcm.cpp
|
SOURCE=.\sndpcm.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
* Mountain View, California 94043
|
* Mountain View, California 94043
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* g711.c
|
* g711.c
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
* Mountain View, California 94043
|
* Mountain View, California 94043
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* g721.c
|
* g721.c
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
* of workstation attributes, such as hardware 2's complement arithmetic.
|
* of workstation attributes, such as hardware 2's complement arithmetic.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
#include "wx/mmedia/internal/g72x.h"
|
#include "wx/mmedia/internal/g72x.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -45,7 +45,7 @@
|
|||||||
* the name of the module which it is implementing.
|
* the name of the module which it is implementing.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
#include "wx/mmedia/internal/g72x.h"
|
#include "wx/mmedia/internal/g72x.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
* Common routines for G.721 and G.723 conversions.
|
* Common routines for G.721 and G.723 conversions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "wx/mmedia/internal/g72x.h"
|
#include "wx/mmedia/internal/g72x.h"
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#pragma implementation "sndbase.cpp"
|
#pragma implementation "sndbase.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999, 2000
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999, 2000
|
||||||
// CVSID: $Id$
|
// CVSID: $Id$
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#pragma implementation "sndg72x.cpp"
|
#pragma implementation "sndg72x.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#pragma implementation "sndmsad.cpp"
|
#pragma implementation "sndmsad.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
@@ -77,7 +77,7 @@ void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs,
|
|||||||
delete[] m_coefs;
|
delete[] m_coefs;
|
||||||
}
|
}
|
||||||
// TODO: Add some memory checking here
|
// TODO: Add some memory checking here
|
||||||
m_coefs = new (wxInt16 *)[ncoefs];
|
m_coefs = new wxInt16 *[ncoefs];
|
||||||
|
|
||||||
for (i=0;i<ncoefs;i++)
|
for (i=0;i<ncoefs;i++)
|
||||||
m_coefs[i] = new wxInt16[coefs_len];
|
m_coefs[i] = new wxInt16[coefs_len];
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user