Commit Graph

638 Commits

Author SHA1 Message Date
Julian Smart
d118863525 Applied David's fix for not autoconf-ing on RHL8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 16:12:12 +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
Gilles Depeyrot
f346733b72 library installation base name and wxMac resources file base name
must be identical in order for the resource file to be found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 20:57:31 +00:00
Julian Smart
b4da152ea3 Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Gilles Depeyrot
0c98a14e54 use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
added wxWindows version compatibility information to configuration summary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:59:01 +00:00
Gilles Depeyrot
05159a2750 SourceForge patch #654210 to fix naming/numbering shared libs under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 21:20:59 +00:00
Mattia Barbon
f657dbe781 Allow building Win32 DLL with wxGlCanvas using MinGW + configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 20:46:30 +00:00
Vadim Zeitlin
d775acfa77 use system zlib under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:50:42 +00:00
Vadim Zeitlin
34bed6d9ec changed version to 2.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:37:56 +00:00
Mattia Barbon
5e66eee143 "cd utils; make" should not try to compile dialoged unless
wxUSE_RESOURCES=yes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:30:28 +00:00
Mattia Barbon
27635a90c7 Only build HelpGen in wxBase, since it will #error (this will maybe fix
some tinderboxes...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:06:31 +00:00
Vadim Zeitlin
5d3f766d26 test that libpng version is > 0.90
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:26:21 +00:00
Vadim Zeitlin
d643b80eb9 detect and don't use old zlib version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 02:07:05 +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
Vadim Zeitlin
db82f09ecb include -pthread in LDFLAGS and not LIBS as the latter doesn't appear in wx-config output unless --static is given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 17:20:14 +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
5005acfef5 show correct message when running configure for the switches which are on by default (such as --enable-compat22)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 23:21:55 +00:00
Gilles Depeyrot
4f57cf112e -D_INCLUDE_LONGLONG for HPUX long long definitions in system headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 09:33:52 +00:00
Gilles Depeyrot
50bcbd3d0e corrected comments (should not be C++ style!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 21:04:29 +00:00
Robin Dunn
e26c13cffd Ensure -D_FILE_OFFSET_BITS=64 also gets on the command line when
needed, and also fix wx-config to output the largefile flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 20:12:08 +00:00
Gilles Depeyrot
85d5e282e9 -o flag must be after PIC flag for gcc under HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:06 +00:00
Gilles Depeyrot
06313569d8 added -D_REENTRANT for hpux when threads are enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 13:59:18 +00:00
Gilles Depeyrot
ad2622f15d corrected HPUX specific test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 12:28:30 +00:00
Vadim Zeitlin
ca8e52b3d2 don't use -mthreads switch if the compiler doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 15:04:10 +00:00
Vadim Zeitlin
2bffed64c5 make --static default if configured with --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 14:56:55 +00:00
Gilles Depeyrot
b2fee376fd disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:13:19 +00:00
Ron Lee
a85030bd90 sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:43:37 +00:00
Vadim Zeitlin
ce209cf15b removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:10:21 +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
a1d22ad7e9 got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:43:33 +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
Julian Smart
3bce6687f4 Mods for Wine compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Mattia Barbon
a0b9e27fd4 Applied Fabian Wenzel's patches to add -mthreads for threads to work
in MinGW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 20:11:12 +00:00
Stefan Neis
d8f591c4d9 Some OS/2 specific additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:50:55 +00:00
Vadim Zeitlin
247f500613 streamlined vsnprintf() check -- now that we fall back to our own printf() version anyhow in some cases it doesn't make sense to jump through all these hoops just to avoid it (and, besides, it didn't work anyhow); suppressed vprintf() and vsscanf() checks which results we never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:15:43 +00:00
Mattia Barbon
8284b0c5bd Detect if g++ requires -fvtable-thunks for COM interfaces.
Newer g++ does not require nor support it, so it must not be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 20:44:50 +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
dd0e4a9047 fix wxMotif sample program compile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 17:43:51 +00:00
Vadim Zeitlin
79bbbd1bc3 added propsize to the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 18:41:23 +00:00
Vadim Zeitlin
f459d460ea removed (broken) richedit sample from the list of samples to build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:21:26 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
52127426a1 First cut at socket support in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:19:37 +00:00
Robert Roebling
7b4a847fb9 Exchanged compile flags so that local include paths
are used before others (such as PangoFT2'2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:18:09 +00:00
Vadim Zeitlin
b13cd66e42 only test for pangoft2 if we're using GTK 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:28:12 +00:00
Václav Slavík
f09359cf1b fixed pangoft2 check: moved outsided cached block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:10:26 +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
Václav Slavík
579d81381e added pangoft2 check to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:13:21 +00:00
Robert Roebling
328a083c69 Added -lpangoft2-1.0 to link line.
Added _GNU_SOURCE to compile line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:47:34 +00:00
Václav Slavík
43d99b6dc0 fixed broken test in configure: no, DJGPP really is not UNIX...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 18:23:40 +00:00