Commit Graph

115 Commits

Author SHA1 Message Date
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Václav Slavík
d6b95c13df only define wxUSE_GUI if not already defined; this is needed for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:21:47 +00:00
Mattia Barbon
7bb2947d52 Added --enable-accessibility switch to configure
(off by default). Fixed makefile for the accessibility
sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:06:46 +00:00
Julian Smart
b39dbf34b8 Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Vadim Zeitlin
4a8900f257 added UnixWare recognition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:32:22 +00:00
Mattia Barbon
f7f78039d2 Add tests for XShape extension API in configure,
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
Mattia Barbon
521196a26a Added configure test for const_cast<>(), and enabled it
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Mattia Barbon
da494b405d Added new __WXMOTIF20__ macro, which is true if the Motif version
is 2.0 or higher.
  Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
  Miscellaneous cleanup; used wxXmString in some more places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Vadim Zeitlin
ddb4769e7c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:49:37 +00:00
Gilles Depeyrot
82d4311313 moved definition of TARGET_CARBON to generated setup.h when compiling with
Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 22:23:02 +00:00
Mattia Barbon
ab82ab0704 Remove some redefinition warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 21:41:53 +00:00
Vadim Zeitlin
ec0d6da38d attempts to fix vsnprintf() detection under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 02:33:13 +00:00
Vadim Zeitlin
134ecc85d0 added WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:15:00 +00:00
Vadim Zeitlin
54ab82b3f9 added configure test for WX_STATVFS_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:54:29 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Mattia Barbon
79668caec9 Fixed MinGW/configure/Unicode compilation: MinGW/MSVCRT vswprintf does not
behave like other vswprintf; under Win32 you really want _vsnwprintf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 20:23:36 +00:00
Vadim Zeitlin
f02444d0d7 define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:53:54 +00:00
Vadim Zeitlin
ef5f8ab626 don't use vfork() in wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:38:12 +00:00
Robert Roebling
5c6fa7d283 Added configure check for vswprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 20:26:18 +00:00
Vadim Zeitlin
d74f4b5add added tests for fputwc() and wprintf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 17:12:10 +00:00
Vadim Zeitlin
1d65a68f65 define wxUSE_XPM_IN_MSW for MSW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 16:54:04 +00:00
Vadim Zeitlin
5c0a20c393 minor fixes:
1. removed "We already do it" as "We" is not a valid shell command :-)
2. define _GNU_SOURCE in setup.h and not in the compiler flags
3. allow to build with GTK2 without pangoft2 (and without printing then)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:26:31 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Vadim Zeitlin
35dcf13296 added #defines required for 64 bit off_t (a.k.a. large files) support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 21:55:56 +00:00
Vadim Zeitlin
90dd450cf3 added configure support for the large files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-17 15:44:11 +00:00
Vadim Zeitlin
f530f862dc HAVE_FNMATCH added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 16:55:18 +00:00
Vadim Zeitlin
05815ab32f added wxUSE_FSVOLUME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:19:01 +00:00
Julian Smart
c79a329dcb NanoX modificati
NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Václav Slavík
b040e242e7 use AM_ICONV for iconv configure checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 18:55:06 +00:00
Stefan Neis
7ee20d36af Added wxUSE_OWNER_DRAWN for wxPM (OS/2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:42:16 +00:00
Václav Slavík
f9a03a02b0 updated wxUSE_ICO_CUR comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:57 +00:00
Robert Roebling
4b6b4dfcf4 Added IFF handler.
Minor doc updates.
  Corrected configure for SGI OpenGL (wx-config related).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:57:08 +00:00
Gilles Depeyrot
36e80997f5 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 14:22:02 +00:00
Vadim Zeitlin
a5d46b7362 added wxUSE_PROTOCOL[_XXX] and wxUSE_URL settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:27:24 +00:00
Vadim Zeitlin
6bff71f85f fix for last commit which accidentally disabled wxDynamicLibrary class as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:43:47 +00:00
Ron Lee
0b9ab0bd82 Added new dynamic loading classes. (which handle proper
wxRTTI and wxModule initialisation and unloading)
Removed serialisation code from wxObject and elsewhere.
Added USER_EXPORTED hash and list macros.
Added *_PLUGGABLE_CLASS defines for exporting dynamic wxObjects
from dlls.

 ----------------------------------------------------------------------
 Modified Files:
 	Makefile.in configure configure.in setup.h.in debian/changelog
 	distrib/msw/tmake/filelist.txt include/wx/defs.h
 	include/wx/docview.h include/wx/dynlib.h include/wx/fileconf.h
 	include/wx/hash.h include/wx/list.h include/wx/module.h
 	include/wx/object.h include/wx/resource.h include/wx/stream.h
 	include/wx/gtk/setup0.h include/wx/msw/setup0.h src/files.lst
 	src/wxBase.dsp src/wxUniv.dsp src/wxWindows.dsp
 	src/common/dynlib.cpp src/common/filename.cpp
 	src/common/module.cpp src/common/object.cpp
 	src/common/stream.cpp src/gtk/files.lst src/mac/files.lst
 	src/mgl/files.lst src/mgl/makefile.wat src/motif/files.lst
 	src/msw/dialup.cpp src/msw/files.lst src/msw/helpchm.cpp
 	src/msw/makefile.b32 src/msw/makefile.bcc src/msw/makefile.dos
 	src/msw/makefile.g95 src/msw/makefile.sc src/msw/makefile.vc
 	src/msw/makefile.wat src/os2/files.lst src/univ/files.lst
 Added Files:
 	include/wx/dynload.h src/common/dynload.cpp
 Removed Files:
 	include/wx/objstrm.h include/wx/serbase.h
 	src/common/objstrm.cpp src/common/serbase.cpp
 	utils/serialize/.cvsignore utils/serialize/makefile.b32
 	utils/serialize/sercore.cpp utils/serialize/sercore.h
 	utils/serialize/serctrl.cpp utils/serialize/serctrl.h
 	utils/serialize/serext.cpp utils/serialize/serext.h
 	utils/serialize/sergdi.cpp utils/serialize/sergdi.h
 	utils/serialize/sermain.cpp utils/serialize/serwnd.cpp
 	utils/serialize/serwnd.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 07:09:58 +00:00
Václav Slavík
db3272a001 added wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:52 +00:00
Václav Slavík
f9bc168497 MS-DOS cross-compilation w/ DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:15:39 +00:00
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Vadim Zeitlin
0b01706f2c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:21:06 +00:00
Mattia Barbon
69d27ff78b * added new --enable-logdialog option
* added warning for use of wxToolTip in wxUniv
* corrected some cut&paste errors ( now --disable-pnm doesn't disable XPMs anymore... )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:39:47 +00:00
Gilles Depeyrot
04eb894b5c added missing wxUSE_SYSTEM_OPTIONS define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:59:38 +00:00
Mattia Barbon
0fbb762e07 Test for wctype.h
Fix for broken Cygwin wchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:03:04 +00:00
Vadim Zeitlin
a3a584a7a6 added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 20:40:20 +00:00
Vadim Zeitlin
e37177c27b removed duplicated line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:45:18 +00:00
Mattia Barbon
0e44823110 Various cygwin compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00
Vadim Zeitlin
9952adac06 use statvfs() if statfs() is not available (Solaris)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:03:52 +00:00
Ron Lee
7cf43d5ef9 Merged IA64 build fixes from 2.2 (this will undoubtably need to be tested
before we can claim 2.3 works on that platform)
Updated config{guess,sub}


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 00:20:37 +00:00
Vadim Zeitlin
8754feb848 don't define wxUSE_OWNER_DRAWN for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:21:58 +00:00
Gilles Depeyrot
8eee02518d added Darwin related defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:45:26 +00:00