Compare commits
355 Commits
wxPy_2_3_3
...
v2.4.0
Author | SHA1 | Date | |
---|---|---|---|
|
0416ad24a3 | ||
|
00fd036c18 | ||
|
a23eb2cecb | ||
|
50b4dd1c95 | ||
|
cb84e27d14 | ||
|
799cea0031 | ||
|
86118733af | ||
|
cfc82bcb2e | ||
|
0a615ec196 | ||
|
db82f09ecb | ||
|
92ac4cdc8c | ||
|
4769a56275 | ||
|
c057a510d6 | ||
|
b4d0ec4edc | ||
|
64b73f1a2e | ||
|
befe9ee1ca | ||
|
5715cc1bed | ||
|
39b80349a1 | ||
|
e52d9c784e | ||
|
2499871095 | ||
|
7b35aa40a0 | ||
|
dd46ee66e5 | ||
|
d45720c55f | ||
|
0dd6e08c53 | ||
|
eb1ab6f915 | ||
|
c5cf1acc55 | ||
|
75378e31e9 | ||
|
1c393e484d | ||
|
cc02b6457a | ||
|
e438abe584 | ||
|
3be6aea994 | ||
|
29ee95e8bc | ||
|
b55a176b25 | ||
|
892bf376e9 | ||
|
ac7f882683 | ||
|
e225b106d9 | ||
|
b7282ad267 | ||
|
21e3b8620a | ||
|
4356ee76a5 | ||
|
e32f3f4740 | ||
|
47dc9f7871 | ||
|
774468bd68 | ||
|
79668caec9 | ||
|
df93d8bab7 | ||
|
fe5de1ea10 | ||
|
8b5be08a09 | ||
|
6500c0b134 | ||
|
564098605f | ||
|
2c00930d43 | ||
|
c721300b59 | ||
|
307b0b97ee | ||
|
d4f6a3a014 | ||
|
8a646b6b9f | ||
|
4ea2c29f51 | ||
|
58071ea008 | ||
|
629724b6b8 | ||
|
b2da87c316 | ||
|
d9d3622e59 | ||
|
0fd28ea3df | ||
|
66bd58e8a6 | ||
|
e32c4e6082 | ||
|
5005acfef5 | ||
|
dc1f566f6a | ||
|
009a066588 | ||
|
d57ad37701 | ||
|
81a0614bf2 | ||
|
47a06a26bd | ||
|
6886fcfafe | ||
|
a8de819021 | ||
|
e7d073c376 | ||
|
d25a60983c | ||
|
31370adbc1 | ||
|
5cc241c6ff | ||
|
dcdce64e66 | ||
|
70f2e88c6b | ||
|
f8d791e0a4 | ||
|
ce68ad2572 | ||
|
a1db4ad4a4 | ||
|
b00e9f10c7 | ||
|
2936eaf046 | ||
|
e7163afc45 | ||
|
f114b8580b | ||
|
f1389d464a | ||
|
5e6f681dd8 | ||
|
c5a7ca8689 | ||
|
6ba7c06eee | ||
|
7f93875dfe | ||
|
64e15340d0 | ||
|
69c14ebe01 | ||
|
df17b887ee | ||
|
706f30f83c | ||
|
7aeebdcd3d | ||
|
66ee25523a | ||
|
69429a166f | ||
|
9b11cb6e3f | ||
|
a579926062 | ||
|
fbd9040196 | ||
|
ab958adb1e | ||
|
576acdf322 | ||
|
9bbfd96101 | ||
|
c8921892b5 | ||
|
e9561b3b2b | ||
|
1e4709b330 | ||
|
cfce733e17 | ||
|
a9ddd4437d | ||
|
c5f5904385 | ||
|
4f57cf112e | ||
|
af8fe02387 | ||
|
db16e5c3aa | ||
|
4147efe9ab | ||
|
ee3ef2817f | ||
|
b1a046e821 | ||
|
197b162641 | ||
|
a4000ca2b7 | ||
|
0c61716c79 | ||
|
e91d2033ee | ||
|
6b978929d5 | ||
|
cd6b752b83 | ||
|
cabf185cd2 | ||
|
6eb280e956 | ||
|
c4077b3424 | ||
|
1a75e76f39 | ||
|
9aacdd48fb | ||
|
eaeeb91eb6 | ||
|
59b9a2607a | ||
|
22a3a1994c | ||
|
8255d371b6 | ||
|
57e6713594 | ||
|
72d35070d8 | ||
|
7e92d86d78 | ||
|
50ded68d38 | ||
|
011a524e9e | ||
|
45d5a0c6d8 | ||
|
b42ea279ce | ||
|
a90253f00d | ||
|
456ae26d78 | ||
|
923e5f56fc | ||
|
7d55cdc033 | ||
|
1e6796a093 | ||
|
14f8fa9d7f | ||
|
27813df1f7 | ||
|
e9c54ec336 | ||
|
b35191eb54 | ||
|
311da78ab0 | ||
|
2918e2d254 | ||
|
a66a391e70 | ||
|
bca7bfc878 | ||
|
790dbce337 | ||
|
9cedab372e | ||
|
5b636c67e2 | ||
|
fb817e4c71 | ||
|
080c709f70 | ||
|
9afe6c1750 | ||
|
c6707d16fe | ||
|
6ce16bdb55 | ||
|
aa5b885706 | ||
|
ecd69fb6e9 | ||
|
d56c4286e3 | ||
|
7fbc642095 | ||
|
ab7ce33c56 | ||
|
3ed884a0b8 | ||
|
be604faa7b | ||
|
4e3ad7c095 | ||
|
4d8ef9ec7d | ||
|
da4fe3f3d1 | ||
|
47610ec22a | ||
|
9e04d98299 | ||
|
0dacfc5ce4 | ||
|
e37a28a0de | ||
|
4589ec39c0 | ||
|
3a9a01661a | ||
|
e9378bd661 | ||
|
6a1359c0a5 | ||
|
8f262dc567 | ||
|
31988931ca | ||
|
9042a01738 | ||
|
42ba812b70 | ||
|
a834585d74 | ||
|
b38f3ff378 | ||
|
fc8eba27ef | ||
|
8dd8f87530 | ||
|
9832266054 | ||
|
2dcd33c258 | ||
|
07ed7e32ee | ||
|
15f43e762c | ||
|
b2ddee86fe | ||
|
4ea97290b8 | ||
|
59d04dff03 | ||
|
40dd6c07aa | ||
|
248bcf0aa5 | ||
|
4eb65923fc | ||
|
09cca25189 | ||
|
50bcbd3d0e | ||
|
11a2ce5ad2 | ||
|
79f1dd05ad | ||
|
159f4b336e | ||
|
da906b9742 | ||
|
aa6ca3dcc9 | ||
|
e26c13cffd | ||
|
ae31cc57f7 | ||
|
e11f2e1645 | ||
|
dd23c25cde | ||
|
67a92fff32 | ||
|
fd512ba286 | ||
|
d8f3f98359 | ||
|
db54b04615 | ||
|
40716a510b | ||
|
e015d1f7da | ||
|
85d5e282e9 | ||
|
2385ec429a | ||
|
06313569d8 | ||
|
5efff1479e | ||
|
1b2a04da9a | ||
|
ad2622f15d | ||
|
57351df0a6 | ||
|
c601df457c | ||
|
2af6b4c37f | ||
|
7e2f4683db | ||
|
77ab277914 | ||
|
a682b31c35 | ||
|
28e40b1e06 | ||
|
b8ddac49a3 | ||
|
a8ddb18623 | ||
|
ca8e52b3d2 | ||
|
2bffed64c5 | ||
|
2076893b53 | ||
|
8705ab68e2 | ||
|
798265916e | ||
|
8161b5b9f0 | ||
|
f0b47621e9 | ||
|
390015c0ee | ||
|
333e110dab | ||
|
a42de1303a | ||
|
b7b45f6ffc | ||
|
b261fbf3dc | ||
|
8c3288a7b6 | ||
|
95f102ab59 | ||
|
0e080be64b | ||
|
f5ea767eb8 | ||
|
a715019788 | ||
|
b2fee376fd | ||
|
7975104d4a | ||
|
93ff73b308 | ||
|
a1f9e3ec5d | ||
|
d38e8d5f34 | ||
|
1de4baa31f | ||
|
a85030bd90 | ||
|
0c0cee1ed3 | ||
|
8c3289daa4 | ||
|
f9c62cfcdd | ||
|
a336f999c2 | ||
|
ce209cf15b | ||
|
d2c7015bf0 | ||
|
f02444d0d7 | ||
|
1bfec677b1 | ||
|
57530dba85 | ||
|
7b108a5e8c | ||
|
59571fc076 | ||
|
68b767bf88 | ||
|
011ba5ed7e | ||
|
7ccb2521a6 | ||
|
cc77c86d1e | ||
|
6151e1445b | ||
|
a1d22ad7e9 | ||
|
478cababc5 | ||
|
c049568782 | ||
|
a696db453c | ||
|
1d7609197e | ||
|
b814b81248 | ||
|
a543e3ce7e | ||
|
ae3047441e | ||
|
e0252fb681 | ||
|
a811affe70 | ||
|
2ae8a35352 | ||
|
14bc59a252 | ||
|
f7a75af18d | ||
|
748333bd25 | ||
|
ec8c565daf | ||
|
9a1725c45a | ||
|
7e48d7d9fb | ||
|
cd3c2375e6 | ||
|
74c107ba48 | ||
|
bbcd408aa7 | ||
|
a679468530 | ||
|
7948c0c244 | ||
|
5a33bc097f | ||
|
8403515064 | ||
|
44379ce6fa | ||
|
f010ad4812 | ||
|
1affde0a6b | ||
|
e2450fa9b4 | ||
|
a373d23b14 | ||
|
068a7cfeee | ||
|
83a16cfa8c | ||
|
c269cf6235 | ||
|
ff095200f7 | ||
|
ad603bf790 | ||
|
739555e321 | ||
|
27f35b6674 | ||
|
fb86524fc3 | ||
|
788233da90 | ||
|
6c5672c0d4 | ||
|
a78a4f6033 | ||
|
0b0625e922 | ||
|
0653d364dd | ||
|
02df379910 | ||
|
48d2ab90ee | ||
|
de6ac3397d | ||
|
70373b5a57 | ||
|
b5b62eea2d | ||
|
af49c4b8a2 | ||
|
85d8c319d6 | ||
|
5cf69f76a1 | ||
|
cfcebdb1bb | ||
|
ef5f8ab626 | ||
|
cf6e951cf2 | ||
|
4d7b7fc212 | ||
|
9487bf1700 | ||
|
018d3030cc | ||
|
ee7908dbe9 | ||
|
1af48460ac | ||
|
1fb35ade9b | ||
|
89cd4125bd | ||
|
4d1cbdbe17 | ||
|
0ace90958b | ||
|
3bce6687f4 | ||
|
f13b39c0c3 | ||
|
fa3d9b4e30 | ||
|
1303a240dd | ||
|
c03690057b | ||
|
edd802c67c | ||
|
80c82e0175 | ||
|
879dcac2f1 | ||
|
f289196b3a | ||
|
07901ec945 | ||
|
a69be60b0f | ||
|
98020767fd | ||
|
d7cbabe039 | ||
|
9a76510b8a | ||
|
0493ba1399 | ||
|
0ca5105b34 | ||
|
62d3ee70e5 | ||
|
a165a5dd04 | ||
|
18c60872a0 | ||
|
02fd5400c0 | ||
|
6969f178bf | ||
|
a0b9e27fd4 | ||
|
09740c31b9 | ||
|
f2c9093fc1 | ||
|
0bc7468b1f | ||
|
1281c5c188 | ||
|
80020b62f9 | ||
|
f9ceab7ce6 | ||
|
d8f591c4d9 | ||
|
3477409312 |
115
Makefile.in
115
Makefile.in
@@ -391,11 +391,23 @@ afminstall: preinstall
|
|||||||
$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
||||||
$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/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
|
$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
||||||
|
|
||||||
m4datainstall: preinstall
|
m4datainstall: preinstall
|
||||||
$(INSTALL) -d $(datadir)/aclocal
|
$(INSTALL) -d $(datadir)/aclocal
|
||||||
$(INSTALL_DATA) $(top_srcdir)/wxwin.m4 $(datadir)/aclocal
|
$(INSTALL_DATA) $(top_srcdir)/wxwin.m4 $(datadir)/aclocal
|
||||||
|
|
||||||
|
win32install: preinstall
|
||||||
|
$(INSTALL) -d $(includedir)/wx/msw
|
||||||
|
$(INSTALL) -d $(includedir)/wx/msw/gnuwin32
|
||||||
|
$(INSTALL) -d $(includedir)/wx/msw/gnuwin32/gl
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/include/wx/msw/*.cur \
|
||||||
|
$(top_srcdir)/include/wx/msw/*.ico \
|
||||||
|
$(top_srcdir)/include/wx/msw/*.bmp \
|
||||||
|
$(top_srcdir)/include/wx/msw/wx.rc \
|
||||||
|
$(includedir)/wx/msw
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/include/wx/msw/gnuwin32/*.h $(includedir)/wx/msw/gnuwin32
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/include/wx/msw/gnuwin32/gl/*.h $(includedir)/wx/msw/gnuwin32/gl
|
||||||
|
|
||||||
# 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: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
|
preinstall: $(build_libdir)/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
|
||||||
@@ -462,7 +474,7 @@ preinstall_gl: $(build_libdir)/@WX_TARGET_LIBRARY_GL@
|
|||||||
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
|
||||||
@INSTALL_LIBRARY@ $(build_libdir)/@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@ m4datainstall
|
install: @AFMINSTALL@ @WX_ALL_INSTALLED@ m4datainstall @WIN32INSTALL@
|
||||||
@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"
|
||||||
@@ -493,7 +505,7 @@ uninstall:
|
|||||||
@$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config
|
@$(RM) $(bindir)/wx@TOOLCHAIN_NAME@-config
|
||||||
@$(RM) $(datadir)/wx/$(VER_MAJMIN)/afm/*
|
@$(RM) $(datadir)/wx/$(VER_MAJMIN)/afm/*
|
||||||
@$(RM) $(datadir)/wx/$(VER_MAJMIN)/gs_afm/*
|
@$(RM) $(datadir)/wx/$(VER_MAJMIN)/gs_afm/*
|
||||||
# FIXME: wxBase doesnt install these next 3 dirs.
|
# FIXME: wxBase doesnt install these next 3 dirs.
|
||||||
@-rmdir $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
@-rmdir $(datadir)/wx/$(VER_MAJMIN)/gs_afm
|
||||||
@-rmdir $(datadir)/wx/$(VER_MAJMIN)/afm
|
@-rmdir $(datadir)/wx/$(VER_MAJMIN)/afm
|
||||||
@-rmdir $(datadir)/wx/$(VER_MAJMIN)
|
@-rmdir $(datadir)/wx/$(VER_MAJMIN)
|
||||||
@@ -502,6 +514,7 @@ uninstall:
|
|||||||
@list='$(HEADERS)'; for p in $$list; do \
|
@list='$(HEADERS)'; for p in $$list; do \
|
||||||
$(RM) $(includedir)/wx/$$p; \
|
$(RM) $(includedir)/wx/$$p; \
|
||||||
done
|
done
|
||||||
|
# TODO: uninstall the files installed by win32install
|
||||||
@echo " Removing i18n files..."
|
@echo " Removing i18n files..."
|
||||||
@-for p in $(WX_LINGUAS); do \
|
@-for p in $(WX_LINGUAS); do \
|
||||||
$(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
|
$(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
|
||||||
@@ -536,6 +549,7 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/install-sh $(DISTDIR)
|
cp $(WXDIR)/install-sh $(DISTDIR)
|
||||||
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
||||||
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
||||||
|
cp $(WXDIR)/version-script.in $(DISTDIR)
|
||||||
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
||||||
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
||||||
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
||||||
@@ -543,13 +557,16 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/wxBase.spec $(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)/changes.txt $(DISTDIR)/CHANGES.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/
|
# temp hack for common/execcmn.cpp: it's not supported by tmake
|
||||||
|
# yet (it's a header-like file but in src/common directory and it
|
||||||
|
# shouldn't be distributed...)
|
||||||
|
mkdir $(DISTDIR)/src/common
|
||||||
|
cp $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common
|
||||||
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
|
||||||
@@ -577,7 +594,8 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
|
if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
|
cp $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
|
cp $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
|
||||||
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt
|
if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \
|
||||||
|
cp $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi
|
||||||
mkdir $(DISTDIR)/include
|
mkdir $(DISTDIR)/include
|
||||||
mkdir $(DISTDIR)/include/wx
|
mkdir $(DISTDIR)/include/wx
|
||||||
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
||||||
@@ -598,7 +616,6 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
||||||
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
||||||
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
||||||
mkdir $(DISTDIR)/src/common
|
|
||||||
mkdir $(DISTDIR)/src/generic
|
mkdir $(DISTDIR)/src/generic
|
||||||
mkdir $(DISTDIR)/src/html
|
mkdir $(DISTDIR)/src/html
|
||||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||||
@@ -650,7 +667,6 @@ BASE_DIST: ALL_DIST
|
|||||||
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)/include/wx/msw
|
||||||
mkdir $(DISTDIR)/src/common
|
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
mkdir $(DISTDIR)/src/msw
|
mkdir $(DISTDIR)/src/msw
|
||||||
cp @PORT_FILES@ $(DISTDIR)
|
cp @PORT_FILES@ $(DISTDIR)
|
||||||
@@ -659,6 +675,7 @@ BASE_DIST: ALL_DIST
|
|||||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||||
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
|
cp $(SRCDIR)/files.lst $(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
|
||||||
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
|
||||||
@@ -692,6 +709,16 @@ GTK_DIST: ALL_GUI_DIST
|
|||||||
mkdir $(DISTDIR)/contrib
|
mkdir $(DISTDIR)/contrib
|
||||||
cp -R $(WXDIR)/contrib $(DISTDIR)
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
|
X11_DIST: ALL_GUI_DIST UNIV_DIST
|
||||||
|
cp $(WXDIR)/wxX11.spec $(DISTDIR)
|
||||||
|
cp $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
|
||||||
|
cp $(X11DIR)/files.lst $(DISTDIR)/src/x11
|
||||||
|
cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
|
||||||
|
cp $(X11DIR)/*.c $(DISTDIR)/src/x11
|
||||||
|
cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
|
||||||
|
mkdir $(DISTDIR)/contrib
|
||||||
|
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
|
||||||
@@ -765,16 +792,28 @@ MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
|
|||||||
cp $(SRCDIR)/*.??? $(DISTDIR)/src
|
cp $(SRCDIR)/*.??? $(DISTDIR)/src
|
||||||
cp $(SRCDIR)/*.?? $(DISTDIR)/src
|
cp $(SRCDIR)/*.?? $(DISTDIR)/src
|
||||||
cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
|
cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
|
||||||
|
mkdir $(DISTDIR)/contrib
|
||||||
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
UNIV_DIST: ALL_GUI_DIST
|
UNIV_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/include/wx/univ
|
mkdir $(DISTDIR)/include/wx/univ
|
||||||
mkdir $(DISTDIR)/src/univ
|
mkdir $(DISTDIR)/src/univ
|
||||||
mkdir $(DISTDIR)/src/univ/themes
|
mkdir $(DISTDIR)/src/univ/themes
|
||||||
cp $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
|
cp $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
|
||||||
|
cp $(INCDIR)/wx/univ/setup0.h $(DISTDIR)/include/wx/univ/setup.h
|
||||||
cp $(SRCDIR)/univ/files.lst $(DISTDIR)/src/univ
|
cp $(SRCDIR)/univ/files.lst $(DISTDIR)/src/univ
|
||||||
cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
|
cp $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
|
||||||
cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
|
cp $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
|
||||||
|
|
||||||
|
MGL_DIST: UNIV_DIST
|
||||||
|
cp $(WXDIR)/wxMGL.spec $(DISTDIR)
|
||||||
|
cp $(INCDIR)/wx/mgl/*.h $(DISTDIR)/include/wx/mgl
|
||||||
|
cp $(SRCDIR)/mgl/files.lst $(DISTDIR)/src/mgl
|
||||||
|
cp $(SRCDIR)/mgl/make* $(DISTDIR)/src/mgl
|
||||||
|
cp $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl
|
||||||
|
mkdir $(DISTDIR)/contrib
|
||||||
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
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
|
||||||
@@ -830,6 +869,13 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/configure $(DISTDIR)/samples
|
cp $(SAMPDIR)/configure $(DISTDIR)/samples
|
||||||
cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
|
cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/artprov
|
||||||
|
cp $(SAMPDIR)/artprov/Makefile.in $(DISTDIR)/samples/artprov
|
||||||
|
cp $(SAMPDIR)/artprov/makefile.unx $(DISTDIR)/samples/artprov
|
||||||
|
cp $(SAMPDIR)/artprov/*.cpp $(DISTDIR)/samples/artprov
|
||||||
|
cp $(SAMPDIR)/artprov/*.h $(DISTDIR)/samples/artprov
|
||||||
|
cp $(SAMPDIR)/artprov/*.xpm $(DISTDIR)/samples/artprov
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/calendar
|
mkdir $(DISTDIR)/samples/calendar
|
||||||
cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
|
cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
|
||||||
cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
|
cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
|
||||||
@@ -1006,7 +1052,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
|
||||||
|
|
||||||
@@ -1041,6 +1087,10 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
|
cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
|
||||||
cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
|
cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/keyboard
|
||||||
|
cp $(SAMPDIR)/keyboard/Makefile.in $(DISTDIR)/samples/keyboard
|
||||||
|
cp $(SAMPDIR)/keyboard/*.cpp $(DISTDIR)/samples/keyboard
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/layout
|
mkdir $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
|
||||||
@@ -1098,6 +1148,11 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/mobile/wxedit/Makefile.in $(DISTDIR)/samples/mobile/wxedit
|
cp $(SAMPDIR)/mobile/wxedit/Makefile.in $(DISTDIR)/samples/mobile/wxedit
|
||||||
cp $(SAMPDIR)/mobile/wxedit/*.cpp $(DISTDIR)/samples/mobile/wxedit
|
cp $(SAMPDIR)/mobile/wxedit/*.cpp $(DISTDIR)/samples/mobile/wxedit
|
||||||
cp $(SAMPDIR)/mobile/wxedit/*.h $(DISTDIR)/samples/mobile/wxedit
|
cp $(SAMPDIR)/mobile/wxedit/*.h $(DISTDIR)/samples/mobile/wxedit
|
||||||
|
mkdir $(DISTDIR)/samples/mobile/styles
|
||||||
|
cp $(SAMPDIR)/mobile/styles/Makefile.in $(DISTDIR)/samples/mobile/styles
|
||||||
|
cp $(SAMPDIR)/mobile/styles/*.cpp $(DISTDIR)/samples/mobile/styles
|
||||||
|
cp $(SAMPDIR)/mobile/styles/*.h $(DISTDIR)/samples/mobile/styles
|
||||||
|
cp $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dialup
|
mkdir $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
||||||
@@ -1293,6 +1348,18 @@ UTILS_DIST: ALL_GUI_DIST
|
|||||||
cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
||||||
cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
|
cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/emulator
|
||||||
|
mkdir $(DISTDIR)/utils/emulator/src
|
||||||
|
mkdir $(DISTDIR)/utils/emulator/docs
|
||||||
|
cp $(UTILSDIR)/emulator/*.in $(DISTDIR)/utils/emulator
|
||||||
|
cp $(UTILSDIR)/emulator/src/*.h $(DISTDIR)/utils/emulator/src
|
||||||
|
cp $(UTILSDIR)/emulator/src/*.in $(DISTDIR)/utils/emulator/src
|
||||||
|
cp $(UTILSDIR)/emulator/src/*.cpp $(DISTDIR)/utils/emulator/src
|
||||||
|
cp $(UTILSDIR)/emulator/src/*.jpg $(DISTDIR)/utils/emulator/src
|
||||||
|
cp $(UTILSDIR)/emulator/src/*.wxe $(DISTDIR)/utils/emulator/src
|
||||||
|
cp $(UTILSDIR)/emulator/docs/*.txt $(DISTDIR)/utils/emulator/docs
|
||||||
|
cp $(UTILSDIR)/emulator/docs/*.jpg $(DISTDIR)/utils/emulator/docs
|
||||||
|
|
||||||
mkdir $(DISTDIR)/utils/makegen
|
mkdir $(DISTDIR)/utils/makegen
|
||||||
mkdir $(DISTDIR)/utils/makegen/templates
|
mkdir $(DISTDIR)/utils/makegen/templates
|
||||||
cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
|
cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
|
||||||
@@ -1307,7 +1374,29 @@ UTILS_DIST: ALL_GUI_DIST
|
|||||||
cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
|
cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
|
||||||
cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
|
cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
|
||||||
|
|
||||||
cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
|
mkdir $(DISTDIR)/utils/dialoged
|
||||||
|
mkdir $(DISTDIR)/utils/dialoged/src
|
||||||
|
mkdir $(DISTDIR)/utils/dialoged/src/bitmaps
|
||||||
|
mkdir $(DISTDIR)/utils/dialoged/docs
|
||||||
|
cp $(UTILSDIR)/dialoged/Makefile.in $(DISTDIR)/utils/dialoged
|
||||||
|
cp $(UTILSDIR)/dialoged/src/*.h $(DISTDIR)/utils/dialoged/src
|
||||||
|
cp $(UTILSDIR)/dialoged/src/*.cpp $(DISTDIR)/utils/dialoged/src
|
||||||
|
cp $(UTILSDIR)/dialoged/src/Makefile.in $(DISTDIR)/utils/dialoged/src
|
||||||
|
cp $(UTILSDIR)/dialoged/src/makefile.unx $(DISTDIR)/utils/dialoged/src
|
||||||
|
cp $(UTILSDIR)/dialoged/src/bitmaps/*.xpm $(DISTDIR)/utils/dialoged/src/bitmaps
|
||||||
|
cp $(UTILSDIR)/dialoged/docs/*.tex $(DISTDIR)/utils/dialoged/docs
|
||||||
|
cp $(UTILSDIR)/dialoged/docs/*.ini $(DISTDIR)/utils/dialoged/docs
|
||||||
|
cp $(UTILSDIR)/dialoged/docs/*.gif $(DISTDIR)/utils/dialoged/docs
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/helpview
|
||||||
|
mkdir $(DISTDIR)/utils/helpview/src
|
||||||
|
mkdir $(DISTDIR)/utils/helpview/src/bitmaps
|
||||||
|
cp $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview
|
||||||
|
cp $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src
|
||||||
|
cp $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src
|
||||||
|
cp $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src
|
||||||
|
cp $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src
|
||||||
|
cp $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps
|
||||||
|
|
||||||
MISC_DIST: ALL_GUI_DIST
|
MISC_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/misc
|
mkdir $(DISTDIR)/misc
|
||||||
@@ -1414,6 +1503,11 @@ dist-only:
|
|||||||
|
|
||||||
dist: @GUIDIST@
|
dist: @GUIDIST@
|
||||||
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
||||||
|
@# now prune away a lot of the crap included by using cp -R
|
||||||
|
@# in other dist targets.
|
||||||
|
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
|
||||||
@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 \
|
||||||
cd $(DISTDIR); \
|
cd $(DISTDIR); \
|
||||||
@@ -1487,6 +1581,7 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
|
|||||||
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-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
|
||||||
|
cp $(SRCDIR)/files.lst $(DISTDIR)/src
|
||||||
|
|
||||||
debian-msw-dirs:
|
debian-msw-dirs:
|
||||||
mkdir $(DISTDIR)/include/wx/msw
|
mkdir $(DISTDIR)/include/wx/msw
|
||||||
|
80
acinclude.m4
80
acinclude.m4
@@ -19,7 +19,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
||||||
[
|
[
|
||||||
ac_find_includes=
|
ac_find_includes=
|
||||||
for ac_dir in $1;
|
for ac_dir in $1 /usr/include;
|
||||||
do
|
do
|
||||||
if test -f "$ac_dir/$2"; then
|
if test -f "$ac_dir/$2"; then
|
||||||
ac_find_includes=$ac_dir
|
ac_find_includes=$ac_dir
|
||||||
@@ -35,7 +35,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
||||||
[
|
[
|
||||||
ac_find_libraries=
|
ac_find_libraries=
|
||||||
for ac_dir in $1;
|
for ac_dir in $1 /usr/lib;
|
||||||
do
|
do
|
||||||
for ac_extension in a so sl dylib; do
|
for ac_extension in a so sl dylib; do
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||||
@@ -51,13 +51,17 @@ dnl Path to include, already defined
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
||||||
[
|
[
|
||||||
ac_path_to_include=$1
|
dnl never add -I/usr/include to the CPPFLAGS
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
if test "x$1" = "x/usr/include"; then
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
ac_path_to_include=""
|
||||||
else
|
else
|
||||||
ac_path_to_include=" -I$1"
|
echo "$2" | grep "\-I$1" > /dev/null
|
||||||
|
result=$?
|
||||||
|
if test $result = 0; then
|
||||||
|
ac_path_to_include=""
|
||||||
|
else
|
||||||
|
ac_path_to_include=" -I$1"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -336,10 +340,15 @@ AC_DEFUN([WX_ARG_WITH],
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
|
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
||||||
|
dnl
|
||||||
|
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
||||||
|
dnl message when running configure instead of the default "checking for
|
||||||
|
dnl --enable-foo" one whih is useful for the options enabled by default
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
AC_DEFUN([WX_ARG_ENABLE],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([for --enable-$1])
|
enablestring=$4
|
||||||
|
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||||
no_cache=0
|
no_cache=0
|
||||||
AC_ARG_ENABLE($1, [$2],
|
AC_ARG_ENABLE($1, [$2],
|
||||||
[
|
[
|
||||||
@@ -373,6 +382,59 @@ AC_DEFUN([WX_ARG_ENABLE],
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl ===========================================================================
|
||||||
|
dnl Linker features test
|
||||||
|
dnl ===========================================================================
|
||||||
|
|
||||||
|
dnl ---------------------------------------------------------------------------
|
||||||
|
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
||||||
|
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
||||||
|
dnl version script file named versionfile
|
||||||
|
dnl
|
||||||
|
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
||||||
|
dnl ---------------------------------------------------------------------------
|
||||||
|
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
||||||
|
[
|
||||||
|
found_versioning=no
|
||||||
|
|
||||||
|
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
|
||||||
|
dnl in the script.
|
||||||
|
dnl dnl Check for known non-gcc cases:
|
||||||
|
dnl case "${host}" in
|
||||||
|
dnl *-*-solaris2* )
|
||||||
|
dnl if test "x$GCC" != "xyes" ; then
|
||||||
|
dnl LDFLAGS_VERSIONING="-M $1"
|
||||||
|
dnl found_versioning=yes
|
||||||
|
dnl fi
|
||||||
|
dnl ;;
|
||||||
|
dnl esac
|
||||||
|
|
||||||
|
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
||||||
|
if test $found_versioning = no ; then
|
||||||
|
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
||||||
|
[
|
||||||
|
echo "VER_1 { *; };" >conftest.sym
|
||||||
|
echo "int main() { return 0; }" >conftest.cpp
|
||||||
|
|
||||||
|
if AC_TRY_COMMAND([
|
||||||
|
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||||
|
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
||||||
|
if test -s conftest.stderr ; then
|
||||||
|
wx_cv_version_script=no
|
||||||
|
else
|
||||||
|
wx_cv_version_script=yes
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
wx_cv_version_script=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
||||||
|
])
|
||||||
|
if test $wx_cv_version_script = yes ; then
|
||||||
|
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
dnl ===========================================================================
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
dnl "3rd party" macros included here because they are not widely available
|
||||||
|
198
aclocal.m4
vendored
198
aclocal.m4
vendored
@@ -1,4 +1,4 @@
|
|||||||
dnl aclocal.m4 generated automatically by aclocal 1.4-p5
|
dnl aclocal.m4 generated automatically by aclocal 1.4-p6
|
||||||
|
|
||||||
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
@@ -31,7 +31,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
||||||
[
|
[
|
||||||
ac_find_includes=
|
ac_find_includes=
|
||||||
for ac_dir in $1;
|
for ac_dir in $1 /usr/include;
|
||||||
do
|
do
|
||||||
if test -f "$ac_dir/$2"; then
|
if test -f "$ac_dir/$2"; then
|
||||||
ac_find_includes=$ac_dir
|
ac_find_includes=$ac_dir
|
||||||
@@ -47,7 +47,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
||||||
[
|
[
|
||||||
ac_find_libraries=
|
ac_find_libraries=
|
||||||
for ac_dir in $1;
|
for ac_dir in $1 /usr/lib;
|
||||||
do
|
do
|
||||||
for ac_extension in a so sl dylib; do
|
for ac_extension in a so sl dylib; do
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||||
@@ -63,13 +63,17 @@ dnl Path to include, already defined
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
||||||
[
|
[
|
||||||
ac_path_to_include=$1
|
dnl never add -I/usr/include to the CPPFLAGS
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
if test "x$1" = "x/usr/include"; then
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
ac_path_to_include=""
|
||||||
else
|
else
|
||||||
ac_path_to_include=" -I$1"
|
echo "$2" | grep "\-I$1" > /dev/null
|
||||||
|
result=$?
|
||||||
|
if test $result = 0; then
|
||||||
|
ac_path_to_include=""
|
||||||
|
else
|
||||||
|
ac_path_to_include=" -I$1"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -348,10 +352,15 @@ AC_DEFUN([WX_ARG_WITH],
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
|
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
||||||
|
dnl
|
||||||
|
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
||||||
|
dnl message when running configure instead of the default "checking for
|
||||||
|
dnl --enable-foo" one whih is useful for the options enabled by default
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
AC_DEFUN([WX_ARG_ENABLE],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([for --enable-$1])
|
enablestring=$4
|
||||||
|
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||||
no_cache=0
|
no_cache=0
|
||||||
AC_ARG_ENABLE($1, [$2],
|
AC_ARG_ENABLE($1, [$2],
|
||||||
[
|
[
|
||||||
@@ -385,6 +394,59 @@ AC_DEFUN([WX_ARG_ENABLE],
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl ===========================================================================
|
||||||
|
dnl Linker features test
|
||||||
|
dnl ===========================================================================
|
||||||
|
|
||||||
|
dnl ---------------------------------------------------------------------------
|
||||||
|
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
||||||
|
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
||||||
|
dnl version script file named versionfile
|
||||||
|
dnl
|
||||||
|
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
||||||
|
dnl ---------------------------------------------------------------------------
|
||||||
|
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
||||||
|
[
|
||||||
|
found_versioning=no
|
||||||
|
|
||||||
|
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
|
||||||
|
dnl in the script.
|
||||||
|
dnl dnl Check for known non-gcc cases:
|
||||||
|
dnl case "${host}" in
|
||||||
|
dnl *-*-solaris2* )
|
||||||
|
dnl if test "x$GCC" != "xyes" ; then
|
||||||
|
dnl LDFLAGS_VERSIONING="-M $1"
|
||||||
|
dnl found_versioning=yes
|
||||||
|
dnl fi
|
||||||
|
dnl ;;
|
||||||
|
dnl esac
|
||||||
|
|
||||||
|
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
||||||
|
if test $found_versioning = no ; then
|
||||||
|
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
||||||
|
[
|
||||||
|
echo "VER_1 { *; };" >conftest.sym
|
||||||
|
echo "int main() { return 0; }" >conftest.cpp
|
||||||
|
|
||||||
|
if AC_TRY_COMMAND([
|
||||||
|
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||||
|
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
||||||
|
if test -s conftest.stderr ; then
|
||||||
|
wx_cv_version_script=no
|
||||||
|
else
|
||||||
|
wx_cv_version_script=yes
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
wx_cv_version_script=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
||||||
|
])
|
||||||
|
if test $wx_cv_version_script = yes ; then
|
||||||
|
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
dnl ===========================================================================
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
dnl "3rd party" macros included here because they are not widely available
|
||||||
@@ -728,64 +790,6 @@ main ()
|
|||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
|
|
||||||
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
|
||||||
dnl also defines GSTUFF_PKG_ERRORS on error
|
|
||||||
AC_DEFUN(PKG_CHECK_MODULES, [
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
if test -z "$PKG_CONFIG"; then
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$PKG_CONFIG" = "no" ; then
|
|
||||||
echo "*** The pkg-config script could not be found. Make sure it is"
|
|
||||||
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
|
||||||
echo "*** to the full path to pkg-config."
|
|
||||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
|
||||||
else
|
|
||||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
|
||||||
AC_MSG_CHECKING(for $2)
|
|
||||||
|
|
||||||
if $PKG_CONFIG --exists "$2" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_CFLAGS)
|
|
||||||
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
|
||||||
AC_MSG_RESULT($$1_CFLAGS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_LIBS)
|
|
||||||
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
|
||||||
AC_MSG_RESULT($$1_LIBS)
|
|
||||||
else
|
|
||||||
$1_CFLAGS=""
|
|
||||||
$1_LIBS=""
|
|
||||||
## If we have a custom action on failure, don't print errors, but
|
|
||||||
## do set a variable so people can do so.
|
|
||||||
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
|
||||||
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST($1_CFLAGS)
|
|
||||||
AC_SUBST($1_LIBS)
|
|
||||||
else
|
|
||||||
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
|
||||||
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $succeeded = yes; then
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
else
|
|
||||||
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Configure paths for GTK+
|
# Configure paths for GTK+
|
||||||
# Owen Taylor 97-11-3
|
# Owen Taylor 97-11-3
|
||||||
|
|
||||||
@@ -981,3 +985,61 @@ main ()
|
|||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
|
||||||
|
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
||||||
|
dnl also defines GSTUFF_PKG_ERRORS on error
|
||||||
|
AC_DEFUN(PKG_CHECK_MODULES, [
|
||||||
|
succeeded=no
|
||||||
|
|
||||||
|
if test -z "$PKG_CONFIG"; then
|
||||||
|
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$PKG_CONFIG" = "no" ; then
|
||||||
|
echo "*** The pkg-config script could not be found. Make sure it is"
|
||||||
|
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
||||||
|
echo "*** to the full path to pkg-config."
|
||||||
|
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
||||||
|
else
|
||||||
|
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||||
|
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||||
|
AC_MSG_CHECKING(for $2)
|
||||||
|
|
||||||
|
if $PKG_CONFIG --exists "$2" ; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
succeeded=yes
|
||||||
|
|
||||||
|
AC_MSG_CHECKING($1_CFLAGS)
|
||||||
|
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
||||||
|
AC_MSG_RESULT($$1_CFLAGS)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING($1_LIBS)
|
||||||
|
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
||||||
|
AC_MSG_RESULT($$1_LIBS)
|
||||||
|
else
|
||||||
|
$1_CFLAGS=""
|
||||||
|
$1_LIBS=""
|
||||||
|
## If we have a custom action on failure, don't print errors, but
|
||||||
|
## do set a variable so people can do so.
|
||||||
|
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
||||||
|
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST($1_CFLAGS)
|
||||||
|
AC_SUBST($1_LIBS)
|
||||||
|
else
|
||||||
|
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
||||||
|
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $succeeded = yes; then
|
||||||
|
ifelse([$3], , :, [$3])
|
||||||
|
else
|
||||||
|
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BIN
art/wxwin.ico
Normal file
BIN
art/wxwin.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
art/wxwin16x16.png
Normal file
BIN
art/wxwin16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
25
art/wxwin16x16.xpm
Normal file
25
art/wxwin16x16.xpm
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char *wxwin16x16_xpm[] = {
|
||||||
|
"16 16 6 1",
|
||||||
|
" c None",
|
||||||
|
". c #000000",
|
||||||
|
"X c #000084",
|
||||||
|
"o c #FFFFFF",
|
||||||
|
"O c #FFFF00",
|
||||||
|
"+ c #FF0000",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ....... ",
|
||||||
|
" .XXXXX. ",
|
||||||
|
" .oXXXX. ",
|
||||||
|
" .oXXX.......",
|
||||||
|
".....oXXX.OOOOO.",
|
||||||
|
".+++.XXXX.oOOOO.",
|
||||||
|
".o++......oOOOO.",
|
||||||
|
".o++++. .oOOOO.",
|
||||||
|
".o++++. .OOOOO.",
|
||||||
|
".+++++. .......",
|
||||||
|
"....... ",
|
||||||
|
" ",
|
||||||
|
" "};
|
BIN
art/wxwin32x32.png
Normal file
BIN
art/wxwin32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
41
art/wxwin32x32.xpm
Normal file
41
art/wxwin32x32.xpm
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char *wxwin32x32_xpm[] = {
|
||||||
|
"32 32 6 1",
|
||||||
|
" c None",
|
||||||
|
". c #000000",
|
||||||
|
"X c #000084",
|
||||||
|
"o c #FFFFFF",
|
||||||
|
"O c #FFFF00",
|
||||||
|
"+ c #FF0000",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" .............. ",
|
||||||
|
" .XXXXXXXXXXXX. ",
|
||||||
|
" .XXXXXXXXXXXX. ",
|
||||||
|
" .XooXXXXXXXXX. ",
|
||||||
|
" .XooXXXXXXXXX. ",
|
||||||
|
" .XooXXXXXXXXX. ",
|
||||||
|
" .XooXXXXXX..............",
|
||||||
|
" .XooXXXXXX.OOOOOOOOOOOO.",
|
||||||
|
".........XooXXXXXX.OOOOOOOOOOOO.",
|
||||||
|
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
||||||
|
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
||||||
|
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
||||||
|
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
||||||
|
".+oo++++...........OooOOOOOOOOO.",
|
||||||
|
".+oo+++++++++. .OooOOOOOOOOO.",
|
||||||
|
".+oo+++++++++. .OooOOOOOOOOO.",
|
||||||
|
".+oo+++++++++. .OooOOOOOOOOO.",
|
||||||
|
".+oo+++++++++. .OOOOOOOOOOOO.",
|
||||||
|
".+oo+++++++++. .OOOOOOOOOOOO.",
|
||||||
|
".++++++++++++. ..............",
|
||||||
|
".++++++++++++. ",
|
||||||
|
".............. ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "};
|
427
config.guess
vendored
427
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, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# Free Software Foundation, Inc.
|
# 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-09-04'
|
timestamp='2002-11-30'
|
||||||
|
|
||||||
# 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
|
||||||
@@ -24,8 +24,9 @@ timestamp='2001-09-04'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Written by Per Bothner <bothner@cygnus.com>.
|
# Originally written by Per Bothner <per@bothner.com>.
|
||||||
# Please send patches to <config-patches@gnu.org>.
|
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
# This script attempts to guess a canonical system name similar to
|
# This script attempts to guess a canonical system name similar to
|
||||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
@@ -87,30 +88,40 @@ if test $# != 0; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
trap 'exit 1' 1 2 15
|
||||||
|
|
||||||
dummy=dummy-$$
|
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
||||||
trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
|
# compiler to aid in system detection is discouraged as it requires
|
||||||
|
# temporary files to be created and, as you can see below, it is a
|
||||||
|
# headache to deal with in a portable fashion.
|
||||||
|
|
||||||
# CC_FOR_BUILD -- compiler used by this script.
|
|
||||||
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
||||||
# use `HOST_CC' if defined, but it is deprecated.
|
# use `HOST_CC' if defined, but it is deprecated.
|
||||||
|
|
||||||
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
|
# This shell variable is my proudest work .. or something. --bje
|
||||||
,,) echo "int dummy(){}" > $dummy.c ;
|
|
||||||
for c in cc gcc c89 ; do
|
set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
|
||||||
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
|
(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
|
||||||
if test $? = 0 ; then
|
|| (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
|
||||||
|
dummy=$tmpdir/dummy ;
|
||||||
|
files="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
||||||
|
trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
|
||||||
|
case $CC_FOR_BUILD,$HOST_CC,$CC in
|
||||||
|
,,) echo "int x;" > $dummy.c ;
|
||||||
|
for c in cc gcc c89 c99 ; do
|
||||||
|
if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
|
||||||
CC_FOR_BUILD="$c"; break ;
|
CC_FOR_BUILD="$c"; break ;
|
||||||
fi ;
|
fi ;
|
||||||
done ;
|
done ;
|
||||||
rm -f $dummy.c $dummy.o $dummy.rel ;
|
rm -f $files ;
|
||||||
if test x"$CC_FOR_BUILD" = x ; then
|
if test x"$CC_FOR_BUILD" = x ; then
|
||||||
CC_FOR_BUILD=no_compiler_found ;
|
CC_FOR_BUILD=no_compiler_found ;
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
,,*) CC_FOR_BUILD=$CC ;;
|
,,*) CC_FOR_BUILD=$CC ;;
|
||||||
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
||||||
esac'
|
esac ;
|
||||||
|
unset files'
|
||||||
|
|
||||||
# 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 1994-08-24)
|
# (ghazi@noc.rutgers.edu 1994-08-24)
|
||||||
@@ -127,29 +138,30 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
*:NetBSD:*:*)
|
*:NetBSD:*:*)
|
||||||
# Netbsd (nbsd) targets should (where applicable) match one or
|
# NetBSD (nbsd) targets should (where applicable) match one or
|
||||||
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||||
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
||||||
# switched to ELF, *-*-netbsd* would select the old
|
# switched to ELF, *-*-netbsd* would select the old
|
||||||
# object file format. This provides both forward
|
# object file format. This provides both forward
|
||||||
# compatibility and a consistent mechanism for selecting the
|
# compatibility and a consistent mechanism for selecting the
|
||||||
# object file format.
|
# object file format.
|
||||||
# Determine the machine/vendor (is the vendor relevant).
|
#
|
||||||
case "${UNAME_MACHINE}" in
|
# Note: NetBSD doesn't particularly care about the vendor
|
||||||
amiga) machine=m68k-unknown ;;
|
# portion of the name. We always set it to "unknown".
|
||||||
arm32) machine=arm-unknown ;;
|
sysctl="sysctl -n hw.machine_arch"
|
||||||
atari*) machine=m68k-atari ;;
|
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
||||||
sun3*) machine=m68k-sun ;;
|
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
||||||
mac68k) machine=m68k-apple ;;
|
case "${UNAME_MACHINE_ARCH}" in
|
||||||
macppc) machine=powerpc-apple ;;
|
armeb) machine=armeb-unknown ;;
|
||||||
hp3[0-9][05]) machine=m68k-hp ;;
|
arm*) machine=arm-unknown ;;
|
||||||
ibmrt|romp-ibm) machine=romp-ibm ;;
|
sh3el) machine=shl-unknown ;;
|
||||||
*) machine=${UNAME_MACHINE}-unknown ;;
|
sh3eb) machine=sh-unknown ;;
|
||||||
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
||||||
esac
|
esac
|
||||||
# The Operating System including object format, if it has switched
|
# The Operating System including object format, if it has switched
|
||||||
# to ELF recently, or will in the future.
|
# to ELF recently, or will in the future.
|
||||||
case "${UNAME_MACHINE}" in
|
case "${UNAME_MACHINE_ARCH}" in
|
||||||
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||||
eval $set_cc_for_build
|
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
|
||||||
@@ -166,12 +178,62 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# The OS release
|
# The OS release
|
||||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
# Debian GNU/NetBSD machines have a different userland, and
|
||||||
|
# thus, need a distinct triplet. However, they do not need
|
||||||
|
# kernel version information, so it can be replaced with a
|
||||||
|
# suitable tag, in the style of linux-gnu.
|
||||||
|
case "${UNAME_VERSION}" in
|
||||||
|
Debian*)
|
||||||
|
release='-gnu'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||||
# contains redundant information, the shorter form:
|
# contains redundant information, the shorter form:
|
||||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
echo "${machine}-${os}${release}"
|
echo "${machine}-${os}${release}"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
amiga:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
arc:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
hp300:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mac68k:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
macppc:OpenBSD:*:*)
|
||||||
|
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mvme68k:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mvme88k:OpenBSD:*:*)
|
||||||
|
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mvmeppc:OpenBSD:*:*)
|
||||||
|
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
pmax:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
sgi:OpenBSD:*:*)
|
||||||
|
echo mipseb-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
sun3:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
wgrisc:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
*:OpenBSD:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
alpha:OSF1:*:*)
|
alpha:OSF1:*:*)
|
||||||
if test $UNAME_RELEASE = "V4.0"; then
|
if test $UNAME_RELEASE = "V4.0"; then
|
||||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||||
@@ -180,6 +242,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
# A Tn.n version is a released field test version.
|
# A Tn.n version is a released field test version.
|
||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
|
eval $set_cc_for_build
|
||||||
cat <<EOF >$dummy.s
|
cat <<EOF >$dummy.s
|
||||||
.data
|
.data
|
||||||
\$Lformat:
|
\$Lformat:
|
||||||
@@ -205,10 +268,9 @@ main:
|
|||||||
jsr \$26,exit
|
jsr \$26,exit
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
eval $set_cc_for_build
|
$CC_FOR_BUILD -o $dummy $dummy.s 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
|
||||||
0-0)
|
0-0)
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
;;
|
;;
|
||||||
@@ -230,9 +292,12 @@ EOF
|
|||||||
2-1307)
|
2-1307)
|
||||||
UNAME_MACHINE="alphaev68"
|
UNAME_MACHINE="alphaev68"
|
||||||
;;
|
;;
|
||||||
|
3-1307)
|
||||||
|
UNAME_MACHINE="alphaev7"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.s $dummy
|
rm -f $dummy.s $dummy && rmdir $tmpdir
|
||||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Alpha\ *:Windows_NT*:*)
|
Alpha\ *:Windows_NT*:*)
|
||||||
@@ -247,29 +312,11 @@ EOF
|
|||||||
Amiga*:UNIX_System_V:4.0:*)
|
Amiga*:UNIX_System_V:4.0:*)
|
||||||
echo m68k-unknown-sysv4
|
echo m68k-unknown-sysv4
|
||||||
exit 0;;
|
exit 0;;
|
||||||
amiga:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
*:[Aa]miga[Oo][Ss]:*:*)
|
*:[Aa]miga[Oo][Ss]:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-amigaos
|
echo ${UNAME_MACHINE}-unknown-amigaos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
arc64:OpenBSD:*:*)
|
*:[Mm]orph[Oo][Ss]:*:*)
|
||||||
echo mips64el-unknown-openbsd${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-morphos
|
||||||
exit 0 ;;
|
|
||||||
arc:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
hkmips:OpenBSD:*:*)
|
|
||||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
pmax:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
sgi:OpenBSD:*:*)
|
|
||||||
echo mips-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
wgrisc:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:OS/390:*:*)
|
*:OS/390:*:*)
|
||||||
echo i370-ibm-openedition
|
echo i370-ibm-openedition
|
||||||
@@ -291,6 +338,10 @@ EOF
|
|||||||
NILE*:*:*:dcosx)
|
NILE*:*:*:dcosx)
|
||||||
echo pyramid-pyramid-svr4
|
echo pyramid-pyramid-svr4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
DRS?6000:UNIX_SV:4.2*:7*)
|
||||||
|
case `/usr/bin/uname -p` in
|
||||||
|
sparc) echo sparc-icl-nx7 && exit 0 ;;
|
||||||
|
esac ;;
|
||||||
sun4H:SunOS:5.*:*)
|
sun4H:SunOS:5.*:*)
|
||||||
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -319,7 +370,7 @@ EOF
|
|||||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sun*:*:4.2BSD:*)
|
sun*:*:4.2BSD:*)
|
||||||
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||||
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
||||||
case "`/bin/arch`" in
|
case "`/bin/arch`" in
|
||||||
sun3)
|
sun3)
|
||||||
@@ -333,12 +384,6 @@ 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:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
# The situation for MiNT is a little confusing. The machine name
|
# The situation for MiNT is a little confusing. The machine name
|
||||||
# can be virtually everything (everything which is not
|
# can be virtually everything (everything which is not
|
||||||
# "atarist" or "atariste" at least should have a processor
|
# "atarist" or "atariste" at least should have a processor
|
||||||
@@ -365,18 +410,6 @@ EOF
|
|||||||
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||||
echo m68k-unknown-mint${UNAME_RELEASE}
|
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sun3*:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mac68k:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mvme68k:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mvme88k:OpenBSD:*:*)
|
|
||||||
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
powerpc:machten:*:*)
|
powerpc:machten:*:*)
|
||||||
echo powerpc-apple-machten${UNAME_RELEASE}
|
echo powerpc-apple-machten${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -415,15 +448,21 @@ EOF
|
|||||||
exit (-1);
|
exit (-1);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy \
|
$CC_FOR_BUILD -o $dummy $dummy.c \
|
||||||
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||||
&& rm -f $dummy.c $dummy && exit 0
|
&& rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy && rmdir $tmpdir
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Motorola:PowerMAX_OS:*:*)
|
Motorola:PowerMAX_OS:*:*)
|
||||||
echo powerpc-motorola-powermax
|
echo powerpc-motorola-powermax
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
Motorola:*:4.3:PL8-*)
|
||||||
|
echo powerpc-harris-powermax
|
||||||
|
exit 0 ;;
|
||||||
|
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
|
||||||
|
echo powerpc-harris-powermax
|
||||||
|
exit 0 ;;
|
||||||
Night_Hawk:Power_UNIX:*:*)
|
Night_Hawk:Power_UNIX:*:*)
|
||||||
echo powerpc-harris-powerunix
|
echo powerpc-harris-powerunix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -496,8 +535,8 @@ EOF
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy && rmdir $tmpdir
|
||||||
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
|
||||||
echo rs6000-ibm-aix3.2.4
|
echo rs6000-ibm-aix3.2.4
|
||||||
@@ -506,7 +545,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:[45])
|
*: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 | sed 1q | awk '{ print $1 }'`
|
||||||
if /usr/sbin/lsattr -El ${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
|
||||||
@@ -546,10 +585,8 @@ EOF
|
|||||||
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
|
if [ -x /usr/bin/getconf ]; then
|
||||||
11.[0-9][0-9])
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||||
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`
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||||
case "${sc_cpu_version}" in
|
case "${sc_cpu_version}" in
|
||||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||||
@@ -558,13 +595,13 @@ EOF
|
|||||||
case "${sc_kernel_bits}" in
|
case "${sc_kernel_bits}" in
|
||||||
32) HP_ARCH="hppa2.0n" ;;
|
32) HP_ARCH="hppa2.0n" ;;
|
||||||
64) HP_ARCH="hppa2.0w" ;;
|
64) HP_ARCH="hppa2.0w" ;;
|
||||||
|
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
||||||
esac ;;
|
esac ;;
|
||||||
esac
|
esac
|
||||||
fi ;;
|
fi
|
||||||
esac
|
if [ "${HP_ARCH}" = "" ]; then
|
||||||
if [ "${HP_ARCH}" = "" ]; then
|
eval $set_cc_for_build
|
||||||
eval $set_cc_for_build
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -597,10 +634,10 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
||||||
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy && rmdir $tmpdir
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -635,8 +672,8 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy && rmdir $tmpdir
|
||||||
echo unknown-hitachi-hiuxwe2
|
echo unknown-hitachi-hiuxwe2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
||||||
@@ -664,9 +701,6 @@ EOF
|
|||||||
parisc*:Lites*:*:*)
|
parisc*:Lites*:*:*)
|
||||||
echo hppa1.1-hp-lites
|
echo hppa1.1-hp-lites
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
hppa*:OpenBSD:*:*)
|
|
||||||
echo hppa-unknown-openbsd
|
|
||||||
exit 0 ;;
|
|
||||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||||
echo c1-convex-bsd
|
echo c1-convex-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -685,9 +719,6 @@ EOF
|
|||||||
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
||||||
echo c4-convex-bsd
|
echo c4-convex-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
CRAY*X-MP:*:*:*)
|
|
||||||
echo xmp-cray-unicos
|
|
||||||
exit 0 ;;
|
|
||||||
CRAY*Y-MP:*:*:*)
|
CRAY*Y-MP:*:*:*)
|
||||||
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -709,18 +740,12 @@ EOF
|
|||||||
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:*:*:*)
|
|
||||||
echo cray2-cray-unicos
|
|
||||||
exit 0 ;;
|
|
||||||
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
||||||
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
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 "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
hp300:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
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 ;;
|
||||||
@@ -731,10 +756,19 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
# Determine whether the default compiler uses glibc.
|
||||||
exit 0 ;;
|
eval $set_cc_for_build
|
||||||
*:OpenBSD:*:*)
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
#include <features.h>
|
||||||
|
#if __GLIBC__ >= 2
|
||||||
|
LIBC=gnu
|
||||||
|
#else
|
||||||
|
LIBC=
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
||||||
|
rm -f $dummy.c && rmdir $tmpdir
|
||||||
|
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-cygwin
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
@@ -745,11 +779,17 @@ EOF
|
|||||||
i*:PW*:*)
|
i*:PW*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-pw32
|
echo ${UNAME_MACHINE}-pc-pw32
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
x86:Interix*:3*)
|
||||||
|
echo i586-pc-interix3
|
||||||
|
exit 0 ;;
|
||||||
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||||
|
echo i${UNAME_MACHINE}-pc-mks
|
||||||
|
exit 0 ;;
|
||||||
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
||||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||||
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
||||||
# UNAME_MACHINE based on the output of uname instead of i386?
|
# UNAME_MACHINE based on the output of uname instead of i386?
|
||||||
echo i386-pc-interix
|
echo i586-pc-interix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:UWIN*:*)
|
i*:UWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-uwin
|
echo ${UNAME_MACHINE}-pc-uwin
|
||||||
@@ -770,16 +810,50 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
ia64:Linux:*:*)
|
ia64:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
m68*:Linux:*:*)
|
m68*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mips:Linux:*:*)
|
mips:Linux:*:*)
|
||||||
case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
|
eval $set_cc_for_build
|
||||||
big) echo mips-unknown-linux-gnu && exit 0 ;;
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
little) echo mipsel-unknown-linux-gnu && exit 0 ;;
|
#undef CPU
|
||||||
esac
|
#undef mips
|
||||||
|
#undef mipsel
|
||||||
|
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||||
|
CPU=mipsel
|
||||||
|
#else
|
||||||
|
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||||
|
CPU=mips
|
||||||
|
#else
|
||||||
|
CPU=
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||||
|
rm -f $dummy.c && rmdir $tmpdir
|
||||||
|
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||||
|
;;
|
||||||
|
mips64:Linux:*:*)
|
||||||
|
eval $set_cc_for_build
|
||||||
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
|
#undef CPU
|
||||||
|
#undef mips64
|
||||||
|
#undef mips64el
|
||||||
|
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||||
|
CPU=mips64el
|
||||||
|
#else
|
||||||
|
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||||
|
CPU=mips64
|
||||||
|
#else
|
||||||
|
CPU=
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||||
|
rm -f $dummy.c && rmdir $tmpdir
|
||||||
|
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
|
||||||
;;
|
;;
|
||||||
ppc:Linux:*:*)
|
ppc:Linux:*:*)
|
||||||
echo powerpc-unknown-linux-gnu
|
echo powerpc-unknown-linux-gnu
|
||||||
@@ -828,7 +902,8 @@ EOF
|
|||||||
# 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_targets=`cd /; ld --help 2>&1 \
|
# Set LC_ALL=C to ensure ld outputs messages in English.
|
||||||
|
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
||||||
| sed -ne '/supported targets:/!d
|
| sed -ne '/supported targets:/!d
|
||||||
s/[ ][ ]*/ /g
|
s/[ ][ ]*/ /g
|
||||||
s/.*supported targets: *//
|
s/.*supported targets: *//
|
||||||
@@ -840,7 +915,7 @@ EOF
|
|||||||
;;
|
;;
|
||||||
a.out-i386-linux)
|
a.out-i386-linux)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
coff-i386)
|
coff-i386)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -852,32 +927,29 @@ EOF
|
|||||||
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
|
eval $set_cc_for_build
|
||||||
cat >$dummy.c <<EOF
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#ifdef __cplusplus
|
#ifdef __ELF__
|
||||||
#include <stdio.h> /* for printf() prototype */
|
# ifdef __GLIBC__
|
||||||
int main (int argc, char *argv[]) {
|
# if __GLIBC__ >= 2
|
||||||
#else
|
LIBC=gnu
|
||||||
int main (argc, argv) int argc; char *argv[]; {
|
# else
|
||||||
#endif
|
LIBC=gnulibc1
|
||||||
#ifdef __ELF__
|
# endif
|
||||||
# ifdef __GLIBC__
|
# else
|
||||||
# if __GLIBC__ >= 2
|
LIBC=gnulibc1
|
||||||
printf ("%s-pc-linux-gnu\n", argv[1]);
|
# endif
|
||||||
# else
|
#else
|
||||||
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
#ifdef __INTEL_COMPILER
|
||||||
# endif
|
LIBC=gnu
|
||||||
# else
|
#else
|
||||||
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
LIBC=gnuaout
|
||||||
# endif
|
#endif
|
||||||
#else
|
#endif
|
||||||
printf ("%s-pc-linux-gnuaout\n", argv[1]);
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c && rmdir $tmpdir
|
||||||
|
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
|
||||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||||
;;
|
;;
|
||||||
i*86:DYNIX/ptx:4*:*)
|
i*86:DYNIX/ptx:4*:*)
|
||||||
@@ -894,6 +966,23 @@ 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:OS/2:*:*)
|
||||||
|
# If we were able to find `uname', then EMX Unix compatibility
|
||||||
|
# is probably installed.
|
||||||
|
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:XTS-300:*:STOP)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-stop
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:atheos:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-atheos
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||||
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
i*86:*DOS:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||||
|
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
|
||||||
@@ -915,22 +1004,19 @@ EOF
|
|||||||
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
|
||||||
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
||||||
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
|
||||||
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i586
|
&& UNAME_MACHINE=i586
|
||||||
(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
|
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i686
|
&& UNAME_MACHINE=i686
|
||||||
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
|
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i686
|
&& UNAME_MACHINE=i686
|
||||||
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
||||||
else
|
else
|
||||||
echo ${UNAME_MACHINE}-pc-sysv32
|
echo ${UNAME_MACHINE}-pc-sysv32
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*86:*DOS:*:*)
|
|
||||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
|
||||||
exit 0 ;;
|
|
||||||
pc:*:*:*)
|
pc:*:*:*)
|
||||||
# Left here for compatibility:
|
# Left here for compatibility:
|
||||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||||
@@ -954,9 +1040,15 @@ EOF
|
|||||||
# "miniframe"
|
# "miniframe"
|
||||||
echo m68010-convergent-sysv
|
echo m68010-convergent-sysv
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
mc68k:UNIX:SYSTEM5:3.51m)
|
||||||
|
echo m68k-convergent-sysv
|
||||||
|
exit 0 ;;
|
||||||
|
M680?0:D-NIX:5.3:*)
|
||||||
|
echo m68k-diab-dnix
|
||||||
|
exit 0 ;;
|
||||||
M68*:*:R3V[567]*:*)
|
M68*:*:R3V[567]*:*)
|
||||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||||
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
|
||||||
OS_REL=''
|
OS_REL=''
|
||||||
test -r /etc/.relid \
|
test -r /etc/.relid \
|
||||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||||
@@ -973,9 +1065,6 @@ EOF
|
|||||||
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:4.0*:*)
|
|
||||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
TSUNAMI:LynxOS:2.*:*)
|
TSUNAMI:LynxOS:2.*:*)
|
||||||
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1047,6 +1136,9 @@ EOF
|
|||||||
SX-5:SUPER-UX:*:*)
|
SX-5:SUPER-UX:*:*)
|
||||||
echo sx5-nec-superux${UNAME_RELEASE}
|
echo sx5-nec-superux${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
SX-6:SUPER-UX:*:*)
|
||||||
|
echo sx6-nec-superux${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
Power*:Rhapsody:*:*)
|
Power*:Rhapsody:*:*)
|
||||||
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1057,15 +1149,17 @@ EOF
|
|||||||
echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||||
if test "${UNAME_MACHINE}" = "x86pc"; then
|
UNAME_PROCESSOR=`uname -p`
|
||||||
|
if test "$UNAME_PROCESSOR" = "x86"; then
|
||||||
|
UNAME_PROCESSOR=i386
|
||||||
UNAME_MACHINE=pc
|
UNAME_MACHINE=pc
|
||||||
fi
|
fi
|
||||||
echo `uname -p`-${UNAME_MACHINE}-nto-qnx
|
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:QNX:*:4*)
|
*:QNX:*:4*)
|
||||||
echo i386-pc-qnx
|
echo i386-pc-qnx
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
NSR-[KW]:NONSTOP_KERNEL:*:*)
|
NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
|
||||||
echo nsr-tandem-nsk${UNAME_RELEASE}
|
echo nsr-tandem-nsk${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:NonStop-UX:*:*)
|
*:NonStop-UX:*:*)
|
||||||
@@ -1088,11 +1182,6 @@ 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:*:*)
|
*:TOPS-10:*:*)
|
||||||
echo pdp10-unknown-tops10
|
echo pdp10-unknown-tops10
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1111,12 +1200,6 @@ EOF
|
|||||||
*:ITS:*:*)
|
*:ITS:*:*)
|
||||||
echo pdp10-unknown-its
|
echo pdp10-unknown-its
|
||||||
exit 0 ;;
|
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
|
||||||
@@ -1237,8 +1320,8 @@ main ()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy && rmdir $tmpdir
|
||||||
|
|
||||||
# Apollos put the system type in the environment.
|
# Apollos put the system type in the environment.
|
||||||
|
|
||||||
|
622
configure.in
622
configure.in
File diff suppressed because it is too large
Load Diff
29
contrib/configure
vendored
29
contrib/configure
vendored
@@ -691,6 +691,16 @@ fi
|
|||||||
PATH_IFS=$wx_cv_path_ifs
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
|
WX_LIBRARY_BASENAME=$wx_cv_library_basename
|
||||||
|
WX_RELEASE=$wx_cv_release
|
||||||
|
WX_CURRENT=$wx_cv_current
|
||||||
|
WX_REVISION=$wx_cv_revision
|
||||||
|
WX_AGE=$wx_cv_age
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -830,16 +840,17 @@ trap 'rm -fr `echo "
|
|||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
samples/ogl/studio/Makefile
|
samples/ogl/studio/Makefile
|
||||||
samples/stc/Makefile
|
samples/stc/Makefile
|
||||||
samples/svg/Makefile
|
samples/svg/Makefile
|
||||||
samples/canvas/Makefile
|
samples/canvas/Makefile
|
||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
|
samples/gizmos/led/Makefile
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
@@ -890,6 +901,11 @@ s%@PATH_IFS@%$PATH_IFS%g
|
|||||||
s%@ESD_LINK@%$ESD_LINK%g
|
s%@ESD_LINK@%$ESD_LINK%g
|
||||||
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
|
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
|
||||||
s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
|
s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
|
||||||
|
s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
|
||||||
|
s%@WX_RELEASE@%$WX_RELEASE%g
|
||||||
|
s%@WX_CURRENT@%$WX_CURRENT%g
|
||||||
|
s%@WX_REVISION@%$WX_REVISION%g
|
||||||
|
s%@WX_AGE@%$WX_AGE%g
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
EOF
|
EOF
|
||||||
@@ -949,16 +965,17 @@ CONFIG_FILES=\${CONFIG_FILES-"src/Makefile
|
|||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
samples/ogl/studio/Makefile
|
samples/ogl/studio/Makefile
|
||||||
samples/stc/Makefile
|
samples/stc/Makefile
|
||||||
samples/svg/Makefile
|
samples/svg/Makefile
|
||||||
samples/canvas/Makefile
|
samples/canvas/Makefile
|
||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
|
samples/gizmos/led/Makefile
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
|
@@ -26,11 +26,21 @@ dnl Final subst
|
|||||||
PATH_IFS=$wx_cv_path_ifs
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
|
WX_LIBRARY_BASENAME=$wx_cv_library_basename
|
||||||
|
WX_RELEASE=$wx_cv_release
|
||||||
|
WX_CURRENT=$wx_cv_current
|
||||||
|
WX_REVISION=$wx_cv_revision
|
||||||
|
WX_AGE=$wx_cv_age
|
||||||
|
|
||||||
AC_SUBST(PATH_IFS)
|
AC_SUBST(PATH_IFS)
|
||||||
AC_SUBST(ESD_LINK)
|
AC_SUBST(ESD_LINK)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY)
|
AC_SUBST(WX_TARGET_LIBRARY)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||||
|
AC_SUBST(WX_LIBRARY_BASENAME)
|
||||||
|
AC_SUBST(WX_RELEASE)
|
||||||
|
AC_SUBST(WX_CURRENT)
|
||||||
|
AC_SUBST(WX_REVISION)
|
||||||
|
AC_SUBST(WX_AGE)
|
||||||
|
|
||||||
dnl -----------
|
dnl -----------
|
||||||
dnl File output
|
dnl File output
|
||||||
@@ -55,15 +65,17 @@ AC_OUTPUT([
|
|||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
samples/ogl/studio/Makefile
|
samples/ogl/studio/Makefile
|
||||||
samples/stc/Makefile
|
samples/stc/Makefile
|
||||||
|
samples/svg/Makefile
|
||||||
samples/canvas/Makefile
|
samples/canvas/Makefile
|
||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
|
samples/gizmos/led/Makefile
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_ANIMATEH__
|
#ifndef _WX_ANIMATEH__
|
||||||
#define _WX_ANIMATEH__
|
#define _WX_ANIMATEH__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "animate.h"
|
#pragma interface "animate.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#ifndef __WXBOUNDINGBOX_H__
|
#ifndef __WXBOUNDINGBOX_H__
|
||||||
#define __WXBOUNDINGBOX_H__
|
#define __WXBOUNDINGBOX_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "bbox.cpp"
|
#pragma interface "bbox.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ class wxBoundingBox
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxBoundingBox();
|
wxBoundingBox();
|
||||||
wxBoundingBox(wxBoundingBox&);
|
wxBoundingBox(const wxBoundingBox&);
|
||||||
wxBoundingBox(const wxPoint2DDouble&);
|
wxBoundingBox(const wxPoint2DDouble&);
|
||||||
wxBoundingBox(double xmin, double ymin, double xmax, double ymax);
|
wxBoundingBox(double xmin, double ymin, double xmax, double ymax);
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#ifndef __WXCANVAS_H__
|
#ifndef __WXCANVAS_H__
|
||||||
#define __WXCANVAS_H__
|
#define __WXCANVAS_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "canvas.cpp"
|
#pragma interface "canvas.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#ifndef __WXLINER_H
|
#ifndef __WXLINER_H
|
||||||
#define __WXLINER_H
|
#define __WXLINER_H
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "liner.cpp"
|
#pragma interface "liner.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#ifndef __WXPOLYGON_H__
|
#ifndef __WXPOLYGON_H__
|
||||||
#define __WXPOLYGON_H__
|
#define __WXPOLYGON_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "polygon.cpp"
|
#pragma interface "polygon.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ANTIFLICKPL_G__
|
#ifndef __ANTIFLICKPL_G__
|
||||||
#define __ANTIFLICKPL_G__
|
#define __ANTIFLICKPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "antiflickpl.h"
|
#pragma interface "antiflickpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ antiflicker plugins within the application.
|
|||||||
Locking for multithreaded applications is not yet implemented.
|
Locking for multithreaded applications is not yet implemented.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbAntiflickerPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbAntiflickerPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin )
|
DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __BARDRAGPL_G__
|
#ifndef __BARDRAGPL_G__
|
||||||
#define __BARDRAGPL_G__
|
#define __BARDRAGPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "bardragpl.h"
|
#pragma interface "bardragpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
Plugin class implementing bar dragging.
|
Plugin class implementing bar dragging.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbBarDragPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbBarDragPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarDragPlugin )
|
DECLARE_DYNAMIC_CLASS( cbBarDragPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DRAGHINTSPL_G__
|
#ifndef __DRAGHINTSPL_G__
|
||||||
#define __DRAGHINTSPL_G__
|
#define __DRAGHINTSPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "barhintspl.h"
|
#pragma interface "barhintspl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ This class intercepts bar-decoration and sizing events, and draws 3D hints
|
|||||||
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbBarHintsPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbBarHintsPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin )
|
DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin )
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __CBCUSTOM_G__
|
#ifndef __CBCUSTOM_G__
|
||||||
#define __CBCUSTOM_G__
|
#define __CBCUSTOM_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "cbcustom.h"
|
#pragma interface "cbcustom.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ menu and handling basic customization such as floating
|
|||||||
and horizontal/vertical alignment of the bar.
|
and horizontal/vertical alignment of the bar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbSimpleCustomizationPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbSimpleCustomizationPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
|
DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#ifndef __CONTROLBAR_G__
|
#ifndef __CONTROLBAR_G__
|
||||||
#define __CONTROLBAR_G__
|
#define __CONTROLBAR_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "controlbar.h"
|
#pragma interface "controlbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -21,30 +21,31 @@
|
|||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
|
#include "wx/fl/fldefs.h"
|
||||||
|
|
||||||
#define WXCONTROLBAR_VERSION 1.3
|
#define WXCONTROLBAR_VERSION 1.3
|
||||||
|
|
||||||
// forward declarations
|
// forward declarations
|
||||||
|
|
||||||
class wxFrameLayout;
|
class WXFL_DECLSPEC wxFrameLayout;
|
||||||
|
|
||||||
class cbDockPane;
|
class WXFL_DECLSPEC cbDockPane;
|
||||||
class cbUpdatesManagerBase;
|
class WXFL_DECLSPEC cbUpdatesManagerBase;
|
||||||
class cbBarDimHandlerBase;
|
class WXFL_DECLSPEC cbBarDimHandlerBase;
|
||||||
class cbPluginBase;
|
class WXFL_DECLSPEC cbPluginBase;
|
||||||
class cbPluginEvent;
|
class WXFL_DECLSPEC cbPluginEvent;
|
||||||
class cbPaneDrawPlugin;
|
class WXFL_DECLSPEC cbPaneDrawPlugin;
|
||||||
|
|
||||||
class cbBarInfo;
|
class WXFL_DECLSPEC cbBarInfo;
|
||||||
class cbRowInfo;
|
class WXFL_DECLSPEC cbRowInfo;
|
||||||
class cbDimInfo;
|
class WXFL_DECLSPEC cbDimInfo;
|
||||||
class cbCommonPaneProperties;
|
class WXFL_DECLSPEC cbCommonPaneProperties;
|
||||||
|
|
||||||
typedef cbBarInfo* BarInfoPtrT;
|
typedef cbBarInfo* BarInfoPtrT;
|
||||||
typedef cbRowInfo* RowInfoPtrT;
|
typedef cbRowInfo* RowInfoPtrT;
|
||||||
|
|
||||||
WX_DEFINE_ARRAY( BarInfoPtrT, BarArrayT );
|
WXFL_DEFINE_ARRAY( BarInfoPtrT, BarArrayT );
|
||||||
WX_DEFINE_ARRAY( RowInfoPtrT, RowArrayT );
|
WXFL_DEFINE_ARRAY( RowInfoPtrT, RowArrayT );
|
||||||
|
|
||||||
// control bar states
|
// control bar states
|
||||||
|
|
||||||
@@ -97,7 +98,7 @@ Helper class, used for spying for unhandled mouse events on control bars
|
|||||||
and forwarding them to the frame layout.
|
and forwarding them to the frame layout.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbBarSpy : public wxEvtHandler
|
class WXFL_DECLSPEC cbBarSpy : public wxEvtHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarSpy )
|
DECLARE_DYNAMIC_CLASS( cbBarSpy )
|
||||||
@@ -129,7 +130,7 @@ which can be docked along the top, bottom, right, or left side of the
|
|||||||
parent frame.
|
parent frame.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxFrameLayout : public wxEvtHandler
|
class WXFL_DECLSPEC wxFrameLayout : public wxEvtHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Default constructor, used only for serialization.
|
// Default constructor, used only for serialization.
|
||||||
@@ -647,7 +648,7 @@ used by any particular updates-manager to store
|
|||||||
auxiliary information to be used by its updating algorithm.
|
auxiliary information to be used by its updating algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbUpdateMgrData : public wxObject
|
class WXFL_DECLSPEC cbUpdateMgrData : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbUpdateMgrData )
|
DECLARE_DYNAMIC_CLASS( cbUpdateMgrData )
|
||||||
public:
|
public:
|
||||||
@@ -687,7 +688,7 @@ to adjust the values in cbDimInfo::mSizes accordingly.
|
|||||||
Specific handlers can be hooked up to specific types of bar.
|
Specific handlers can be hooked up to specific types of bar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbBarDimHandlerBase : public wxObject
|
class WXFL_DECLSPEC cbBarDimHandlerBase : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_ABSTRACT_CLASS( cbBarDimHandlerBase )
|
DECLARE_ABSTRACT_CLASS( cbBarDimHandlerBase )
|
||||||
|
|
||||||
@@ -725,7 +726,7 @@ Helper class used internally by the wxFrameLayout class.
|
|||||||
Holds and manages information about bar dimensions.
|
Holds and manages information about bar dimensions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbDimInfo : public wxObject
|
class WXFL_DECLSPEC cbDimInfo : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbDimInfo )
|
DECLARE_DYNAMIC_CLASS( cbDimInfo )
|
||||||
public:
|
public:
|
||||||
@@ -824,7 +825,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// FIXME: this array definition compiles but probably doesn't do what was intended (GD)
|
// FIXME: this array definition compiles but probably doesn't do what was intended (GD)
|
||||||
WX_DEFINE_ARRAY_LONG(float, cbArrayFloat);
|
WXFL_DEFINE_ARRAY_LONG(float, cbArrayFloat);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Helper class used internally by the wxFrameLayout class.
|
Helper class used internally by the wxFrameLayout class.
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DYNBARHND_G__
|
#ifndef __DYNBARHND_G__
|
||||||
#define __DYNBARHND_G__
|
#define __DYNBARHND_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "dynbarhnd.h"
|
#pragma interface "dynbarhnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,18 +12,19 @@
|
|||||||
#ifndef __DYNTBAR_G__
|
#ifndef __DYNTBAR_G__
|
||||||
#define __DYNTBAR_G__
|
#define __DYNTBAR_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "dyntbar.h"
|
#pragma interface "dyntbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/tbarbase.h"
|
#include "wx/tbarbase.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
|
#include "wx/fl/fldefs.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Tool layout item.
|
Tool layout item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxToolLayoutItem : public wxObject
|
class WXFL_DECLSPEC wxToolLayoutItem : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxToolLayoutItem)
|
DECLARE_DYNAMIC_CLASS(wxToolLayoutItem)
|
||||||
|
|
||||||
@@ -32,19 +33,19 @@ public:
|
|||||||
bool mIsSeparator;
|
bool mIsSeparator;
|
||||||
};
|
};
|
||||||
|
|
||||||
class wxDynToolInfo;
|
class WXFL_DECLSPEC wxDynToolInfo;
|
||||||
|
|
||||||
typedef wxToolLayoutItem* wxToolLayoutItemPtrT;
|
typedef wxToolLayoutItem* wxToolLayoutItemPtrT;
|
||||||
typedef wxDynToolInfo* wxDynToolInfoPtrT;
|
typedef wxDynToolInfo* wxDynToolInfoPtrT;
|
||||||
|
|
||||||
WX_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT );
|
WXFL_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT );
|
||||||
WX_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT );
|
WXFL_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is a base class for layout algorithm implementations.
|
This is a base class for layout algorithm implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class LayoutManagerBase
|
class WXFL_DECLSPEC LayoutManagerBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructor.
|
// Constructor.
|
||||||
@@ -63,7 +64,7 @@ BagLayout lays out items in left-to-right order from
|
|||||||
top to bottom.
|
top to bottom.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class BagLayout : public LayoutManagerBase
|
class WXFL_DECLSPEC BagLayout : public LayoutManagerBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructor.
|
// Constructor.
|
||||||
@@ -78,7 +79,7 @@ public:
|
|||||||
This class holds dynamic toolbar item information.
|
This class holds dynamic toolbar item information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxDynToolInfo : public wxToolLayoutItem
|
class WXFL_DECLSPEC wxDynToolInfo : public wxToolLayoutItem
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxDynToolInfo)
|
DECLARE_DYNAMIC_CLASS(wxDynToolInfo)
|
||||||
|
|
||||||
@@ -98,7 +99,7 @@ public:
|
|||||||
wxDynamicToolBar manages containment and layout of tool windows.
|
wxDynamicToolBar manages containment and layout of tool windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxDynamicToolBar : public wxToolBarBase
|
class WXFL_DECLSPEC wxDynamicToolBar : public wxToolBarBase
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
friend class wxDynamicToolBarSerializer;
|
friend class wxDynamicToolBarSerializer;
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DYNTBARHND_G__
|
#ifndef __DYNTBARHND_G__
|
||||||
#define __DYNTBARHND_G__
|
#define __DYNTBARHND_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "dyntbarhnd.h"
|
#pragma interface "dyntbarhnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
Dynamic toolbar dimension handler.
|
Dynamic toolbar dimension handler.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbDynToolBarDimHandler : public cbBarDimHandlerBase
|
class WXFL_DECLSPEC cbDynToolBarDimHandler : public cbBarDimHandlerBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
|
DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
|
||||||
public:
|
public:
|
||||||
|
50
contrib/include/wx/fl/fldefs.h
Normal file
50
contrib/include/wx/fl/fldefs.h
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: fldefs.h
|
||||||
|
// Purpose: Declaration of global types and defines.
|
||||||
|
// Author: David M. Falkinder (david_falkinder@hp.com)
|
||||||
|
// Modified by:
|
||||||
|
// Created: 18/09/2002
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Copyright: (c) David M. Falkinder
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifndef __fldefs_H_INCLUDED__
|
||||||
|
#define __fldefs_H_INCLUDED__
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If we're using wx in Dynamic Library format do we
|
||||||
|
* want FL to be in DLL form as well?
|
||||||
|
*/
|
||||||
|
#if defined(WXUSINGDLL) && \
|
||||||
|
(defined(WXMAKING_FL_DLL) || defined(WXUSING_FL_DLL))
|
||||||
|
|
||||||
|
#if defined(WXMAKING_FL_DLL)
|
||||||
|
// When building the DLL WXFLDECLSPEC exports classes
|
||||||
|
# define WXFL_DECLSPEC WXEXPORT
|
||||||
|
#elif defined(WXUSING_FL_DLL)
|
||||||
|
// When building the DLL WXFLDECLSPEC imports classes
|
||||||
|
# define WXFL_DECLSPEC WXIMPORT
|
||||||
|
#endif // defined(WXBUILD_FL_DLL)
|
||||||
|
|
||||||
|
#else
|
||||||
|
// When building the static library nullify the effect of WXFL_DECLSPEC
|
||||||
|
#define WXFL_DECLSPEC
|
||||||
|
#endif // WXUSINGDLL && (WXMAKING_FL_DLL || WXUSING_FL_DLL)
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Override some of the wxArray functions to
|
||||||
|
// include our definitions
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
#define WXFL_DEFINE_ARRAY(c,l) \
|
||||||
|
class WXFL_DECLSPEC l; \
|
||||||
|
WX_DEFINE_ARRAY(c,l)
|
||||||
|
|
||||||
|
#define WXFL_DEFINE_ARRAY_LONG(t,l) \
|
||||||
|
class WXFL_DECLSPEC l; \
|
||||||
|
WX_DEFINE_ARRAY_LONG(t,l)
|
||||||
|
|
||||||
|
|
||||||
|
#endif // __fldefs_H_INCLUDED__
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __FRMVIEW_G__
|
#ifndef __FRMVIEW_G__
|
||||||
#define __FRMVIEW_G__
|
#define __FRMVIEW_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "frmview.h"
|
#pragma interface "frmview.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ class wxFrameManager;
|
|||||||
It is not clear what this class does. It is not used elsewhere in FL.
|
It is not clear what this class does. It is not used elsewhere in FL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxFrameView : public wxEvtHandler
|
class WXFL_DECLSPEC wxFrameView : public wxEvtHandler
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxStringList mTopMenus;
|
wxStringList mTopMenus;
|
||||||
@@ -87,7 +87,7 @@ class wxFrame;
|
|||||||
It is not clear what this class does. It is not used elsewhere in FL.
|
It is not clear what this class does. It is not used elsewhere in FL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxFrameManager : wxObject
|
class WXFL_DECLSPEC wxFrameManager : wxObject
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxList mViews;
|
wxList mViews;
|
||||||
|
@@ -12,11 +12,12 @@
|
|||||||
#ifndef __GARBAGEC_G__
|
#ifndef __GARBAGEC_G__
|
||||||
#define __GARBAGEC_G__
|
#define __GARBAGEC_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "garbagec.h"
|
#pragma interface "garbagec.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
|
#include "wx/fl/fldefs.h"
|
||||||
|
|
||||||
struct GCItem
|
struct GCItem
|
||||||
{
|
{
|
||||||
@@ -33,7 +34,7 @@ inline void* gc_node_to_obj( wxNode* pGCNode )
|
|||||||
This class implements an extremely slow but simple garbage collection algorithm.
|
This class implements an extremely slow but simple garbage collection algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class GarbageCollector
|
class WXFL_DECLSPEC GarbageCollector
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxList mAllNodes;
|
wxList mAllNodes;
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __GCUPDATESMGR_G__
|
#ifndef __GCUPDATESMGR_G__
|
||||||
#define __GCUPDATESMGR_G__
|
#define __GCUPDATESMGR_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "gcupdatesmgr.h"
|
#pragma interface "gcupdatesmgr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ to avoid dirty non-client areas of moved windows
|
|||||||
in some special cases of 'overlapping anomalies'.
|
in some special cases of 'overlapping anomalies'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbGCUpdatesMgr : public cbSimpleUpdatesMgr
|
class WXFL_DECLSPEC cbGCUpdatesMgr : public cbSimpleUpdatesMgr
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr )
|
DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __HINTANIMPL_G__
|
#ifndef __HINTANIMPL_G__
|
||||||
#define __HINTANIMPL_G__
|
#define __HINTANIMPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "hintanimpl.h"
|
#pragma interface "hintanimpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
|
|
||||||
#include "wx/timer.h"
|
#include "wx/timer.h"
|
||||||
|
|
||||||
class cbHintAnimTimer;
|
class WXFL_DECLSPEC cbHintAnimTimer;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A plugin to draw animated hints when the user drags a pane.
|
A plugin to draw animated hints when the user drags a pane.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbHintAnimationPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbHintAnimationPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin )
|
DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin )
|
||||||
protected:
|
protected:
|
||||||
@@ -101,7 +101,7 @@ public:
|
|||||||
A private helper class.
|
A private helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct MorphInfoT
|
struct WXFL_DECLSPEC MorphInfoT
|
||||||
{
|
{
|
||||||
wxPoint mFrom;
|
wxPoint mFrom;
|
||||||
wxPoint mTill;
|
wxPoint mTill;
|
||||||
@@ -111,7 +111,7 @@ struct MorphInfoT
|
|||||||
A private helper class.
|
A private helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbHintAnimTimer : public wxTimer
|
class WXFL_DECLSPEC cbHintAnimTimer : public wxTimer
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
@@ -12,12 +12,13 @@
|
|||||||
#ifndef __NEWBMPBTN_G__
|
#ifndef __NEWBMPBTN_G__
|
||||||
#define __NEWBMPBTN_G__
|
#define __NEWBMPBTN_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "newbmpbtn.h"
|
#pragma interface "newbmpbtn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
#include "wx/fl/fldefs.h"
|
||||||
|
|
||||||
// defaults
|
// defaults
|
||||||
#define NB_DEFAULT_MARGIN 2
|
#define NB_DEFAULT_MARGIN 2
|
||||||
@@ -31,8 +32,8 @@
|
|||||||
|
|
||||||
// classes declared in this header file
|
// classes declared in this header file
|
||||||
|
|
||||||
class wxNewBitmapButton;
|
class WXFL_DECLSPEC wxNewBitmapButton;
|
||||||
class wxBorderLessBitmapButton;
|
class WXFL_DECLSPEC wxBorderLessBitmapButton;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is an alternative class to wxBitmapButton. It is used
|
This is an alternative class to wxBitmapButton. It is used
|
||||||
@@ -194,11 +195,6 @@ public:
|
|||||||
// Responds to a kill focus event.
|
// Responds to a kill focus event.
|
||||||
void OnKillFocus( wxFocusEvent& event );
|
void OnKillFocus( wxFocusEvent& event );
|
||||||
|
|
||||||
// Maps bitmap to current system colours on Windows
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __PANEDRAWPL_G__
|
#ifndef __PANEDRAWPL_G__
|
||||||
#define __PANEDRAWPL_G__
|
#define __PANEDRAWPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "panedrawpl.h"
|
#pragma interface "panedrawpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ would be enough for the frame layout to function properly
|
|||||||
(they are plugged in automatically by the wxFrameLayout class).
|
(they are plugged in automatically by the wxFrameLayout class).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbPaneDrawPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbPaneDrawPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin )
|
DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin )
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ROWDRAGPL_G__
|
#ifndef __ROWDRAGPL_G__
|
||||||
#define __ROWDRAGPL_G__
|
#define __ROWDRAGPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "rowdragpl.h"
|
#pragma interface "rowdragpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ The behaviour and appearance resembles drag and drop positioning
|
|||||||
of the toolbar rows in Netscape Communicator 4.xx.
|
of the toolbar rows in Netscape Communicator 4.xx.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbRowDragPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbRowDragPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbRowDragPlugin )
|
DECLARE_DYNAMIC_CLASS( cbRowDragPlugin )
|
||||||
public:
|
public:
|
||||||
@@ -217,7 +217,7 @@ public:
|
|||||||
Internal helper class.
|
Internal helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbHiddenBarInfo : public wxObject
|
class WXFL_DECLSPEC cbHiddenBarInfo : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbHiddenBarInfo )
|
DECLARE_DYNAMIC_CLASS( cbHiddenBarInfo )
|
||||||
public:
|
public:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ROWLAYOUTPL_G__
|
#ifndef __ROWLAYOUTPL_G__
|
||||||
#define __ROWLAYOUTPL_G__
|
#define __ROWLAYOUTPL_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "rowlayoutpl.h"
|
#pragma interface "rowlayoutpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ Simple implementation of a plugin which handles row layout
|
|||||||
requests sent from a frame layout.
|
requests sent from a frame layout.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbRowLayoutPlugin : public cbPluginBase
|
class WXFL_DECLSPEC cbRowLayoutPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbRowLayoutPlugin )
|
DECLARE_DYNAMIC_CLASS( cbRowLayoutPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -13,12 +13,13 @@
|
|||||||
#ifndef __TOOLWND_G__
|
#ifndef __TOOLWND_G__
|
||||||
#define __TOOLWND_G__
|
#define __TOOLWND_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "toolwnd.h"
|
#pragma interface "toolwnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
|
#include "wx/fl/fldefs.h"
|
||||||
|
|
||||||
// fixed settings
|
// fixed settings
|
||||||
|
|
||||||
@@ -26,18 +27,18 @@
|
|||||||
#define BTN_BOX_WIDTH 12
|
#define BTN_BOX_WIDTH 12
|
||||||
#define BTN_X_WIEGHT 2
|
#define BTN_X_WIEGHT 2
|
||||||
|
|
||||||
class cbMiniButton;
|
class WXFL_DECLSPEC cbMiniButton;
|
||||||
|
|
||||||
typedef cbMiniButton* cbMinitButtonPtrT;
|
typedef cbMiniButton* cbMinitButtonPtrT;
|
||||||
|
|
||||||
WX_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT );
|
WXFL_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A tool window is a special kind of frame that paints its own title, and
|
A tool window is a special kind of frame that paints its own title, and
|
||||||
can be used to implement small floating windows.
|
can be used to implement small floating windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wxToolWindow : public wxFrame
|
class WXFL_DECLSPEC wxToolWindow : public wxFrame
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( wxToolWindow )
|
DECLARE_DYNAMIC_CLASS( wxToolWindow )
|
||||||
|
|
||||||
@@ -221,7 +222,7 @@ public:
|
|||||||
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbCloseBox : public cbMiniButton
|
class WXFL_DECLSPEC cbCloseBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Draws the close button appearance.
|
// Draws the close button appearance.
|
||||||
@@ -232,7 +233,7 @@ public:
|
|||||||
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbCollapseBox : public cbMiniButton
|
class WXFL_DECLSPEC cbCollapseBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bool mIsAtLeft;
|
bool mIsAtLeft;
|
||||||
@@ -245,7 +246,7 @@ public:
|
|||||||
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbDockBox : public cbMiniButton
|
class WXFL_DECLSPEC cbDockBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Draws the dock button appearance.
|
// Draws the dock button appearance.
|
||||||
@@ -257,7 +258,7 @@ cbFloatedBarWindow is a kind of wxToolWindow,
|
|||||||
implementing floating toolbars.
|
implementing floating toolbars.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbFloatedBarWindow : public wxToolWindow
|
class WXFL_DECLSPEC cbFloatedBarWindow : public wxToolWindow
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbFloatedBarWindow )
|
DECLARE_DYNAMIC_CLASS( cbFloatedBarWindow )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __UPDATESMGR_G__
|
#ifndef __UPDATESMGR_G__
|
||||||
#define __UPDATESMGR_G__
|
#define __UPDATESMGR_G__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "updatesmgr.h"
|
#pragma interface "updatesmgr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ This class implements slightly optimized logic for refreshing
|
|||||||
the areas of frame layout that actually need to be updated.
|
the areas of frame layout that actually need to be updated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cbSimpleUpdatesMgr : public cbUpdatesManagerBase
|
class WXFL_DECLSPEC cbSimpleUpdatesMgr : public cbUpdatesManagerBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr )
|
DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -142,19 +142,21 @@ typedef void (wxEvtHandler::*wxDynamicSashUnifyEventFunction)(wxDynamicSashSplit
|
|||||||
/*
|
/*
|
||||||
wxDynamicSashWindow. See above.
|
wxDynamicSashWindow. See above.
|
||||||
*/
|
*/
|
||||||
|
extern const wxChar* GIZMODLLEXPORT wxDynamicSashWindowNameStr;
|
||||||
|
|
||||||
class GIZMODLLEXPORT 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 | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||||
const wxString& name = "dynamicSashWindow");
|
const wxString& name = wxDynamicSashWindowNameStr);
|
||||||
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 | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||||
const wxString& name = "dynamicSashWindow");
|
const wxString& name = wxDynamicSashWindowNameStr);
|
||||||
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;
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef __WX_EDITLBOX_H__
|
#ifndef __WX_EDITLBOX_H__
|
||||||
#define __WX_EDITLBOX_H__
|
#define __WX_EDITLBOX_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "editlbox.h"
|
#pragma interface "editlbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#ifndef _WX_LEDNUMBERCTRL_H_
|
#ifndef _WX_LEDNUMBERCTRL_H_
|
||||||
#define _WX_LEDNUMBERCTRL_H_
|
#define _WX_LEDNUMBERCTRL_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "wxLEDNumberCtrl.h"
|
#pragma interface "wxLEDNumberCtrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#ifndef __WX_MULTICELL_H__
|
#ifndef __WX_MULTICELL_H__
|
||||||
#define __WX_MULTICELL_H__
|
#define __WX_MULTICELL_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "multicell.h"
|
#pragma interface "multicell.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
enum wxResizable
|
enum wxResizable
|
||||||
{
|
{
|
||||||
wxNOT_RESIZABLE = 0x00,
|
wxNOT_RESIZABLE = 0x00,
|
||||||
wxHORIZENTAL_RESIZABLE = 0x01,
|
wxHORIZONTAL_RESIZABLE = 0x01,
|
||||||
wxVERTICAL_RESIZABLE = 0x10,
|
wxVERTICAL_RESIZABLE = 0x10,
|
||||||
wxRESIZABLE = 0x11
|
wxRESIZABLE = 0x11
|
||||||
};
|
};
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#ifndef _WX_SPLITTREE_H_
|
#ifndef _WX_SPLITTREE_H_
|
||||||
#define _WX_SPLITTREE_H_
|
#define _WX_SPLITTREE_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "splittree.h"
|
#pragma interface "splittree.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef __CDA_base_H__
|
#ifndef __CDA_base_H__
|
||||||
#define __CDA_base_H__
|
#define __CDA_base_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "cdbase.h"
|
#pragma interface "cdbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef __CDUNIXH__
|
#ifndef __CDUNIXH__
|
||||||
#define __CDUNIXH__
|
#define __CDUNIXH__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "cdunix.h"
|
#pragma interface "cdunix.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "email.h"
|
#pragma interface "email.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "msg.h"
|
#pragma interface "msg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "smapi.h"
|
#pragma interface "smapi.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -53,4 +53,4 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif //_WX_SMAPI_H_
|
#endif //_WX_SMAPI_H_
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "web.h"
|
#pragma interface "web.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BASIC_H_
|
#ifndef _OGL_BASIC_H_
|
||||||
#define _OGL_BASIC_H_
|
#define _OGL_BASIC_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "basic.h"
|
#pragma interface "basic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -22,11 +22,6 @@
|
|||||||
#define DEFAULT_MOUSE_TOLERANCE 3
|
#define DEFAULT_MOUSE_TOLERANCE 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Edit these lines if you positively don't want PROLOGIO support
|
|
||||||
#ifndef PROLOGIO
|
|
||||||
#define PROLOGIO
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Key identifiers
|
// Key identifiers
|
||||||
#define KEY_SHIFT 1
|
#define KEY_SHIFT 1
|
||||||
#define KEY_CTRL 2
|
#define KEY_CTRL 2
|
||||||
@@ -110,7 +105,7 @@ class wxControlPoint;
|
|||||||
class wxShapeRegion;
|
class wxShapeRegion;
|
||||||
class wxShape;
|
class wxShape;
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
class WXDLLEXPORT wxExpr;
|
class WXDLLEXPORT wxExpr;
|
||||||
class WXDLLEXPORT wxExprDatabase;
|
class WXDLLEXPORT wxExprDatabase;
|
||||||
#endif
|
#endif
|
||||||
@@ -358,7 +353,7 @@ class wxShape: public wxShapeEvtHandler
|
|||||||
virtual int GetRegionId(const wxString& name);
|
virtual int GetRegionId(const wxString& name);
|
||||||
|
|
||||||
// Construct names for regions, unique even for children of a composite.
|
// Construct names for regions, unique even for children of a composite.
|
||||||
virtual void NameRegions(const wxString& parentName = "");
|
virtual void NameRegions(const wxString& parentName = wxEmptyString);
|
||||||
|
|
||||||
// Get list of regions
|
// Get list of regions
|
||||||
inline wxList& GetRegions() const { return (wxList&) m_regions; }
|
inline wxList& GetRegions() const { return (wxList&) m_regions; }
|
||||||
@@ -381,7 +376,7 @@ class wxShape: public wxShapeEvtHandler
|
|||||||
virtual void ClearText(int regionId = 0);
|
virtual void ClearText(int regionId = 0);
|
||||||
void RemoveLine(wxLineShape *line);
|
void RemoveLine(wxLineShape *line);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
virtual void WriteAttributes(wxExpr *clause);
|
virtual void WriteAttributes(wxExpr *clause);
|
||||||
virtual void ReadAttributes(wxExpr *clause);
|
virtual void ReadAttributes(wxExpr *clause);
|
||||||
@@ -613,7 +608,7 @@ class wxPolygonShape: public wxShape
|
|||||||
// Recalculates the centre of the polygon
|
// Recalculates the centre of the polygon
|
||||||
virtual void CalculatePolygonCentre();
|
virtual void CalculatePolygonCentre();
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
@@ -652,7 +647,7 @@ class wxRectangleShape: public wxShape
|
|||||||
void SetSize(double x, double y, bool recursive = TRUE);
|
void SetSize(double x, double y, bool recursive = TRUE);
|
||||||
void SetCornerRadius(double rad); // If > 0, rounded corners
|
void SetCornerRadius(double rad); // If > 0, rounded corners
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
@@ -682,8 +677,8 @@ class wxTextShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Does the copying for this object
|
// Does the copying for this object
|
||||||
@@ -704,7 +699,7 @@ class wxEllipseShape: public wxShape
|
|||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
void SetSize(double x, double y, bool recursive = TRUE);
|
void SetSize(double x, double y, bool recursive = TRUE);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BASICP_H_
|
#ifndef _OGL_BASICP_H_
|
||||||
#define _OGL_BASICP_H_
|
#define _OGL_BASICP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "basicp.h"
|
#pragma interface "basicp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ class wxShapeTextLine: public wxObject
|
|||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxShapeTextLine)
|
DECLARE_DYNAMIC_CLASS(wxShapeTextLine)
|
||||||
public:
|
public:
|
||||||
wxShapeTextLine(double the_x = 0.0, double the_y = 0.0, const wxString& the_line = "");
|
wxShapeTextLine(double the_x = 0.0, double the_y = 0.0, const wxString& the_line = wxEmptyString);
|
||||||
~wxShapeTextLine();
|
~wxShapeTextLine();
|
||||||
|
|
||||||
inline double GetX() const { return m_x; }
|
inline double GetX() const { return m_x; }
|
||||||
@@ -136,7 +136,8 @@ class wxShapeRegion: public wxObject
|
|||||||
~wxShapeRegion();
|
~wxShapeRegion();
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
inline void SetText(const wxString& s) { m_regionText = s; }
|
inline void SetText(const wxString& s)
|
||||||
|
{ m_regionText = s; m_formattedText.Append(new wxShapeTextLine(0,0,s));}
|
||||||
void SetFont(wxFont *f);
|
void SetFont(wxFont *f);
|
||||||
void SetMinSize(double w, double h);
|
void SetMinSize(double w, double h);
|
||||||
void SetSize(double w, double h);
|
void SetSize(double w, double h);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BITMAP_H_
|
#ifndef _OGL_BITMAP_H_
|
||||||
#define _OGL_BITMAP_H_
|
#define _OGL_BITMAP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "bmpshape.h"
|
#pragma interface "bmpshape.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ class wxBitmapShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_CANVAS_H_
|
#ifndef _OGL_CANVAS_H_
|
||||||
#define _OGL_CANVAS_H_
|
#define _OGL_CANVAS_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "canvas.h"
|
#pragma interface "canvas.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_COMPOSIT_H_
|
#ifndef _OGL_COMPOSIT_H_
|
||||||
#define _OGL_COMPOSIT_H_
|
#define _OGL_COMPOSIT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "composit.h"
|
#pragma interface "composit.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ public:
|
|||||||
// Calculates size and position of composite object based on children
|
// Calculates size and position of composite object based on children
|
||||||
void CalculateSize();
|
void CalculateSize();
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
// In case the object has constraints it needs to read in in a different pass
|
// In case the object has constraints it needs to read in in a different pass
|
||||||
@@ -152,7 +152,7 @@ class wxDivisionShape: public wxCompositeShape
|
|||||||
void MakeMandatoryControlPoints();
|
void MakeMandatoryControlPoints();
|
||||||
void ResetMandatoryControlPoints();
|
void ResetMandatoryControlPoints();
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_CONSTRNT_H_
|
#ifndef _OGL_CONSTRNT_H_
|
||||||
#define _OGL_CONSTRNT_H_
|
#define _OGL_CONSTRNT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "constrnt.h"
|
#pragma interface "constrnt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -25,7 +25,8 @@ class wxOGLConstraintType: public wxObject
|
|||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxOGLConstraintType)
|
DECLARE_DYNAMIC_CLASS(wxOGLConstraintType)
|
||||||
public:
|
public:
|
||||||
wxOGLConstraintType(int type = 0, const wxString& name = "", const wxString& phrase = "");
|
wxOGLConstraintType(int type = 0, const wxString& name = wxEmptyString,
|
||||||
|
const wxString& phrase = wxEmptyString);
|
||||||
~wxOGLConstraintType();
|
~wxOGLConstraintType();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -60,8 +61,10 @@ class wxOGLConstraint: public wxObject
|
|||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxOGLConstraint)
|
DECLARE_DYNAMIC_CLASS(wxOGLConstraint)
|
||||||
public:
|
public:
|
||||||
wxOGLConstraint() { m_xSpacing = 0.0; m_ySpacing = 0.0; m_constraintType = 0; m_constraintName = ""; m_constraintId = 0;
|
wxOGLConstraint() {
|
||||||
m_constrainingObject = NULL; }
|
m_xSpacing = 0.0; m_ySpacing = 0.0; m_constraintType = 0;
|
||||||
|
m_constraintName = wxEmptyString; m_constraintId = 0;
|
||||||
|
m_constrainingObject = NULL; }
|
||||||
wxOGLConstraint(int type, wxShape *constraining, wxList& constrained);
|
wxOGLConstraint(int type, wxShape *constraining, wxList& constrained);
|
||||||
~wxOGLConstraint();
|
~wxOGLConstraint();
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DIVIDED_H_
|
#ifndef _OGL_DIVIDED_H_
|
||||||
#define _OGL_DIVIDED_H_
|
#define _OGL_DIVIDED_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "basic.h"
|
#pragma interface "basic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ class wxDividedShape: public wxRectangleShape
|
|||||||
void MakeMandatoryControlPoints();
|
void MakeMandatoryControlPoints();
|
||||||
void ResetMandatoryControlPoints();
|
void ResetMandatoryControlPoints();
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DRAWN_H_
|
#ifndef _OGL_DRAWN_H_
|
||||||
#define _OGL_DRAWN_H_
|
#define _OGL_DRAWN_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "drawn.h"
|
#pragma interface "drawn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ class wxPseudoMetaFile: public wxObject
|
|||||||
|
|
||||||
void Draw(wxDC& dc, double xoffset, double yoffset);
|
void Draw(wxDC& dc, double xoffset, double yoffset);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause, int whichAngle);
|
void WriteAttributes(wxExpr *clause, int whichAngle);
|
||||||
void ReadAttributes(wxExpr *clause, int whichAngle);
|
void ReadAttributes(wxExpr *clause, int whichAngle);
|
||||||
#endif
|
#endif
|
||||||
@@ -48,7 +48,7 @@ class wxPseudoMetaFile: public wxObject
|
|||||||
// Rotate about the given axis by theta radians from the x axis.
|
// Rotate about the given axis by theta radians from the x axis.
|
||||||
void Rotate(double x, double y, double theta);
|
void Rotate(double x, double y, double theta);
|
||||||
|
|
||||||
bool LoadFromMetaFile(char *filename, double *width, double *height);
|
bool LoadFromMetaFile(const wxString& filename, double *width, double *height);
|
||||||
|
|
||||||
void GetBounds(double *minX, double *minY, double *maxX, double *maxY);
|
void GetBounds(double *minX, double *minY, double *maxX, double *maxY);
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ class wxDrawnShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
@@ -157,7 +157,7 @@ class wxDrawnShape: public wxRectangleShape
|
|||||||
inline double GetRotation() const { return m_rotation; }
|
inline double GetRotation() const { return m_rotation; }
|
||||||
|
|
||||||
void SetSize(double w, double h, bool recursive = TRUE);
|
void SetSize(double w, double h, bool recursive = TRUE);
|
||||||
bool LoadFromMetaFile(char *filename);
|
bool LoadFromMetaFile(const wxString& filename);
|
||||||
|
|
||||||
inline void SetSaveToFile(bool save) { m_saveToFile = save; }
|
inline void SetSaveToFile(bool save) { m_saveToFile = save; }
|
||||||
inline wxPseudoMetaFile& GetMetaFile(int which = 0) const { return (wxPseudoMetaFile&) m_metafiles[which]; }
|
inline wxPseudoMetaFile& GetMetaFile(int which = 0) const { return (wxPseudoMetaFile&) m_metafiles[which]; }
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DRAWNP_H_
|
#ifndef _OGL_DRAWNP_H_
|
||||||
#define _OGL_DRAWNP_H_
|
#define _OGL_DRAWNP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "drawnp.h"
|
#pragma interface "drawnp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -65,9 +65,10 @@ public:
|
|||||||
inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {};
|
inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {};
|
||||||
virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0;
|
virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0;
|
||||||
virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0;
|
virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0;
|
||||||
|
#if wxUSE_PROLOGIO
|
||||||
virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0;
|
virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0;
|
||||||
virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0;
|
virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0;
|
||||||
|
#endif
|
||||||
inline int GetOp() const { return m_op; }
|
inline int GetOp() const { return m_op; }
|
||||||
|
|
||||||
// Draw an outline using the current operation. By default, return FALSE (not drawn)
|
// Draw an outline using the current operation. By default, return FALSE (not drawn)
|
||||||
@@ -98,8 +99,10 @@ class wxOpSetGDI: public wxDrawOp
|
|||||||
wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0);
|
wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0);
|
||||||
void Do(wxDC& dc, double xoffset, double yoffset);
|
void Do(wxDC& dc, double xoffset, double yoffset);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
|
#if wxUSE_PROLOGIO
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int m_mode;
|
int m_mode;
|
||||||
@@ -123,8 +126,10 @@ public:
|
|||||||
void Scale(double xScale, double yScale);
|
void Scale(double xScale, double yScale);
|
||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
|
#if wxUSE_PROLOGIO
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
double m_x1;
|
double m_x1;
|
||||||
@@ -149,8 +154,10 @@ class wxOpDraw: public wxDrawOp
|
|||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
|
#if wxUSE_PROLOGIO
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
double m_x1;
|
double m_x1;
|
||||||
@@ -179,8 +186,10 @@ public:
|
|||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
|
#if wxUSE_PROLOGIO
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Draw an outline using the current operation.
|
// Draw an outline using the current operation.
|
||||||
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
|
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_LINES_H_
|
#ifndef _OGL_LINES_H_
|
||||||
#define _OGL_LINES_H_
|
#define _OGL_LINES_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "lines.h"
|
#pragma interface "lines.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ class wxArrowHead: public wxObject
|
|||||||
DECLARE_DYNAMIC_CLASS(wxArrowHead)
|
DECLARE_DYNAMIC_CLASS(wxArrowHead)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxArrowHead(WXTYPE type = 0, int end = 0, double size = 0.0, double dist = 0.0, const wxString& name = "", wxPseudoMetaFile *mf = NULL,
|
wxArrowHead(WXTYPE type = 0, int end = 0, double size = 0.0, double dist = 0.0, const wxString& name = wxEmptyString, wxPseudoMetaFile *mf = NULL,
|
||||||
long arrowId = -1);
|
long arrowId = -1);
|
||||||
~wxArrowHead();
|
~wxArrowHead();
|
||||||
wxArrowHead(wxArrowHead& toCopy);
|
wxArrowHead(wxArrowHead& toCopy);
|
||||||
@@ -188,7 +188,7 @@ class wxLineShape: public wxShape
|
|||||||
|
|
||||||
bool HitTest(double x, double y, int *attachment, double *distance);
|
bool HitTest(double x, double y, int *attachment, double *distance);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
virtual void WriteAttributes(wxExpr *clause);
|
virtual void WriteAttributes(wxExpr *clause);
|
||||||
virtual void ReadAttributes(wxExpr *clause);
|
virtual void ReadAttributes(wxExpr *clause);
|
||||||
@@ -210,8 +210,9 @@ class wxLineShape: public wxShape
|
|||||||
|
|
||||||
// Add an arrowhead.
|
// Add an arrowhead.
|
||||||
wxArrowHead *AddArrow(WXTYPE type, int end = ARROW_POSITION_END,
|
wxArrowHead *AddArrow(WXTYPE type, int end = ARROW_POSITION_END,
|
||||||
double arrowSize = 10.0, double xOffset = 0.0, const wxString& name = "",
|
double arrowSize = 10.0, double xOffset = 0.0,
|
||||||
wxPseudoMetaFile *mf = NULL, long arrowId = -1);
|
const wxString& name = wxEmptyString,
|
||||||
|
wxPseudoMetaFile *mf = NULL, long arrowId = -1);
|
||||||
|
|
||||||
// Add an arrowhead in the position indicated by the reference
|
// Add an arrowhead in the position indicated by the reference
|
||||||
// list of arrowheads, which contains all legal arrowheads for this
|
// list of arrowheads, which contains all legal arrowheads for this
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_LINESP_H_
|
#ifndef _OGL_LINESP_H_
|
||||||
#define _OGL_LINESP_H_
|
#define _OGL_LINESP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "linesp.h"
|
#pragma interface "linesp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#ifndef _MFUTILS_H_
|
#ifndef _MFUTILS_H_
|
||||||
#define _MFUTILS_H_
|
#define _MFUTILS_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "mfutils.h"
|
#pragma interface "mfutils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ class wxXMetaFile: public wxObject
|
|||||||
wxList metaRecords;
|
wxList metaRecords;
|
||||||
wxList gdiObjects; // List of wxMetaRecord objects created with Create...,
|
wxList gdiObjects; // List of wxMetaRecord objects created with Create...,
|
||||||
// referenced by position in list by SelectObject
|
// referenced by position in list by SelectObject
|
||||||
wxXMetaFile(char *file = NULL);
|
wxXMetaFile(const wxChar* file = NULL);
|
||||||
~wxXMetaFile(void);
|
~wxXMetaFile(void);
|
||||||
|
|
||||||
// After this is called, the metafile cannot be used for anything
|
// After this is called, the metafile cannot be used for anything
|
||||||
@@ -204,7 +204,7 @@ class wxXMetaFile: public wxObject
|
|||||||
|
|
||||||
bool Play(wxDC *dc);
|
bool Play(wxDC *dc);
|
||||||
inline bool Ok(void) const { return ok; }
|
inline bool Ok(void) const { return ok; }
|
||||||
bool ReadFile(char *file);
|
bool ReadFile(const wxChar *file);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_MISC_H_
|
#ifndef _OGL_MISC_H_
|
||||||
#define _OGL_MISC_H_
|
#define _OGL_MISC_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "misc.h"
|
#pragma interface "misc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_OGLDIAG_H_
|
#ifndef _OGL_OGLDIAG_H_
|
||||||
#define _OGL_OGLDIAG_H_
|
#define _OGL_OGLDIAG_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "ogldiag.h"
|
#pragma interface "ogldiag.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ public:
|
|||||||
// Make sure all text that should be centred, is centred.
|
// Make sure all text that should be centred, is centred.
|
||||||
void RecentreAll(wxDC& dc);
|
void RecentreAll(wxDC& dc);
|
||||||
|
|
||||||
#ifdef PROLOGIO
|
#if wxUSE_PROLOGIO
|
||||||
virtual bool SaveFile(const wxString& filename);
|
virtual bool SaveFile(const wxString& filename);
|
||||||
virtual bool LoadFile(const wxString& filename);
|
virtual bool LoadFile(const wxString& filename);
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_PLOT_H_
|
#ifndef _WX_PLOT_H_
|
||||||
#define _WX_PLOT_H_
|
#define _WX_PLOT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "plot.h"
|
#pragma interface "plot.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -46,5 +46,6 @@
|
|||||||
#include "wx/xrc/xh_unkwn.h"
|
#include "wx/xrc/xh_unkwn.h"
|
||||||
#include "wx/xrc/xh_gdctl.h"
|
#include "wx/xrc/xh_gdctl.h"
|
||||||
#include "wx/xrc/xh_frame.h"
|
#include "wx/xrc/xh_frame.h"
|
||||||
|
#include "wx/xrc/xh_scwin.h"
|
||||||
|
|
||||||
#endif // _WX_XMLRES_H_
|
#endif // _WX_XMLRES_H_
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BMP_H_
|
#ifndef _WX_XH_BMP_H_
|
||||||
#define _WX_XH_BMP_H_
|
#define _WX_XH_BMP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_bmp.h"
|
#pragma interface "xh_bmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BMPBT_H_
|
#ifndef _WX_XH_BMPBT_H_
|
||||||
#define _WX_XH_BMPBT_H_
|
#define _WX_XH_BMPBT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_bmpbt.h"
|
#pragma interface "xh_bmpbt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BTTN_H_
|
#ifndef _WX_XH_BTTN_H_
|
||||||
#define _WX_XH_BTTN_H_
|
#define _WX_XH_BTTN_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_bttn.h"
|
#pragma interface "xh_bttn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CALD_H_
|
#ifndef _WX_XH_CALD_H_
|
||||||
#define _WX_XH_CALD_H_
|
#define _WX_XH_CALD_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_cald.h"
|
#pragma interface "xh_cald.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHCKB_H_
|
#ifndef _WX_XH_CHCKB_H_
|
||||||
#define _WX_XH_CHCKB_H_
|
#define _WX_XH_CHCKB_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_chckb.h"
|
#pragma interface "xh_chckb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHCKL_H_
|
#ifndef _WX_XH_CHCKL_H_
|
||||||
#define _WX_XH_CHCKL_H_
|
#define _WX_XH_CHCKL_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_chckl.h"
|
#pragma interface "xh_chckl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHOIC_H_
|
#ifndef _WX_XH_CHOIC_H_
|
||||||
#define _WX_XH_CHOIC_H_
|
#define _WX_XH_CHOIC_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_choic.h"
|
#pragma interface "xh_choic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_COMBO_H_
|
#ifndef _WX_XH_COMBO_H_
|
||||||
#define _WX_XH_COMBO_H_
|
#define _WX_XH_COMBO_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_combo.h"
|
#pragma interface "xh_combo.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_DLG_H_
|
#ifndef _WX_XH_DLG_H_
|
||||||
#define _WX_XH_DLG_H_
|
#define _WX_XH_DLG_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_dlg.h"
|
#pragma interface "xh_dlg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_FRAME_H_
|
#ifndef _WX_XH_FRAME_H_
|
||||||
#define _WX_XH_FRAME_H_
|
#define _WX_XH_FRAME_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_frame.h"
|
#pragma interface "xh_frame.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_GAUGE_H_
|
#ifndef _WX_XH_GAUGE_H_
|
||||||
#define _WX_XH_GAUGE_H_
|
#define _WX_XH_GAUGE_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_gauge.h"
|
#pragma interface "xh_gauge.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_GDCTL_H_
|
#ifndef _WX_XH_GDCTL_H_
|
||||||
#define _WX_XH_GDCTL_H_
|
#define _WX_XH_GDCTL_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_gdctl.h"
|
#pragma interface "xh_gdctl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_HTML_H_
|
#ifndef _WX_XH_HTML_H_
|
||||||
#define _WX_XH_HTML_H_
|
#define _WX_XH_HTML_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_html.h"
|
#pragma interface "xh_html.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_LISTB_H_
|
#ifndef _WX_XH_LISTB_H_
|
||||||
#define _WX_XH_LISTB_H_
|
#define _WX_XH_LISTB_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_listb.h"
|
#pragma interface "xh_listb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_LISTC_H_
|
#ifndef _WX_XH_LISTC_H_
|
||||||
#define _WX_XH_LISTC_H_
|
#define _WX_XH_LISTC_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_listc.h"
|
#pragma interface "xh_listc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_MENU_H_
|
#ifndef _WX_XH_MENU_H_
|
||||||
#define _WX_XH_MENU_H_
|
#define _WX_XH_MENU_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_menu.h"
|
#pragma interface "xh_menu.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef _WX_XH_NOTBK_H_
|
#ifndef _WX_XH_NOTBK_H_
|
||||||
#define _WX_XH_NOTBK_H_
|
#define _WX_XH_NOTBK_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_notbk.h"
|
#pragma interface "xh_notbk.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_PANEL_H_
|
#ifndef _WX_XH_PANEL_H_
|
||||||
#define _WX_XH_PANEL_H_
|
#define _WX_XH_PANEL_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_panel.h"
|
#pragma interface "xh_panel.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_RADBT_H_
|
#ifndef _WX_XH_RADBT_H_
|
||||||
#define _WX_XH_RADBT_H_
|
#define _WX_XH_RADBT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_radbt.h"
|
#pragma interface "xh_radbt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_RADBX_H_
|
#ifndef _WX_XH_RADBX_H_
|
||||||
#define _WX_XH_RADBX_H_
|
#define _WX_XH_RADBX_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_radbx.h"
|
#pragma interface "xh_radbx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SCROL_H_
|
#ifndef _WX_XH_SCROL_H_
|
||||||
#define _WX_XH_SCROL_H_
|
#define _WX_XH_SCROL_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_scrol.h"
|
#pragma interface "xh_scrol.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
32
contrib/include/wx/xrc/xh_scwin.h
Normal file
32
contrib/include/wx/xrc/xh_scwin.h
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: xh_scwin.h
|
||||||
|
// Purpose: XML resource handler for wxScrolledWindow
|
||||||
|
// Author: Vaclav Slavik
|
||||||
|
// Created: 2002/10/18
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Copyright: (c) 2002 Vaclav Slavik
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifndef _WX_XH_SCWIN_H_
|
||||||
|
#define _WX_XH_SCWIN_H_
|
||||||
|
|
||||||
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
|
#pragma interface "xh_scwin.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/xrc/xmlres.h"
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
wxScrolledWindowXmlHandler();
|
||||||
|
virtual wxObject *DoCreateResource();
|
||||||
|
virtual bool CanHandle(wxXmlNode *node);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // _WX_XH_SCWIN_H_
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SIZER_H_
|
#ifndef _WX_XH_SIZER_H_
|
||||||
#define _WX_XH_SIZER_H_
|
#define _WX_XH_SIZER_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_sizer.h"
|
#pragma interface "xh_sizer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SLIDR_H_
|
#ifndef _WX_XH_SLIDR_H_
|
||||||
#define _WX_XH_SLIDR_H_
|
#define _WX_XH_SLIDR_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_slidr.h"
|
#pragma interface "xh_slidr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SPIN_H_
|
#ifndef _WX_XH_SPIN_H_
|
||||||
#define _WX_XH_SPIN_H_
|
#define _WX_XH_SPIN_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_spin.h"
|
#pragma interface "xh_spin.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STBMP_H_
|
#ifndef _WX_XH_STBMP_H_
|
||||||
#define _WX_XH_STBMP_H_
|
#define _WX_XH_STBMP_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_stbmp.h"
|
#pragma interface "xh_stbmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STBOX_H_
|
#ifndef _WX_XH_STBOX_H_
|
||||||
#define _WX_XH_STBOX_H_
|
#define _WX_XH_STBOX_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_stbox.h"
|
#pragma interface "xh_stbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STLIN_H_
|
#ifndef _WX_XH_STLIN_H_
|
||||||
#define _WX_XH_STLIN_H_
|
#define _WX_XH_STLIN_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_stlin.h"
|
#pragma interface "xh_stlin.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STTXT_H_
|
#ifndef _WX_XH_STTXT_H_
|
||||||
#define _WX_XH_STTXT_H_
|
#define _WX_XH_STTXT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_sttxt.h"
|
#pragma interface "xh_sttxt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TEXT_H_
|
#ifndef _WX_XH_TEXT_H_
|
||||||
#define _WX_XH_TEXT_H_
|
#define _WX_XH_TEXT_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_text.h"
|
#pragma interface "xh_text.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TOOLB_H_
|
#ifndef _WX_XH_TOOLB_H_
|
||||||
#define _WX_XH_TOOLB_H_
|
#define _WX_XH_TOOLB_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_toolb.h"
|
#pragma interface "xh_toolb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TREE_H_
|
#ifndef _WX_XH_TREE_H_
|
||||||
#define _WX_XH_TREE_H_
|
#define _WX_XH_TREE_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_tree.h"
|
#pragma interface "xh_tree.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_UNKWN_H_
|
#ifndef _WX_XH_UNKWN_H_
|
||||||
#define _WX_XH_UNKWN_H_
|
#define _WX_XH_UNKWN_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xh_unkwn.h"
|
#pragma interface "xh_unkwn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XML_H_
|
#ifndef _WX_XML_H_
|
||||||
#define _WX_XML_H_
|
#define _WX_XML_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xml.h"
|
#pragma interface "xml.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@ private:
|
|||||||
class WXXMLDLLEXPORT wxXmlDocument : public wxObject
|
class WXXMLDLLEXPORT wxXmlDocument : public wxObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxXmlDocument() : wxObject(), m_version(wxT("1.0")), m_root(NULL) {}
|
wxXmlDocument();
|
||||||
wxXmlDocument(const wxString& filename,
|
wxXmlDocument(const wxString& filename,
|
||||||
const wxString& encoding = wxT("UTF-8"));
|
const wxString& encoding = wxT("UTF-8"));
|
||||||
wxXmlDocument(wxInputStream& stream,
|
wxXmlDocument(wxInputStream& stream,
|
||||||
@@ -180,7 +180,7 @@ public:
|
|||||||
const wxString& encoding = wxT("UTF-8"));
|
const wxString& encoding = wxT("UTF-8"));
|
||||||
bool Load(wxInputStream& stream,
|
bool Load(wxInputStream& stream,
|
||||||
const wxString& encoding = wxT("UTF-8"));
|
const wxString& encoding = wxT("UTF-8"));
|
||||||
|
|
||||||
// Saves document as .xml file.
|
// Saves document as .xml file.
|
||||||
bool Save(const wxString& filename) const;
|
bool Save(const wxString& filename) const;
|
||||||
bool Save(wxOutputStream& stream) const;
|
bool Save(wxOutputStream& stream) const;
|
||||||
@@ -193,7 +193,7 @@ public:
|
|||||||
// Returns version of document (may be empty).
|
// Returns version of document (may be empty).
|
||||||
wxString GetVersion() const { return m_version; }
|
wxString GetVersion() const { return m_version; }
|
||||||
// Returns encoding of document (may be empty).
|
// Returns encoding of document (may be empty).
|
||||||
// Note: this is the encoding original fail was saved in, *not* the
|
// Note: this is the encoding original file was saved in, *not* the
|
||||||
// encoding of in-memory representation!
|
// encoding of in-memory representation!
|
||||||
wxString GetFileEncoding() const { return m_fileEncoding; }
|
wxString GetFileEncoding() const { return m_fileEncoding; }
|
||||||
|
|
||||||
@@ -207,6 +207,7 @@ public:
|
|||||||
// (same as passed to Load or ctor, defaults to UTF-8).
|
// (same as passed to Load or ctor, defaults to UTF-8).
|
||||||
// NB: this is meaningless in Unicode build where data are stored as wchar_t*
|
// NB: this is meaningless in Unicode build where data are stored as wchar_t*
|
||||||
wxString GetEncoding() const { return m_encoding; }
|
wxString GetEncoding() const { return m_encoding; }
|
||||||
|
void SetEncoding(const wxString& enc) { m_encoding = enc; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XMLRES_H_
|
#ifndef _WX_XMLRES_H_
|
||||||
#define _WX_XMLRES_H_
|
#define _WX_XMLRES_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "xmlres.h"
|
#pragma interface "xmlres.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -37,6 +37,9 @@ class WXDLLEXPORT wxFrame;
|
|||||||
class WXDLLEXPORT wxToolBar;
|
class WXDLLEXPORT wxToolBar;
|
||||||
|
|
||||||
class WXXMLDLLEXPORT wxXmlResourceHandler;
|
class WXXMLDLLEXPORT wxXmlResourceHandler;
|
||||||
|
class WXXMLDLLEXPORT wxXmlSubclassFactory;
|
||||||
|
class WXXMLDLLEXPORT wxXmlSubclassFactoriesList;
|
||||||
|
class wxXmlResourceModule;
|
||||||
|
|
||||||
|
|
||||||
// These macros indicate current version of XML resources (this information is
|
// These macros indicate current version of XML resources (this information is
|
||||||
@@ -55,7 +58,7 @@ class WXXMLDLLEXPORT wxXmlResourceHandler;
|
|||||||
#define WX_XMLRES_CURRENT_VERSION_MINOR 3
|
#define WX_XMLRES_CURRENT_VERSION_MINOR 3
|
||||||
#define WX_XMLRES_CURRENT_VERSION_RELEASE 0
|
#define WX_XMLRES_CURRENT_VERSION_RELEASE 0
|
||||||
#define WX_XMLRES_CURRENT_VERSION_REVISION 1
|
#define WX_XMLRES_CURRENT_VERSION_REVISION 1
|
||||||
#define WX_XMLRES_CURRENT_VERSION_STRING "2.3.0.1"
|
#define WX_XMLRES_CURRENT_VERSION_STRING wxT("2.3.0.1")
|
||||||
|
|
||||||
#define WX_XMLRES_CURRENT_VERSION \
|
#define WX_XMLRES_CURRENT_VERSION \
|
||||||
(WX_XMLRES_CURRENT_VERSION_MAJOR * 256*256*256 + \
|
(WX_XMLRES_CURRENT_VERSION_MAJOR * 256*256*256 + \
|
||||||
@@ -133,6 +136,11 @@ public:
|
|||||||
|
|
||||||
// Removes all handlers
|
// Removes all handlers
|
||||||
void ClearHandlers();
|
void ClearHandlers();
|
||||||
|
|
||||||
|
// Registers subclasses factory for use in XRC. This function is not meant
|
||||||
|
// for public use, please see the comment above wxXmlSubclassFactory
|
||||||
|
// definition.
|
||||||
|
static void AddSubclassFactory(wxXmlSubclassFactory *factory);
|
||||||
|
|
||||||
// Loads menu from resource. Returns NULL on failure.
|
// Loads menu from resource. Returns NULL on failure.
|
||||||
wxMenu *LoadMenu(const wxString& name);
|
wxMenu *LoadMenu(const wxString& name);
|
||||||
@@ -215,6 +223,11 @@ public:
|
|||||||
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
||||||
static wxXmlResource *Set(wxXmlResource *res);
|
static wxXmlResource *Set(wxXmlResource *res);
|
||||||
|
|
||||||
|
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
||||||
|
int GetFlags() const { return m_flags; }
|
||||||
|
// Set flags after construction.
|
||||||
|
void SetFlags(int flags) { m_flags = flags; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Scans the resources list for unloaded files and loads them. Also reloads
|
// Scans the resources list for unloaded files and loads them. Also reloads
|
||||||
// files that have been modified since last loading.
|
// files that have been modified since last loading.
|
||||||
@@ -229,9 +242,6 @@ protected:
|
|||||||
// Creates a resource from information in the given node.
|
// Creates a resource from information in the given node.
|
||||||
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
|
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
|
||||||
|
|
||||||
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
|
||||||
int GetFlags() { return m_flags; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long m_version;
|
long m_version;
|
||||||
|
|
||||||
@@ -244,6 +254,9 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
friend class wxXmlResourceHandler;
|
friend class wxXmlResourceHandler;
|
||||||
|
friend class wxXmlResourceModule;
|
||||||
|
|
||||||
|
static wxXmlSubclassFactoriesList *ms_subclassFactories;
|
||||||
|
|
||||||
// singleton instance:
|
// singleton instance:
|
||||||
static wxXmlResource *ms_instance;
|
static wxXmlResource *ms_instance;
|
||||||
@@ -438,6 +451,20 @@ protected:
|
|||||||
void wxXmlInitResourceModule();
|
void wxXmlInitResourceModule();
|
||||||
|
|
||||||
|
|
||||||
|
// This class is used to create instances of XRC "object" nodes with "subclass"
|
||||||
|
// property. It is _not_ supposed to be used by XRC users, you should instead
|
||||||
|
// register your subclasses via wxWindows' RTTI mechanism. This class is useful
|
||||||
|
// only for language bindings developer who need a way to implement subclassing
|
||||||
|
// in wxWindows ports that don't support wxRTTI (e.g. wxPython).
|
||||||
|
class WXXMLDLLEXPORT wxXmlSubclassFactory
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// Try to create instance of given class and return it, return NULL on failure:
|
||||||
|
virtual wxObject *Create(const wxString& className) = 0;
|
||||||
|
virtual ~wxXmlSubclassFactory() {}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------
|
/* -------------------------------------------------------------------------
|
||||||
Backward compatibility macros. Do *NOT* use, they may disappear in future
|
Backward compatibility macros. Do *NOT* use, they may disappear in future
|
||||||
versions of the XRC library!
|
versions of the XRC library!
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user