Compare commits
357 Commits
wxPy_2_3_3
...
v2.3.3
Author | SHA1 | Date | |
---|---|---|---|
|
185c47c9ad | ||
|
bf4a027ddb | ||
|
418b74a078 | ||
|
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 |
20
Makefile.in
20
Makefile.in
@@ -543,13 +543,16 @@ ALL_DIST: distclean
|
||||
cp $(WXDIR)/wxBase.spec $(DISTDIR)
|
||||
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||
mkdir $(DISTDIR)/lib
|
||||
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
||||
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
||||
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
|
||||
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||
@@ -598,7 +601,6 @@ ALL_GUI_DIST: ALL_DIST
|
||||
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
||||
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
||||
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
||||
mkdir $(DISTDIR)/src/common
|
||||
mkdir $(DISTDIR)/src/generic
|
||||
mkdir $(DISTDIR)/src/html
|
||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||
@@ -650,7 +652,6 @@ BASE_DIST: ALL_DIST
|
||||
mkdir $(DISTDIR)/include/wx/protocol
|
||||
mkdir $(DISTDIR)/include/wx/unix
|
||||
mkdir $(DISTDIR)/include/wx/msw
|
||||
mkdir $(DISTDIR)/src/common
|
||||
mkdir $(DISTDIR)/src/unix
|
||||
mkdir $(DISTDIR)/src/msw
|
||||
cp @PORT_FILES@ $(DISTDIR)
|
||||
@@ -659,6 +660,7 @@ BASE_DIST: ALL_DIST
|
||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||
cp $(SRCDIR)/files.lst $(DISTDIR)/src
|
||||
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
||||
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
||||
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
|
||||
@@ -692,6 +694,16 @@ GTK_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/contrib
|
||||
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
|
||||
cp $(WXDIR)/wxMotif.spec $(DISTDIR)
|
||||
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
||||
|
@@ -336,10 +336,15 @@ AC_DEFUN([WX_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_MSG_CHECKING([for --enable-$1])
|
||||
enablestring=$4
|
||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||
no_cache=0
|
||||
AC_ARG_ENABLE($1, [$2],
|
||||
[
|
||||
|
5
aclocal.m4
vendored
5
aclocal.m4
vendored
@@ -348,10 +348,11 @@ AC_DEFUN([WX_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)
|
||||
AC_DEFUN([WX_ARG_ENABLE],
|
||||
[
|
||||
AC_MSG_CHECKING([for --enable-$1])
|
||||
enablestring=$4
|
||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||
no_cache=0
|
||||
AC_ARG_ENABLE($1, [$2],
|
||||
[
|
||||
|
218
configure.in
218
configure.in
@@ -257,7 +257,6 @@ case "${host}" in
|
||||
AC_DEFINE(__EMX__)
|
||||
PROGRAM_EXT=".exe"
|
||||
DEFAULT_DEFAULT_wxUSE_PM=1
|
||||
LIBS="$LIBS -lstdcpp"
|
||||
;;
|
||||
|
||||
powerpc-*-darwin* )
|
||||
@@ -354,6 +353,8 @@ if test $DEBUG_CONFIGURE = 1; then
|
||||
DEFAULT_wxUSE_FONTMAP=no
|
||||
DEFAULT_wxUSE_STREAMS=no
|
||||
DEFAULT_wxUSE_SOCKETS=no
|
||||
DEFAULT_wxUSE_OLE=no
|
||||
DEFAULT_wxUSE_DATAOBJ=no
|
||||
DEFAULT_wxUSE_DIALUP_MANAGER=no
|
||||
DEFAULT_wxUSE_JOYSTICK=no
|
||||
DEFAULT_wxUSE_DYNLIB_CLASS=no
|
||||
@@ -527,6 +528,8 @@ else
|
||||
DEFAULT_wxUSE_FONTMAP=yes
|
||||
DEFAULT_wxUSE_STREAMS=yes
|
||||
DEFAULT_wxUSE_SOCKETS=yes
|
||||
DEFAULT_wxUSE_OLE=yes
|
||||
DEFAULT_wxUSE_DATAOBJ=yes
|
||||
DEFAULT_wxUSE_DIALUP_MANAGER=yes
|
||||
DEFAULT_wxUSE_JOYSTICK=yes
|
||||
DEFAULT_wxUSE_DYNLIB_CLASS=yes
|
||||
@@ -712,8 +715,8 @@ WX_ARG_ENABLE(soname, [ --enable-soname set the DT_SONAME field in
|
||||
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
|
||||
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
|
||||
|
||||
dnl allow the precompiled header option to be disabled under Mac OS X
|
||||
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X)], wxUSE_PRECOMP)
|
||||
dnl allow the precompiled header option to be disabled under Mac OS X/Darwin
|
||||
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)], wxUSE_PRECOMP)
|
||||
|
||||
if test "$wxUSE_DEBUG" = "yes"; then
|
||||
DEFAULT_wxUSE_DEBUG_FLAG=yes
|
||||
@@ -735,7 +738,7 @@ WX_ARG_ENABLE(permissive, [ --enable-permissive compile code disregardin
|
||||
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
|
||||
|
||||
WX_ARG_ENABLE(compat20, [ --enable-compat20 enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
|
||||
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
|
||||
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2, disable)
|
||||
|
||||
AC_ARG_ENABLE(rpath, [ --enable-rpath=DIR output the rpath flag from wx-config], [wxRPATH_DIR="$enableval"])
|
||||
|
||||
@@ -756,6 +759,8 @@ WX_ARG_ENABLE(ftp, [ --enable-ftp use wxFTP (requires wxPr
|
||||
WX_ARG_ENABLE(http, [ --enable-http use wxHTTP (requires wxProtocol], wxUSE_PROTOCOL_HTTP)
|
||||
WX_ARG_ENABLE(fileproto, [ --enable-fileproto use wxFileProto class (requires wxProtocol], wxUSE_PROTOCOL_FILE)
|
||||
WX_ARG_ENABLE(sockets, [ --enable-sockets use socket/network classes], wxUSE_SOCKETS)
|
||||
WX_ARG_ENABLE(ole, [ --enable-ole use OLE classes], wxUSE_OLE)
|
||||
WX_ARG_ENABLE(dataobj, [ --enable-dataobj use data object classes], wxUSE_DATAOBJ)
|
||||
|
||||
WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communication (wxSocket etc.)], wxUSE_IPC)
|
||||
|
||||
@@ -1035,7 +1040,9 @@ dnl Path separator; ':' for unix, ';' for OS/2
|
||||
dnl Stem for flex output; lexyy for OS/2, lex.yy otherwise
|
||||
case "${host}" in
|
||||
*-pc-os2_emx | *-pc-os2-emx )
|
||||
dnl PATH_IFS is autodetected by OS/2's configure (usually ';')
|
||||
PATH_IFS=';'
|
||||
dnl Really ought to text for this as meanwhile there are flex versions using
|
||||
dnl lex.yy as well due to FAT support being more and more dropped...
|
||||
LEX_STEM="lexyy"
|
||||
;;
|
||||
*)
|
||||
@@ -1120,11 +1127,31 @@ else
|
||||
AC_MSG_RESULT(base ($host_alias hosted) only)
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl When we are using gcc on OS/2, we want to be either using resources (PM)
|
||||
dnl or a more complete POSIX emulation for Motif/GTK+/X11
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl (OS/2-only piece)
|
||||
case "${host}" in
|
||||
*-pc-os2_emx | *-pc-os2-emx )
|
||||
dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++".
|
||||
LIBS="$LIBS -lstdcpp"
|
||||
if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
|
||||
dnl More complete Unix emulation for unix-like ports
|
||||
dnl by linking in POSIX/2's cExt (if available).
|
||||
AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt")
|
||||
else
|
||||
dnl Include resources for the "native" port (wxPM).
|
||||
RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
dnl (end of OS/2-only piece)
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl When we are using Cygwin with Motif/GTK+, we want it to appear like
|
||||
dnl 'just' a POSIX platform, so the Win32 API must not be available
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl (Windows-only piece)
|
||||
wants_win32=0
|
||||
doesnt_want_win32=0
|
||||
@@ -1396,6 +1423,13 @@ case "${host}" in
|
||||
arm-*-linux* )
|
||||
AC_CHECK_SIZEOF(long long, 8)
|
||||
;;
|
||||
*-hp-hpux* )
|
||||
AC_CHECK_SIZEOF(long long, 0)
|
||||
if test "$ac_cv_sizeof_long_long" != "0"; then
|
||||
dnl HPUX 10.20 headers need this define in order to use long long definitions
|
||||
CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
|
||||
fi
|
||||
;;
|
||||
* )
|
||||
AC_CHECK_SIZEOF(long long, 0)
|
||||
esac
|
||||
@@ -1436,6 +1470,20 @@ AC_DEFINE_UNQUOTED(SIZEOF_WCHAR_T, $wx_cv_sizeof_wchar_t)
|
||||
dnl check for large file support
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
dnl we need to define _FILE_OFFSET_BITS or _LARGE_FILES on the compiler command
|
||||
dnl line because otherwise the system headers risk being included before
|
||||
dnl wx/defs.h which defines these constants leading to inconsistent
|
||||
dnl sizeof(off_t) in different source files of the same program and linking
|
||||
dnl problems
|
||||
if test "x$wx_largefile" = "xyes"; then
|
||||
if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
|
||||
WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
|
||||
else
|
||||
WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
|
||||
fi
|
||||
CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
|
||||
fi
|
||||
|
||||
dnl check for bytesex stuff (don't use AC_C_BIGENDIAN to allow cross-compiling)
|
||||
WX_C_BIGENDIAN
|
||||
|
||||
@@ -1455,8 +1503,11 @@ dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl notice that /usr/include should not be in this list, otherwise it breaks
|
||||
dnl compilation on Solaris/gcc because standard headers are included instead
|
||||
dnl of the gcc ones (correction: it *is* needed for broken AIX compiler - but
|
||||
dnl do put it last!)
|
||||
dnl of the gcc ones. (recorrection.. sadly much depends on this since it was
|
||||
dnl first created and then 'corrected'.. removing /usr/include means system
|
||||
dnl GL and Xpm libs will dnl not be found on linux and probably other platforms
|
||||
dnl now. We need to correct that first before removing /usr/include again.
|
||||
dnl see the various (ab)uses of WX_PATH_FIND_LIBRARIES below )
|
||||
dnl
|
||||
dnl Also try to put all directories which may contain X11R6 before those which
|
||||
dnl may contain X11R5/4 - we want to use R6 on machines which have both!
|
||||
@@ -1524,7 +1575,6 @@ SEARCH_INCLUDE="\
|
||||
/usr/lpp/Xamples/include \
|
||||
\
|
||||
/usr/openwin/share/include \
|
||||
\
|
||||
/usr/include"
|
||||
|
||||
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
|
||||
@@ -1865,6 +1915,16 @@ if test "$USE_WIN32" = 1 ; then
|
||||
RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
|
||||
fi
|
||||
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
dnl Mac OS X/Darwin GCC uses precompiled headers by default
|
||||
dnl this can cause problems both when compiling wxMac and wxBase
|
||||
if test "$wxUSE_PRECOMP" = "yes"; then
|
||||
CPPFLAGS="$CPPFLAGS -cpp-precomp"
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_GUI" = "yes"; then
|
||||
USE_GUI=1
|
||||
|
||||
@@ -2153,7 +2213,9 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
||||
mesa_link=" -lMesaGL"
|
||||
AC_MSG_RESULT(found at $ac_find_libraries)
|
||||
else
|
||||
AC_MSG_ERROR(no)
|
||||
mesa_link=""
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN(library will be compiled without Mesa support)
|
||||
fi
|
||||
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
|
||||
@@ -2283,7 +2345,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
||||
for libp in "" " -lXp"; do
|
||||
if test "$libs_found" = "0"; then
|
||||
for libsm_ice in " -lSM -lICE"; do
|
||||
if test "$libs_found" = "0"; then
|
||||
if test "$libs_found" = "0"; then
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
|
||||
save_CFLAGS=$CFLAGS
|
||||
@@ -2328,14 +2390,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
||||
fi
|
||||
|
||||
if test "$wxUSE_MAC" = 1; then
|
||||
if test "$wxUSE_PRECOMP" = "yes"; then
|
||||
CPPFLAGS="$CPPFLAGS -cpp-precomp"
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
|
||||
fi
|
||||
CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
|
||||
CFLAGS="$CFLAGS -fpascal-strings"
|
||||
CXXFLAGS="$CXXFLAGS -fpascal-strings"
|
||||
CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefile -I/Developer/Headers/FlatCarbon"
|
||||
|
||||
TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
|
||||
TOOLKIT=MAC
|
||||
@@ -2625,8 +2680,9 @@ if test "$wxUSE_SHARED" = "yes"; then
|
||||
case "${host}" in
|
||||
*-hp-hpux* )
|
||||
dnl default settings are good for gcc but not for the native HP-UX
|
||||
if test "$GCC" == "yes"; then
|
||||
SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
|
||||
if test "$GCC" = "yes"; then
|
||||
dnl -o flag must be after PIC flag
|
||||
SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
|
||||
else
|
||||
dnl no idea why it wants it, but it does
|
||||
LDFLAGS="$LDFLAGS -L/usr/lib"
|
||||
@@ -2687,8 +2743,9 @@ if test "$wxUSE_SHARED" = "yes"; then
|
||||
*-*-darwin* )
|
||||
dnl For Unix to MacOS X porting instructions, see:
|
||||
dnl http://fink.sourceforge.net/doc/porting/porting.html
|
||||
CFLAGS="$CFLAGS -fno-common -DWXMAKINGDLL"
|
||||
CXXFLAGS="$CXXFLAGS -fno-common -DWXMAKINGDLL"
|
||||
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
|
||||
CFLAGS="$CFLAGS -fno-common"
|
||||
CXXFLAGS="$CXXFLAGS -fno-common"
|
||||
dnl wxWindows must be fully binded (lazy binding breaks RTTI classinfo)
|
||||
dnl this can be done either with the exe linker flag -Wl,-bind_at_load
|
||||
dnl or with a double stage link in order to create a single module
|
||||
@@ -2781,6 +2838,12 @@ if test "$wxUSE_SHARED" = "no"; then
|
||||
|
||||
WX_TARGET_LIBRARY_TYPE="a"
|
||||
INSTALL_LIBRARY='$(INSTALL_DATA)'
|
||||
|
||||
dnl wx-config should assume the --static flag by default if we don't have
|
||||
dnl any shared libs anyhow
|
||||
STATIC_FLAG="yes"
|
||||
else
|
||||
STATIC_FLAG="no"
|
||||
fi
|
||||
|
||||
if test "$wxUSE_MAC" = 1; then
|
||||
@@ -2945,6 +3008,15 @@ AC_CHECK_FUNCS(vsnprintf)
|
||||
if test "$wxUSE_UNICODE" = yes; then
|
||||
dnl also look if we have wide char IO functions
|
||||
AC_CHECK_FUNCS(fputwc wprintf vswprintf)
|
||||
dnl MinGW has a vswprintf with a different prototype, and
|
||||
dnl a _vsnwprintf with the correct prototype, but AC_CHECK_FUNCS
|
||||
dnl finds it even if it is not declared in some versions...
|
||||
AC_MSG_CHECKING([for _vsnwprintf])
|
||||
AC_TRY_COMPILE([#include <wchar.h>],
|
||||
[&_vsnwprintf;],
|
||||
[AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE__VSNWPRINTF)],
|
||||
[AC_MSG_RESULT([no])]);
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
@@ -2996,9 +3068,6 @@ if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl check for vfork() (even if it's the same as fork() in modern Unices)
|
||||
AC_CHECK_FUNCS(vfork)
|
||||
|
||||
dnl check for the function for temp files creation
|
||||
AC_CHECK_FUNCS(mkstemp mktemp, break)
|
||||
|
||||
@@ -3089,7 +3158,7 @@ if test "$USE_BEOS" = 1; then
|
||||
fi
|
||||
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
dnl Mac OS X has both nanosleep and usleep
|
||||
dnl Mac OS X/Darwin has both nanosleep and usleep
|
||||
dnl but only usleep is defined in unistd.h
|
||||
AC_DEFINE(HAVE_USLEEP)
|
||||
HAVE_SOME_SLEEP_FUNC=1
|
||||
@@ -3170,10 +3239,10 @@ dnl flush the cache
|
||||
AC_CACHE_SAVE
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl thread support for Unix (always available under Win32)
|
||||
dnl thread support for Unix (for Win32 see past the next matching "else")
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl under MSW we always have thread support
|
||||
dnl under MSW (except mingw32) we always have thread support
|
||||
CPP_MT_FLAG=
|
||||
if test "$TOOLKIT" != "MSW"; then
|
||||
|
||||
@@ -3289,7 +3358,8 @@ if test "$TOOLKIT" != "MSW"; then
|
||||
else
|
||||
dnl yes, these special compiler flags should be used with the
|
||||
dnl linker as well
|
||||
LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
|
||||
LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
|
||||
LIBS="$THREADS_LINK $LIBS"
|
||||
|
||||
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
||||
flag=no
|
||||
@@ -3297,6 +3367,9 @@ if test "$TOOLKIT" != "MSW"; then
|
||||
*-aix* | *-freebsd*)
|
||||
flag="-D_THREAD_SAFE"
|
||||
;;
|
||||
*-hp-hpux* )
|
||||
flag="-D_REENTRANT"
|
||||
;;
|
||||
*solaris* | alpha*-osf*)
|
||||
flag="-D_REENTRANT"
|
||||
;;
|
||||
@@ -3430,6 +3503,35 @@ if test "$TOOLKIT" != "MSW"; then
|
||||
fi
|
||||
|
||||
dnl from if !MSW
|
||||
else
|
||||
if test "$wxUSE_THREADS" = "yes" ; then
|
||||
case "${host}" in
|
||||
*-*-mingw32* )
|
||||
dnl check if the compiler accepts -mthreads
|
||||
AC_CACHE_CHECK([if compiler supports -mthreads],
|
||||
wx_cv_cflags_mthread,
|
||||
[
|
||||
CFLAGS_OLD="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -mthreads"
|
||||
AC_TRY_COMPILE([], [],
|
||||
wx_cv_cflags_mthread=yes,
|
||||
wx_cv_cflags_mthread=no
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
if test "$wx_cv_cflags_mthread" = "yes"; then
|
||||
dnl it does, use it
|
||||
CXXFLAGS="$CXXFLAGS -mthreads"
|
||||
TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
|
||||
LDFLAGS="$LDFLAGS -mthreads"
|
||||
else
|
||||
dnl it doesn't
|
||||
CFLAGS="$CFLAGS_OLD"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_THREADS" = "yes"; then
|
||||
@@ -3870,7 +3972,7 @@ dnl ------------------------------------------------------------------------
|
||||
dnl wxSocket
|
||||
dnl ------------------------------------------------------------------------
|
||||
|
||||
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxX11
|
||||
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxMGL
|
||||
if test "$wxUSE_SOCKETS" = "yes"; then
|
||||
if test "$wxUSE_MGL" = "1"; then
|
||||
AC_MSG_WARN([wxSocket not yet supported under MGL... disabled])
|
||||
@@ -4137,7 +4239,7 @@ fi
|
||||
|
||||
if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
|
||||
|
||||
dnl There is now experimental generic MDI support
|
||||
dnl There is now experimental generic MDI support
|
||||
dnl if test "$wxUSE_UNIVERSAL" = "yes"; then
|
||||
dnl AC_MSG_WARN(MDI not yet supported for wxUniversal... disabled)
|
||||
dnl wxUSE_MDI_ARCHITECTURE=no
|
||||
@@ -4211,6 +4313,7 @@ dnl check for ole headers and disable a few features requiring it if not
|
||||
dnl present (earlier versions of mingw32 don't have ole2.h)
|
||||
if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
||||
-o "$wxUSE_CLIPBOARD" = "yes" \
|
||||
-o "$wxUSE_OLE" = "yes" \
|
||||
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
|
||||
AC_CHECK_HEADERS(ole2.h)
|
||||
|
||||
@@ -4241,6 +4344,51 @@ if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
||||
wxUSE_CLIPBOARD=no
|
||||
wxUSE_DRAG_AND_DROP=no
|
||||
wxUSE_DATAOBJ=no
|
||||
wxUSE_OLE=no
|
||||
fi
|
||||
|
||||
if test "$wxUSE_METAFILE" = "yes"; then
|
||||
AC_DEFINE(wxUSE_METAFILE)
|
||||
|
||||
dnl this one should probably be made separately configurable
|
||||
AC_DEFINE(wxUSE_ENH_METAFILE)
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_WINE" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
||||
-o "$wxUSE_CLIPBOARD" = "yes" \
|
||||
-o "$wxUSE_OLE" = "yes" \
|
||||
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
|
||||
AC_CHECK_HEADERS(ole2.h)
|
||||
|
||||
if test "$ac_cv_header_ole2_h" = "yes" ; then
|
||||
if test "$GCC" = yes ; then
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
AC_MSG_CHECKING([if g++ requires -fvtable-thunks])
|
||||
AC_TRY_COMPILE([#include <windows.h>
|
||||
#include <ole2.h>],
|
||||
[],
|
||||
[AC_MSG_RESULT(no)],
|
||||
[AC_MSG_RESULT(yes)
|
||||
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"])
|
||||
AC_LANG_RESTORE
|
||||
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
|
||||
LIBS=" -lwine_uuid$LIBS"
|
||||
AC_DEFINE(wxUSE_OLE)
|
||||
|
||||
fi
|
||||
|
||||
dnl for OLE clipboard and dnd
|
||||
AC_DEFINE(wxUSE_DATAOBJ)
|
||||
else
|
||||
AC_MSG_WARN([Some features disabled because OLE headers not found])
|
||||
|
||||
wxUSE_CLIPBOARD=no
|
||||
wxUSE_DRAG_AND_DROP=no
|
||||
wxUSE_DATAOBJ=no
|
||||
wxUSE_OLE=no
|
||||
fi
|
||||
|
||||
if test "$wxUSE_METAFILE" = "yes"; then
|
||||
@@ -4878,9 +5026,10 @@ if test "$GXX" = yes ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
|
||||
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
|
||||
|
||||
dnl remove the extra white space from the cc/c++/ld options
|
||||
CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
|
||||
CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
|
||||
CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
|
||||
LIBS=`echo $LIBS | sed 's/ \+/ /g'`
|
||||
@@ -4934,6 +5083,8 @@ AC_SUBST(SONAME_FLAGS_GL)
|
||||
AC_SUBST(WX_TARGET_LIBRARY_SONAME)
|
||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||
|
||||
AC_SUBST(STATIC_FLAG)
|
||||
|
||||
dnl debugging options
|
||||
AC_SUBST(WXDEBUG_DEFINE)
|
||||
|
||||
@@ -4956,6 +5107,7 @@ AC_SUBST(WXCONFIG_LIBS_STATIC)
|
||||
AC_SUBST(WXCONFIG_LIBS_STATIC_GL)
|
||||
AC_SUBST(WXCONFIG_INCLUDE)
|
||||
AC_SUBST(WXCONFIG_RPATH)
|
||||
AC_SUBST(WX_LARGEFILE_FLAGS)
|
||||
|
||||
dnl the list of files to compile/install
|
||||
AC_SUBST(ALL_OBJECTS)
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _WX_ANIMATEH__
|
||||
#define _WX_ANIMATEH__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "animate.h"
|
||||
#endif
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef __WXBOUNDINGBOX_H__
|
||||
#define __WXBOUNDINGBOX_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "bbox.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
#ifndef __WXCANVAS_H__
|
||||
#define __WXCANVAS_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "canvas.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#ifndef __WXLINER_H
|
||||
#define __WXLINER_H
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "liner.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
#ifndef __WXPOLYGON_H__
|
||||
#define __WXPOLYGON_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "polygon.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __ANTIFLICKPL_G__
|
||||
#define __ANTIFLICKPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "antiflickpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __BARDRAGPL_G__
|
||||
#define __BARDRAGPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "bardragpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __DRAGHINTSPL_G__
|
||||
#define __DRAGHINTSPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "barhintspl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __CBCUSTOM_G__
|
||||
#define __CBCUSTOM_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "cbcustom.h"
|
||||
#endif
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#ifndef __CONTROLBAR_G__
|
||||
#define __CONTROLBAR_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "controlbar.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __DYNBARHND_G__
|
||||
#define __DYNBARHND_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "dynbarhnd.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __DYNTBAR_G__
|
||||
#define __DYNTBAR_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "dyntbar.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __DYNTBARHND_G__
|
||||
#define __DYNTBARHND_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "dyntbarhnd.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __FRMVIEW_G__
|
||||
#define __FRMVIEW_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "frmview.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __GARBAGEC_G__
|
||||
#define __GARBAGEC_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "garbagec.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __GCUPDATESMGR_G__
|
||||
#define __GCUPDATESMGR_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "gcupdatesmgr.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __HINTANIMPL_G__
|
||||
#define __HINTANIMPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "hintanimpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __NEWBMPBTN_G__
|
||||
#define __NEWBMPBTN_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "newbmpbtn.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __PANEDRAWPL_G__
|
||||
#define __PANEDRAWPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "panedrawpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __ROWDRAGPL_G__
|
||||
#define __ROWDRAGPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "rowdragpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __ROWLAYOUTPL_G__
|
||||
#define __ROWLAYOUTPL_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "rowlayoutpl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#ifndef __TOOLWND_G__
|
||||
#define __TOOLWND_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "toolwnd.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __UPDATESMGR_G__
|
||||
#define __UPDATESMGR_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "updatesmgr.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef __WX_EDITLBOX_H__
|
||||
#define __WX_EDITLBOX_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "editlbox.h"
|
||||
#endif
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef _WX_LEDNUMBERCTRL_H_
|
||||
#define _WX_LEDNUMBERCTRL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "wxLEDNumberCtrl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#ifndef __WX_MULTICELL_H__
|
||||
#define __WX_MULTICELL_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "multicell.h"
|
||||
#endif
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
#ifndef _WX_SPLITTREE_H_
|
||||
#define _WX_SPLITTREE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "splittree.h"
|
||||
#endif
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#ifndef __CDA_base_H__
|
||||
#define __CDA_base_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "cdbase.h"
|
||||
#endif
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#ifndef __CDUNIXH__
|
||||
#define __CDUNIXH__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "cdunix.h"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "email.h"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "msg.h"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "smapi.h"
|
||||
#endif
|
||||
|
||||
@@ -53,4 +53,4 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
#endif //_WX_SMAPI_H_
|
||||
#endif //_WX_SMAPI_H_
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "web.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_BASIC_H_
|
||||
#define _OGL_BASIC_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "basic.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_BASICP_H_
|
||||
#define _OGL_BASICP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "basicp.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_BITMAP_H_
|
||||
#define _OGL_BITMAP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "bmpshape.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_CANVAS_H_
|
||||
#define _OGL_CANVAS_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "canvas.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_COMPOSIT_H_
|
||||
#define _OGL_COMPOSIT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "composit.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_CONSTRNT_H_
|
||||
#define _OGL_CONSTRNT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "constrnt.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_DIVIDED_H_
|
||||
#define _OGL_DIVIDED_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "basic.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_DRAWN_H_
|
||||
#define _OGL_DRAWN_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "drawn.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_DRAWNP_H_
|
||||
#define _OGL_DRAWNP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "drawnp.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_LINES_H_
|
||||
#define _OGL_LINES_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "lines.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_LINESP_H_
|
||||
#define _OGL_LINESP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "linesp.h"
|
||||
#endif
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#ifndef _MFUTILS_H_
|
||||
#define _MFUTILS_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "mfutils.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_MISC_H_
|
||||
#define _OGL_MISC_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "misc.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGL_OGLDIAG_H_
|
||||
#define _OGL_OGLDIAG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "ogldiag.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _WX_PLOT_H_
|
||||
#define _WX_PLOT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "plot.h"
|
||||
#endif
|
||||
|
||||
|
@@ -44,7 +44,7 @@
|
||||
#define wxSTC_OPTIONAL_START 3000
|
||||
#define wxSTC_LEXER_START 4000
|
||||
|
||||
// Redoes the next action on the undo history
|
||||
// Redoes the next action on the undo history.
|
||||
#define wxSTC_CMD_REDO 2011
|
||||
|
||||
// Select all the text in the document.
|
||||
@@ -70,7 +70,7 @@
|
||||
#define wxSTC_MARK_MINUS 7
|
||||
#define wxSTC_MARK_PLUS 8
|
||||
|
||||
// Shapes used for outlining column
|
||||
// Shapes used for outlining column.
|
||||
#define wxSTC_MARK_VLINE 9
|
||||
#define wxSTC_MARK_LCORNER 10
|
||||
#define wxSTC_MARK_TCORNER 11
|
||||
@@ -85,11 +85,13 @@
|
||||
#define wxSTC_MARK_CIRCLEMINUS 20
|
||||
#define wxSTC_MARK_CIRCLEMINUSCONNECTED 21
|
||||
|
||||
// Invisible mark that only sets the line background color
|
||||
// Invisible mark that only sets the line background color.
|
||||
#define wxSTC_MARK_BACKGROUND 22
|
||||
#define wxSTC_MARK_DOTDOTDOT 23
|
||||
#define wxSTC_MARK_ARROWS 24
|
||||
#define wxSTC_MARK_CHARACTER 10000
|
||||
|
||||
// Markers used for outlining column
|
||||
// Markers used for outlining column.
|
||||
#define wxSTC_MARKNUM_FOLDEREND 25
|
||||
#define wxSTC_MARKNUM_FOLDEROPENMID 26
|
||||
#define wxSTC_MARKNUM_FOLDERMIDTAIL 27
|
||||
@@ -270,8 +272,7 @@
|
||||
// Delete the selection or if no selection, the character before the caret.
|
||||
#define wxSTC_CMD_DELETEBACK 2326
|
||||
|
||||
// If selection is empty or all on one line replace the selection with a tab
|
||||
// character.
|
||||
// If selection is empty or all on one line replace the selection with a tab character.
|
||||
// If more than one line selected, indent the lines.
|
||||
#define wxSTC_CMD_TAB 2327
|
||||
|
||||
@@ -325,40 +326,60 @@
|
||||
#define wxSTC_CMD_LINESCROLLUP 2343
|
||||
|
||||
// Delete the selection or if no selection, the character before the caret.
|
||||
// Will not delete the chraacter before at the start of a line.
|
||||
// Will not delete the character before at the start of a line.
|
||||
#define wxSTC_CMD_DELETEBACKNOTLINE 2344
|
||||
|
||||
// Move caret to first position on display line.
|
||||
#define wxSTC_CMD_HOMEDISPLAY 2345
|
||||
|
||||
// Move caret to first position on display line extending selection to
|
||||
// new caret position.
|
||||
#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346
|
||||
|
||||
// Move caret to last position on display line.
|
||||
#define wxSTC_CMD_LINEENDDISPLAY 2347
|
||||
|
||||
// Move caret to last position on display line extending selection to new
|
||||
// caret position.
|
||||
#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348
|
||||
#define wxSTC_EDGE_NONE 0
|
||||
#define wxSTC_EDGE_LINE 1
|
||||
#define wxSTC_EDGE_BACKGROUND 2
|
||||
|
||||
// Show caret within N lines of edge when it's scrolled to view
|
||||
// If CARET_SLOP not set then centre caret on screen when it's
|
||||
// scrolled to view
|
||||
#define wxSTC_CARET_SLOP 0x01
|
||||
|
||||
// Value not used
|
||||
#define wxSTC_CARET_CENTER 0x02
|
||||
|
||||
// If CARET_SLOP also set then reposition whenever outside slop border
|
||||
// If CARET_SLOP not set then recentre even when visible
|
||||
#define wxSTC_CARET_STRICT 0x04
|
||||
|
||||
// If CARET_XEVEN set then both left and right margins are given equal weight
|
||||
// rather than favouring left following behaviour.
|
||||
#define wxSTC_CARET_XEVEN 0x08
|
||||
|
||||
// If CARET_XJUMPS set then when caret reaches the margin the display jumps
|
||||
// enough to leave the caret solidly within the display.
|
||||
#define wxSTC_CARET_XJUMPS 0x10
|
||||
#define wxSTC_CURSORNORMAL -1
|
||||
#define wxSTC_CURSORWAIT 3
|
||||
|
||||
// Constants for use with SetVisiblePolicy, similar to SetCaretPolicy
|
||||
// Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
|
||||
#define wxSTC_VISIBLE_SLOP 0x01
|
||||
#define wxSTC_VISIBLE_STRICT 0x04
|
||||
|
||||
// Caret policy, used by SetXCaretPolicy and SetYCaretPolicy.
|
||||
// If CARET_SLOP is set, we can define a slop value: caretSlop.
|
||||
// This value defines an unwanted zone (UZ) where the caret is... unwanted.
|
||||
// This zone is defined as a number of pixels near the vertical margins,
|
||||
// and as a number of lines near the horizontal margins.
|
||||
// By keeping the caret away from the edges, it is seen within its context,
|
||||
// so it is likely that the identifier that the caret is on can be completely seen,
|
||||
// and that the current line is seen with some of the lines following it which are
|
||||
// often dependent on that line.
|
||||
#define wxSTC_CARET_SLOP 0x01
|
||||
|
||||
// If CARET_STRICT is set, the policy is enforced... strictly.
|
||||
// The caret is centred on the display if slop is not set,
|
||||
// and cannot go in the UZ if slop is set.
|
||||
#define wxSTC_CARET_STRICT 0x04
|
||||
|
||||
// If CARET_JUMPS is set, the display is moved more energetically
|
||||
// so the caret can move in the same direction longer before the policy is applied again.
|
||||
#define wxSTC_CARET_JUMPS 0x10
|
||||
|
||||
// If CARET_EVEN is not set, instead of having symmetrical UZs,
|
||||
// the left and bottom UZs are extended up to right and top UZs respectively.
|
||||
// This way, we favour the displaying of useful information: the begining of lines,
|
||||
// where most code reside, and the lines after the caret, eg. the body of a function.
|
||||
#define wxSTC_CARET_EVEN 0x08
|
||||
|
||||
// Notifications
|
||||
// Type of modification and the action which caused the modification
|
||||
// Type of modification and the action which caused the modification.
|
||||
// These are defined as a bit mask to make it easy to specify which notifications are wanted.
|
||||
// One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
|
||||
#define wxSTC_MOD_INSERTTEXT 0x1
|
||||
@@ -374,9 +395,9 @@
|
||||
#define wxSTC_MOD_BEFOREDELETE 0x800
|
||||
#define wxSTC_MODEVENTMASKALL 0xF77
|
||||
|
||||
// Symbolic key codes and modifier flags
|
||||
// ASCII and other printable characters below 256
|
||||
// Extended keys above 300
|
||||
// Symbolic key codes and modifier flags.
|
||||
// ASCII and other printable characters below 256.
|
||||
// Extended keys above 300.
|
||||
#define wxSTC_KEY_DOWN 300
|
||||
#define wxSTC_KEY_UP 301
|
||||
#define wxSTC_KEY_LEFT 302
|
||||
@@ -432,6 +453,7 @@
|
||||
#define wxSTC_LEX_PHP 30
|
||||
#define wxSTC_LEX_BAAN 31
|
||||
#define wxSTC_LEX_MATLAB 32
|
||||
#define wxSTC_LEX_SCRIPTOL 33
|
||||
|
||||
// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
|
||||
// value assigned in sequence from SCLEX_AUTOMATIC+1.
|
||||
@@ -474,17 +496,6 @@
|
||||
#define wxSTC_C_COMMENTDOCKEYWORD 17
|
||||
#define wxSTC_C_COMMENTDOCKEYWORDERROR 18
|
||||
|
||||
// Lexical states for SCLEX_VB, SCLEX_VBSCRIPT
|
||||
#define wxSTC_B_DEFAULT 0
|
||||
#define wxSTC_B_COMMENT 1
|
||||
#define wxSTC_B_NUMBER 2
|
||||
#define wxSTC_B_KEYWORD 3
|
||||
#define wxSTC_B_STRING 4
|
||||
#define wxSTC_B_PREPROCESSOR 5
|
||||
#define wxSTC_B_OPERATOR 6
|
||||
#define wxSTC_B_IDENTIFIER 7
|
||||
#define wxSTC_B_DATE 8
|
||||
|
||||
// Lexical states for SCLEX_HTML, SCLEX_XML
|
||||
#define wxSTC_H_DEFAULT 0
|
||||
#define wxSTC_H_TAG 1
|
||||
@@ -651,6 +662,24 @@
|
||||
#define wxSTC_PL_STRING_QR 29
|
||||
#define wxSTC_PL_STRING_QW 30
|
||||
|
||||
// Lexical states for SCLEX_VB, SCLEX_VBSCRIPT
|
||||
#define wxSTC_B_DEFAULT 0
|
||||
#define wxSTC_B_COMMENT 1
|
||||
#define wxSTC_B_NUMBER 2
|
||||
#define wxSTC_B_KEYWORD 3
|
||||
#define wxSTC_B_STRING 4
|
||||
#define wxSTC_B_PREPROCESSOR 5
|
||||
#define wxSTC_B_OPERATOR 6
|
||||
#define wxSTC_B_IDENTIFIER 7
|
||||
#define wxSTC_B_DATE 8
|
||||
|
||||
// Lexical states for SCLEX_PROPERTIES
|
||||
#define wxSTC_PROPS_DEFAULT 0
|
||||
#define wxSTC_PROPS_COMMENT 1
|
||||
#define wxSTC_PROPS_SECTION 2
|
||||
#define wxSTC_PROPS_ASSIGNMENT 3
|
||||
#define wxSTC_PROPS_DEFVAL 4
|
||||
|
||||
// Lexical states for SCLEX_LATEX
|
||||
#define wxSTC_L_DEFAULT 0
|
||||
#define wxSTC_L_COMMAND 1
|
||||
@@ -688,6 +717,7 @@
|
||||
#define wxSTC_ERR_PERL 6
|
||||
#define wxSTC_ERR_NET 7
|
||||
#define wxSTC_ERR_LUA 8
|
||||
#define wxSTC_ERR_CTAG 9
|
||||
#define wxSTC_ERR_DIFF_CHANGED 10
|
||||
#define wxSTC_ERR_DIFF_ADDITION 11
|
||||
#define wxSTC_ERR_DIFF_DELETION 12
|
||||
@@ -712,7 +742,16 @@
|
||||
#define wxSTC_MAKE_TARGET 5
|
||||
#define wxSTC_MAKE_IDEOL 9
|
||||
|
||||
// Lexical states for the SCLEX_CONF (Apache Configuration Files Lexer)
|
||||
// Lexical states for SCLEX_DIFF
|
||||
#define wxSTC_DIFF_DEFAULT 0
|
||||
#define wxSTC_DIFF_COMMENT 1
|
||||
#define wxSTC_DIFF_COMMAND 2
|
||||
#define wxSTC_DIFF_HEADER 3
|
||||
#define wxSTC_DIFF_POSITION 4
|
||||
#define wxSTC_DIFF_DELETED 5
|
||||
#define wxSTC_DIFF_ADDED 6
|
||||
|
||||
// Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
|
||||
#define wxSTC_CONF_DEFAULT 0
|
||||
#define wxSTC_CONF_COMMENT 1
|
||||
#define wxSTC_CONF_NUMBER 2
|
||||
@@ -724,7 +763,7 @@
|
||||
#define wxSTC_CONF_IP 8
|
||||
#define wxSTC_CONF_DIRECTIVE 9
|
||||
|
||||
// Avenue
|
||||
// Lexical states for SCLEX_AVE, Avenue
|
||||
#define wxSTC_AVE_DEFAULT 0
|
||||
#define wxSTC_AVE_COMMENT 1
|
||||
#define wxSTC_AVE_NUMBER 2
|
||||
@@ -782,7 +821,7 @@
|
||||
#define wxSTC_EIFFEL_IDENTIFIER 7
|
||||
#define wxSTC_EIFFEL_STRINGEOL 8
|
||||
|
||||
// Lexical states for the SCLEX_NNCRONTAB (nnCron crontab Lexer)
|
||||
// Lexical states for SCLEX_NNCRONTAB (nnCron crontab Lexer)
|
||||
#define wxSTC_NNCRONTAB_DEFAULT 0
|
||||
#define wxSTC_NNCRONTAB_COMMENT 1
|
||||
#define wxSTC_NNCRONTAB_TASK 2
|
||||
@@ -805,6 +844,28 @@
|
||||
#define wxSTC_MATLAB_OPERATOR 6
|
||||
#define wxSTC_MATLAB_IDENTIFIER 7
|
||||
|
||||
// Lexical states for SCLEX_SCRIPTOL
|
||||
#define wxSTC_SCRIPTOL_DEFAULT 0
|
||||
#define wxSTC_SCRIPTOL_COMMENT 1
|
||||
#define wxSTC_SCRIPTOL_COMMENTLINE 2
|
||||
#define wxSTC_SCRIPTOL_COMMENTDOC 3
|
||||
#define wxSTC_SCRIPTOL_NUMBER 4
|
||||
#define wxSTC_SCRIPTOL_WORD 5
|
||||
#define wxSTC_SCRIPTOL_STRING 6
|
||||
#define wxSTC_SCRIPTOL_CHARACTER 7
|
||||
#define wxSTC_SCRIPTOL_UUID 8
|
||||
#define wxSTC_SCRIPTOL_PREPROCESSOR 9
|
||||
#define wxSTC_SCRIPTOL_OPERATOR 10
|
||||
#define wxSTC_SCRIPTOL_IDENTIFIER 11
|
||||
#define wxSTC_SCRIPTOL_STRINGEOL 12
|
||||
#define wxSTC_SCRIPTOL_VERBATIM 13
|
||||
#define wxSTC_SCRIPTOL_REGEX 14
|
||||
#define wxSTC_SCRIPTOL_COMMENTLINEDOC 15
|
||||
#define wxSTC_SCRIPTOL_WORD2 16
|
||||
#define wxSTC_SCRIPTOL_COMMENTDOCKEYWORD 17
|
||||
#define wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR 18
|
||||
#define wxSTC_SCRIPTOL_COMMENTBASIC 19
|
||||
|
||||
// END of generated section
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
@@ -845,37 +906,37 @@ public:
|
||||
// and regenerate
|
||||
|
||||
|
||||
// Add text to the document
|
||||
// Add text to the document.
|
||||
void AddText(const wxString& text);
|
||||
|
||||
// Add array of cells to document
|
||||
// Add array of cells to document.
|
||||
void AddStyledText(const wxMemoryBuffer& data);
|
||||
|
||||
// Insert string at a position
|
||||
// Insert string at a position.
|
||||
void InsertText(int pos, const wxString& text);
|
||||
|
||||
// Delete all text in the document
|
||||
// Delete all text in the document.
|
||||
void ClearAll();
|
||||
|
||||
// Set all style bytes to 0, remove all folding information
|
||||
// Set all style bytes to 0, remove all folding information.
|
||||
void ClearDocumentStyle();
|
||||
|
||||
// The number of characters in the document
|
||||
// The number of characters in the document.
|
||||
int GetLength();
|
||||
|
||||
// Returns the character byte at the position
|
||||
// Returns the character byte at the position.
|
||||
int GetCharAt(int pos);
|
||||
|
||||
// Returns the position of the caret
|
||||
// Returns the position of the caret.
|
||||
int GetCurrentPos();
|
||||
|
||||
// Returns the position of the opposite end of the selection to the caret
|
||||
// Returns the position of the opposite end of the selection to the caret.
|
||||
int GetAnchor();
|
||||
|
||||
// Returns the style byte at the position
|
||||
// Returns the style byte at the position.
|
||||
int GetStyleAt(int pos);
|
||||
|
||||
// Redoes the next action on the undo history
|
||||
// Redoes the next action on the undo history.
|
||||
void Redo();
|
||||
|
||||
// Choose between collecting actions into the undo
|
||||
@@ -892,10 +953,10 @@ public:
|
||||
// Retrieve a buffer of cells.
|
||||
wxMemoryBuffer GetStyledText(int startPos, int endPos);
|
||||
|
||||
// Are there any redoable actions in the undo history.
|
||||
// Are there any redoable actions in the undo history?
|
||||
bool CanRedo();
|
||||
|
||||
// Retrieve the line number at which a particular marker is located
|
||||
// Retrieve the line number at which a particular marker is located.
|
||||
int MarkerLineFromHandle(int handle);
|
||||
|
||||
// Delete a marker.
|
||||
@@ -949,23 +1010,21 @@ public:
|
||||
void SetEOLMode(int eolMode);
|
||||
|
||||
// Set the current styling position to pos and the styling mask to mask.
|
||||
// The styling mask can be used to protect some bits in each styling byte from
|
||||
// modification.
|
||||
// The styling mask can be used to protect some bits in each styling byte from modification.
|
||||
void StartStyling(int pos, int mask);
|
||||
|
||||
// Change style from current styling position for length characters to a style
|
||||
// and move the current styling position to after this newly styled segment.
|
||||
void SetStyling(int length, int style);
|
||||
|
||||
// Is drawing done first into a buffer or direct to the screen.
|
||||
// Is drawing done first into a buffer or direct to the screen?
|
||||
bool GetBufferedDraw();
|
||||
|
||||
// If drawing is buffered then each line of text is drawn into a bitmap buffer
|
||||
// before drawing it to the screen to avoid flicker.
|
||||
void SetBufferedDraw(bool buffered);
|
||||
|
||||
// Change the visible size of a tab to be a multiple of the width of a space
|
||||
// character.
|
||||
// Change the visible size of a tab to be a multiple of the width of a space character.
|
||||
void SetTabWidth(int tabWidth);
|
||||
|
||||
// Retrieve the visible size of a tab.
|
||||
@@ -989,10 +1048,10 @@ public:
|
||||
// Add a marker to a line, returning an ID which can be used to find or delete the marker.
|
||||
int MarkerAdd(int line, int markerNumber);
|
||||
|
||||
// Delete a marker from a line
|
||||
// Delete a marker from a line.
|
||||
void MarkerDelete(int line, int markerNumber);
|
||||
|
||||
// Delete all markers with a particular number from all lines
|
||||
// Delete all markers with a particular number from all lines.
|
||||
void MarkerDeleteAll(int markerNumber);
|
||||
|
||||
// Get a bit mask of all the markers set on a line.
|
||||
@@ -1094,8 +1153,7 @@ public:
|
||||
// Get the time in milliseconds that the caret is on and off. 0 = steady on.
|
||||
void SetCaretPeriod(int periodMilliseconds);
|
||||
|
||||
// Set the set of characters making up words for when moving or selecting
|
||||
// by word.
|
||||
// Set the set of characters making up words for when moving or selecting by word.
|
||||
void SetWordChars(const wxString& characters);
|
||||
|
||||
// Start a sequence of actions that is undone and redone as a unit.
|
||||
@@ -1117,8 +1175,14 @@ public:
|
||||
// Retrieve the foreground colour of an indicator.
|
||||
wxColour IndicatorGetForeground(int indic);
|
||||
|
||||
// Divide each styling byte into lexical class bits (default:5) and indicator
|
||||
// bits (default:3). If a lexer requires more than 32 lexical states, then this
|
||||
// Set the foreground colour of all whitespace and whether to use this setting.
|
||||
void SetWhitespaceForeground(bool useSetting, const wxColour& fore);
|
||||
|
||||
// Set the background colour of all whitespace and whether to use this setting.
|
||||
void SetWhitespaceBackground(bool useSetting, const wxColour& back);
|
||||
|
||||
// Divide each styling byte into lexical class bits (default: 5) and indicator
|
||||
// bits (default: 3). If a lexer requires more than 32 lexical states, then this
|
||||
// is used to expand the possible states.
|
||||
void SetStyleBits(int bits);
|
||||
|
||||
@@ -1137,7 +1201,7 @@ public:
|
||||
// Is the background of the line containing the caret in a different colour?
|
||||
bool GetCaretLineVisible();
|
||||
|
||||
// Dsplay the background of the line containing the caret in a different colour.
|
||||
// Display the background of the line containing the caret in a different colour.
|
||||
void SetCaretLineVisible(bool show);
|
||||
|
||||
// Get the colour of the background of the line containing the caret.
|
||||
@@ -1161,8 +1225,7 @@ public:
|
||||
// Is there an auto-completion list visible?
|
||||
bool AutoCompActive();
|
||||
|
||||
// Retrieve the position of the caret when the auto-completion list was
|
||||
// displayed.
|
||||
// Retrieve the position of the caret when the auto-completion list was displayed.
|
||||
int AutoCompPosStart();
|
||||
|
||||
// User has selected an item so remove the list and insert the selection.
|
||||
@@ -1171,8 +1234,8 @@ public:
|
||||
// Define a set of character that when typed cancel the auto-completion list.
|
||||
void AutoCompStops(const wxString& characterSet);
|
||||
|
||||
// Change the separator character in the string setting up an auto-completion
|
||||
// list. Default is space but can be changed if items contain space.
|
||||
// Change the separator character in the string setting up an auto-completion list.
|
||||
// Default is space but can be changed if items contain space.
|
||||
void AutoCompSetSeparator(int separatorCharacter);
|
||||
|
||||
// Retrieve the auto-completion list separator character.
|
||||
@@ -1207,16 +1270,18 @@ public:
|
||||
// Display a list of strings and send notification when user chooses one.
|
||||
void UserListShow(int listType, const wxString& itemList);
|
||||
|
||||
// Set whether or not autocompletion is hidden automatically when nothing matches
|
||||
// Set whether or not autocompletion is hidden automatically when nothing matches.
|
||||
void AutoCompSetAutoHide(bool autoHide);
|
||||
|
||||
// Retrieve whether or not autocompletion is hidden automatically when nothing matches
|
||||
// Retrieve whether or not autocompletion is hidden automatically when nothing matches.
|
||||
bool AutoCompGetAutoHide();
|
||||
|
||||
// Set whether or not autocompletion deletes any word characters after the inserted text upon completion
|
||||
// Set whether or not autocompletion deletes any word characters
|
||||
// after the inserted text upon completion.
|
||||
void AutoCompSetDropRestOfWord(bool dropRestOfWord);
|
||||
|
||||
// Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion
|
||||
// Retrieve whether or not autocompletion deletes any word characters
|
||||
// after the inserted text upon completion.
|
||||
bool AutoCompGetDropRestOfWord();
|
||||
|
||||
// Set the number of spaces used for one level of indentation.
|
||||
@@ -1305,7 +1370,7 @@ public:
|
||||
// Find some text in the document.
|
||||
int FindText(int minPos, int maxPos, const wxString& text, int flags=0);
|
||||
|
||||
// On Windows will draw the document into a display context such as a printer.
|
||||
// On Windows, will draw the document into a display context such as a printer.
|
||||
int FormatRange(bool doDraw,
|
||||
int startPos,
|
||||
int endPos,
|
||||
@@ -1371,7 +1436,7 @@ public:
|
||||
// Will a paste succeed?
|
||||
bool CanPaste();
|
||||
|
||||
// Are there any undoable actions in the undo history.
|
||||
// Are there any undoable actions in the undo history?
|
||||
bool CanUndo();
|
||||
|
||||
// Delete the undo history.
|
||||
@@ -1401,16 +1466,16 @@ public:
|
||||
// Retrieve the number of characters in the document.
|
||||
int GetTextLength();
|
||||
|
||||
// Set to overtype (true) or insert mode
|
||||
// Set to overtype (true) or insert mode.
|
||||
void SetOvertype(bool overtype);
|
||||
|
||||
// Returns true if overtype mode is active otherwise false is returned.
|
||||
bool GetOvertype();
|
||||
|
||||
// Set the width of the insert mode caret
|
||||
// Set the width of the insert mode caret.
|
||||
void SetCaretWidth(int pixelWidth);
|
||||
|
||||
// Returns the width of the insert mode caret
|
||||
// Returns the width of the insert mode caret.
|
||||
int GetCaretWidth();
|
||||
|
||||
// Sets the position that starts the target which is used for updating the
|
||||
@@ -1445,10 +1510,10 @@ public:
|
||||
// Returns length of range or -1 for failure in which case target is not moved.
|
||||
int SearchInTarget(const wxString& text);
|
||||
|
||||
// Set the search flags used by SearchInTarget
|
||||
// Set the search flags used by SearchInTarget.
|
||||
void SetSearchFlags(int flags);
|
||||
|
||||
// Get the search flags used by SearchInTarget
|
||||
// Get the search flags used by SearchInTarget.
|
||||
int GetSearchFlags();
|
||||
|
||||
// Show a call tip containing a definition near position pos.
|
||||
@@ -1510,53 +1575,90 @@ public:
|
||||
// Ensure a particular line is visible by expanding any header line hiding it.
|
||||
void EnsureVisible(int line);
|
||||
|
||||
// Set some debugging options for folding
|
||||
// Set some debugging options for folding.
|
||||
void SetFoldFlags(int flags);
|
||||
|
||||
// Ensure a particular line is visible by expanding any header line hiding it.
|
||||
// Use the currently set visibility policy to determine which range to display.
|
||||
void EnsureVisibleEnforcePolicy(int line);
|
||||
|
||||
// Sets whether a tab pressed when caret is within indentation indents
|
||||
// Sets whether a tab pressed when caret is within indentation indents.
|
||||
void SetTabIndents(bool tabIndents);
|
||||
|
||||
// Does a tab pressed when caret is within indentation indent?
|
||||
bool GetTabIndents();
|
||||
|
||||
// Sets whether a backspace pressed when caret is within indentation unindents
|
||||
// Sets whether a backspace pressed when caret is within indentation unindents.
|
||||
void SetBackSpaceUnIndents(bool bsUnIndents);
|
||||
|
||||
// Does a backspace pressed when caret is within indentation unindent?
|
||||
bool GetBackSpaceUnIndents();
|
||||
|
||||
// Sets the time the mouse must sit still to generate a mouse dwell event
|
||||
// Sets the time the mouse must sit still to generate a mouse dwell event.
|
||||
void SetMouseDwellTime(int periodMilliseconds);
|
||||
|
||||
// Retrieve the time the mouse must sit still to generate a mouse dwell event
|
||||
// Retrieve the time the mouse must sit still to generate a mouse dwell event.
|
||||
int GetMouseDwellTime();
|
||||
|
||||
// Get position of start of word
|
||||
// Get position of start of word.
|
||||
int WordStartPosition(int pos, bool onlyWordCharacters);
|
||||
|
||||
// Get position of end of word
|
||||
// Get position of end of word.
|
||||
int WordEndPosition(int pos, bool onlyWordCharacters);
|
||||
|
||||
// Sets whether text is word wrapped
|
||||
// Sets whether text is word wrapped.
|
||||
void SetWrapMode(int mode);
|
||||
|
||||
// Retrieve whether text is word wrapped
|
||||
// Retrieve whether text is word wrapped.
|
||||
int GetWrapMode();
|
||||
|
||||
// Sets the degree of caching of layout information
|
||||
// Sets the degree of caching of layout information.
|
||||
void SetLayoutCache(int mode);
|
||||
|
||||
// Retrieve the degree of caching of layout information
|
||||
// Retrieve the degree of caching of layout information.
|
||||
int GetLayoutCache();
|
||||
|
||||
// Move the caret inside current view if it's not there already
|
||||
// Sets the document width assumed for scrolling.
|
||||
void SetScrollWidth(int pixelWidth);
|
||||
|
||||
// Retrieve the document width assumed for scrolling.
|
||||
int GetScrollWidth();
|
||||
|
||||
// Measure the pixel width of some text in a particular style.
|
||||
// Nul terminated text argument.
|
||||
// Does not handle tab or control characters.
|
||||
int TextWidth(int style, const wxString& text);
|
||||
|
||||
// Sets the scroll range so that maximum scroll position has
|
||||
// the last line at the bottom of the view (default).
|
||||
// Setting this to false allows scrolling one page below the last line.
|
||||
void SetEndAtLastLine(bool endAtLastLine);
|
||||
|
||||
// Retrieve whether the maximum scroll position has the last
|
||||
// line at the bottom of the view.
|
||||
int GetEndAtLastLine();
|
||||
|
||||
// Retrieve the height of a particular line of text in pixels.
|
||||
int TextHeight(int line);
|
||||
|
||||
// Move caret to first position on display line.
|
||||
void HomeDisplay();
|
||||
|
||||
// Move caret to first position on display line extending selection to
|
||||
// new caret position.
|
||||
void HomeDisplayExtend();
|
||||
|
||||
// Move caret to last position on display line.
|
||||
void LineEndDisplay();
|
||||
|
||||
// Move caret to last position on display line extending selection to new
|
||||
// caret position.
|
||||
void LineEndDisplayExtend();
|
||||
|
||||
// Move the caret inside current view if it's not there already.
|
||||
void MoveCaretInsideView();
|
||||
|
||||
// How many characters are on a line, not including end of line characters.
|
||||
// How many characters are on a line, not including end of line characters?
|
||||
int LineLength(int line);
|
||||
|
||||
// Highlight the characters at two positions.
|
||||
@@ -1568,10 +1670,10 @@ public:
|
||||
// Find the position of a matching brace or INVALID_POSITION if no match.
|
||||
int BraceMatch(int pos);
|
||||
|
||||
// Are the end of line characters visible.
|
||||
// Are the end of line characters visible?
|
||||
bool GetViewEOL();
|
||||
|
||||
// Make the end of line characters visible or invisible
|
||||
// Make the end of line characters visible or invisible.
|
||||
void SetViewEOL(bool visible);
|
||||
|
||||
// Retrieve a pointer to the document object.
|
||||
@@ -1614,9 +1716,6 @@ public:
|
||||
// Does not ensure the selection is visible.
|
||||
int SearchPrev(int flags, const wxString& text);
|
||||
|
||||
// Set the way the line the caret is on is kept visible.
|
||||
void SetCaretPolicy(int caretPolicy, int caretSlop);
|
||||
|
||||
// Retrieves the number of lines completely visible.
|
||||
int LinesOnScreen();
|
||||
|
||||
@@ -1624,7 +1723,7 @@ public:
|
||||
// the wrong mouse button.
|
||||
void UsePopUp(bool allowPopUp);
|
||||
|
||||
// Is the selection a rectangular. The alternative is the more common stream selection.
|
||||
// Is the selection rectangular? The alternative is the more common stream selection.
|
||||
bool SelectionIsRectangle();
|
||||
|
||||
// Set the zoom level. This number of points is added to the size of all fonts.
|
||||
@@ -1647,62 +1746,73 @@ public:
|
||||
// Get which document modification events are sent to the container.
|
||||
int GetModEventMask();
|
||||
|
||||
// Change internal focus flag
|
||||
// Change internal focus flag.
|
||||
void SetSTCFocus(bool focus);
|
||||
|
||||
// Get internal focus flag
|
||||
// Get internal focus flag.
|
||||
bool GetSTCFocus();
|
||||
|
||||
// Change error status - 0 = OK
|
||||
// Change error status - 0 = OK.
|
||||
void SetStatus(int statusCode);
|
||||
|
||||
// Get error status
|
||||
// Get error status.
|
||||
int GetStatus();
|
||||
|
||||
// Set whether the mouse is captured when its button is pressed
|
||||
// Set whether the mouse is captured when its button is pressed.
|
||||
void SetMouseDownCaptures(bool captures);
|
||||
|
||||
// Get whether mouse gets captured
|
||||
// Get whether mouse gets captured.
|
||||
bool GetMouseDownCaptures();
|
||||
|
||||
// Sets the cursor to one of the SC_CURSOR* values
|
||||
// Sets the cursor to one of the SC_CURSOR* values.
|
||||
void SetCursor(int cursorType);
|
||||
|
||||
// Get cursor type
|
||||
// Get cursor type.
|
||||
int GetCursor();
|
||||
|
||||
// Change the way control characters are displayed:
|
||||
// If symbol is < 32, keep the drawn way, else, use the given character
|
||||
// If symbol is < 32, keep the drawn way, else, use the given character.
|
||||
void SetControlCharSymbol(int symbol);
|
||||
|
||||
// Get the way control characters are displayed
|
||||
// Get the way control characters are displayed.
|
||||
int GetControlCharSymbol();
|
||||
|
||||
// Move to the previous change in capitalistion
|
||||
// Move to the previous change in capitalisation.
|
||||
void WordPartLeft();
|
||||
|
||||
// Move to the previous change in capitalistion extending selection to new caret position.
|
||||
// Move to the previous change in capitalisation extending selection
|
||||
// to new caret position.
|
||||
void WordPartLeftExtend();
|
||||
|
||||
// Move to the change next in capitalistion
|
||||
// Move to the change next in capitalisation.
|
||||
void WordPartRight();
|
||||
|
||||
// Move to the next change in capitalistion extending selection to new caret position.
|
||||
// Move to the next change in capitalisation extending selection
|
||||
// to new caret position.
|
||||
void WordPartRightExtend();
|
||||
|
||||
// Set the way the display area is determined when a particular line is to be moved to.
|
||||
// Set the way the display area is determined when a particular line
|
||||
// is to be moved to by Find, FindNext, GotoLine, etc.
|
||||
void SetVisiblePolicy(int visiblePolicy, int visibleSlop);
|
||||
|
||||
// Delete back from the current position to the start of the line
|
||||
// Delete back from the current position to the start of the line.
|
||||
void DelLineLeft();
|
||||
|
||||
// Delete forwards from the current position to the end of the line
|
||||
// Delete forwards from the current position to the end of the line.
|
||||
void DelLineRight();
|
||||
|
||||
// Get and Set the xOffset (ie, horizonal scroll position)
|
||||
// Get and Set the xOffset (ie, horizonal scroll position).
|
||||
void SetXOffset(int newOffset);
|
||||
int GetXOffset();
|
||||
|
||||
// Set the way the caret is kept visible when going sideway.
|
||||
// The exclusion zone is given in pixels.
|
||||
void SetXCaretPolicy(int caretPolicy, int caretSlop);
|
||||
|
||||
// Set the way the line the caret is on is kept visible.
|
||||
// The exclusion zone is given in lines.
|
||||
void SetYCaretPolicy(int caretPolicy, int caretSlop);
|
||||
|
||||
// Start notifying the container of all key presses and commands.
|
||||
void StartRecord();
|
||||
|
||||
@@ -1986,6 +2096,7 @@ BEGIN_DECLARE_EVENT_TYPES()
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_START_DRAG, 1669)
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DRAG_OVER, 1670)
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_DO_DROP, 1671)
|
||||
DECLARE_LOCAL_EVENT_TYPE(wxEVT_STC_ZOOM, 1672)
|
||||
END_DECLARE_EVENT_TYPES()
|
||||
#else
|
||||
enum {
|
||||
@@ -2011,6 +2122,7 @@ END_DECLARE_EVENT_TYPES()
|
||||
wxEVT_STC_START_DRAG,
|
||||
wxEVT_STC_DRAG_OVER,
|
||||
wxEVT_STC_DO_DROP,
|
||||
wxEVT_STC_ZOOM,
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -2041,6 +2153,7 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);
|
||||
#define EVT_STC_START_DRAG(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_START_DRAG, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||
#define EVT_STC_DRAG_OVER(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DRAG_OVER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||
#define EVT_STC_DO_DROP(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_DO_DROP, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||
#define EVT_STC_ZOOM(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_ZOOM, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxStyledTextEventFunction) & fn, (wxObject *) NULL ),
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_BMP_H_
|
||||
#define _WX_XH_BMP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_bmp.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_BMPBT_H_
|
||||
#define _WX_XH_BMPBT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_bmpbt.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_BTTN_H_
|
||||
#define _WX_XH_BTTN_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_bttn.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_CALD_H_
|
||||
#define _WX_XH_CALD_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_cald.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_CHCKB_H_
|
||||
#define _WX_XH_CHCKB_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_chckb.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_CHCKL_H_
|
||||
#define _WX_XH_CHCKL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_chckl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_CHOIC_H_
|
||||
#define _WX_XH_CHOIC_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_choic.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_COMBO_H_
|
||||
#define _WX_XH_COMBO_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_combo.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_DLG_H_
|
||||
#define _WX_XH_DLG_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_dlg.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_FRAME_H_
|
||||
#define _WX_XH_FRAME_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_frame.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_GAUGE_H_
|
||||
#define _WX_XH_GAUGE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_gauge.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_GDCTL_H_
|
||||
#define _WX_XH_GDCTL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_gdctl.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_HTML_H_
|
||||
#define _WX_XH_HTML_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_html.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_LISTB_H_
|
||||
#define _WX_XH_LISTB_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_listb.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_LISTC_H_
|
||||
#define _WX_XH_LISTC_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_listc.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_MENU_H_
|
||||
#define _WX_XH_MENU_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_menu.h"
|
||||
#endif
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#ifndef _WX_XH_NOTBK_H_
|
||||
#define _WX_XH_NOTBK_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_notbk.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_PANEL_H_
|
||||
#define _WX_XH_PANEL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_panel.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_RADBT_H_
|
||||
#define _WX_XH_RADBT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_radbt.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_RADBX_H_
|
||||
#define _WX_XH_RADBX_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_radbx.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_SCROL_H_
|
||||
#define _WX_XH_SCROL_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_scrol.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_SIZER_H_
|
||||
#define _WX_XH_SIZER_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_sizer.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_SLIDR_H_
|
||||
#define _WX_XH_SLIDR_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_slidr.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_SPIN_H_
|
||||
#define _WX_XH_SPIN_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_spin.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_STBMP_H_
|
||||
#define _WX_XH_STBMP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_stbmp.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_STBOX_H_
|
||||
#define _WX_XH_STBOX_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_stbox.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_STLIN_H_
|
||||
#define _WX_XH_STLIN_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_stlin.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_STTXT_H_
|
||||
#define _WX_XH_STTXT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_sttxt.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_TEXT_H_
|
||||
#define _WX_XH_TEXT_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_text.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_TOOLB_H_
|
||||
#define _WX_XH_TOOLB_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_toolb.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_TREE_H_
|
||||
#define _WX_XH_TREE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_tree.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XH_UNKWN_H_
|
||||
#define _WX_XH_UNKWN_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xh_unkwn.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XML_H_
|
||||
#define _WX_XML_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xml.h"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef _WX_XMLRES_H_
|
||||
#define _WX_XMLRES_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "xmlres.h"
|
||||
#endif
|
||||
|
||||
@@ -215,6 +215,9 @@ public:
|
||||
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
||||
static wxXmlResource *Set(wxXmlResource *res);
|
||||
|
||||
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
||||
int GetFlags() { return m_flags; }
|
||||
|
||||
protected:
|
||||
// Scans the resources list for unloaded files and loads them. Also reloads
|
||||
// files that have been modified since last loading.
|
||||
@@ -229,9 +232,6 @@ protected:
|
||||
// Creates a resource from information in the given node.
|
||||
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:
|
||||
long m_version;
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#ifndef __WDR_dialogs_H__
|
||||
#define __WDR_dialogs_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "dialogs_wdr.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#ifndef __simple_H__
|
||||
#define __simple_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "simple.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
#ifndef __test_H__
|
||||
#define __test_H__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "test.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef __NEW_TEST_G__
|
||||
#define __NEW_TEST_G__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "fl_demo1.h"
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
static const char sccsid[] = "%W% %G%";
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma implementation
|
||||
#pragma interface
|
||||
#endif
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _MMBMAN_APP_H_
|
||||
#define _MMBMAN_APP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "mmbman.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _MMBOARD_APP_H_
|
||||
#define _MMBOARD_APP_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma interface "mmboard.cpp"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGLSAMPLE_DOC_H_
|
||||
#define _OGLSAMPLE_DOC_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
// #pragma interface
|
||||
#endif
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
// #pragma interface
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGLSAMPLE_PALETTE_H_
|
||||
#define _OGLSAMPLE_PALETTE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
// #pragma interface
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _OGLSAMPLE_VIEW_H_
|
||||
#define _OGLSAMPLE_VIEW_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
// #pragma interface "view.h"
|
||||
#endif
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _STUDIO_CSPALETTE_H_
|
||||
#define _STUDIO_CSPALETTE_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
// #pragma interface
|
||||
#endif
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user