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
Mattia Barbon
6a30f1c8ae
Check if linking a motif program requires -lXp and/or -lSM -lICE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 17:27:52 +00:00
Robin Dunn
3bd8fb5f02
Added --enable-rpath=dir that will cause the -rpath linker commands to
...
be output by wx-config --libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 02:50:40 +00:00
Václav Slavík
24f5e003c2
explicitly pass -lstdc++ to the linker in case of DJGPP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:21:50 +00:00
Mattia Barbon
17234b2644
Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +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
Václav Slavík
6c657b5253
wxMGL features detection fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:56:42 +00:00
Vadim Zeitlin
1d1b75ace9
fix linking on AIX/RS6000 by using -mminimal-toc option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:41:29 +00:00
Chris Elliott
2e033fd123
make path absolute to install-sh, to fix contrib lib bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 08:50:40 +00:00
Vadim Zeitlin
321d2b146b
(blind) fixes for AIX: shared library extension there is apparently ".a", not ".so"; look for makeC++SharedLib in the PATH instead of hard coded location
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 14:29:59 +00:00
Julian Smart
b2261c5bb8
Applied patch [ 566194 ] Adds taskbar sample to configure-targets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:55:20 +00:00
Gilles Depeyrot
21d1c967d7
moved header detections before sizeof detections since some headers are
...
conditionally used in the sizeof detections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 20:25:10 +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
efdc61a680
fixed glibc 2.1 detection test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:01 +00:00
Vadim Zeitlin
57973b9c8a
pass IF_GNU_MAKE and other configure params to the samples configure in wxUSE_GUI==0 case too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:33:48 +00:00
Vadim Zeitlin
44a5856d5e
wanted to fix zlib include path but it turned out to be already ok so I just added a comment saying why should it be left like this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:09:53 +00:00
Gilles Depeyrot
a1ea505561
use built-in wcslen instead of disabling wide character support for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 05:41:51 +00:00
Gilles Depeyrot
62cc730f58
no timezone variable is only a warning instead of an error (use tm_gmtoff
...
instead, in particular for Darwin / Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 08:49:36 +00:00
Vadim Zeitlin
7a30264c3f
don't test for msvcrt under Unix nor libw under Windows in wcslen() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 14:41:42 +00:00
Vadim Zeitlin
d29b553b85
don't define wxUSE_WCHAR_T on systems without wcslen(), don't check for wchar_t twice
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:21:23 +00:00
Vadim Zeitlin
be505a65a5
set OPENGL_LIBS when x-compiling for MSW (patch from Fabian Wenzel)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:53:49 +00:00
Vadim Zeitlin
19bc6aad0d
1. moved the test for glibc >= 2.1 after AC_PROG_CC
...
2. fixed this test so the result is realyl cached
3. added test for fnmatch() because when cross-compiling we can find
fnmatch.h but fnmatch() could still be unaccessible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:51:02 +00:00
Gilles Depeyrot
fe0d8518b9
improved dynamic shared library creation for Darwin / Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:48:08 +00:00
Vadim Zeitlin
b4efce5efa
fixed typo for MSW cross-compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 16:40:20 +00:00
Gilles Depeyrot
336e99e28d
use Darwin specific double step shared library linking script
...
do not add shared library resources to generated executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 20:03:13 +00:00
Gilles Depeyrot
e95edd8d51
install both compiled and ascii resource files for Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 17:43:50 +00:00
Gilles Depeyrot
40f7145ca5
use specific linker flags under Mac OS X when linking executables against the
...
wxWindows dynamic shared library (LDFLAGS_EXE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 18:39:06 +00:00
Robert Roebling
8f4a9a1025
Moved mobile dir.
...
Made enable-no_rtti etc NO default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 16:41:35 +00:00
Gilles Depeyrot
4101db8100
corrected thread detection for Darwin / Mac OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 06:19:42 +00:00
Ron Lee
ec603395eb
replace zsh'ism(?) with a posix parameter expansion for CFLAGS default.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 17:12:00 +00:00
Vadim Zeitlin
fe5a9cab50
don't include -D_REENTRANT in the linker flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 13:19:59 +00:00
Vadim Zeitlin
04727afd8c
add -pthread like options to the linker flags as well; also (finally!) fixed -g and -On handling in CFLAGS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 13:15:30 +00:00
Vadim Zeitlin
02a1dfbae9
typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 12:34:43 +00:00
Vadim Zeitlin
126be6b469
thread detection fixed for Solaris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 12:32:51 +00:00
Vadim Zeitlin
595e0e4416
try just -lpthread in the thread detection code too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 11:57:12 +00:00