Commit Graph

1460 Commits

Author SHA1 Message Date
Paul Cornett
9ed154da47 remove -I on nonexistent directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 19:29:06 +00:00
Václav Slavík
61aba4609a Added samples/dll for showing how to use wxWidgets to implement
a DLL that is used from another application written with a different
toolkit (or different wx version).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 18:54:40 +00:00
Vadim Zeitlin
a12bd55b0d Enable wxGraphicsContext and related classes by default if supported.
For MSW, check for gdiplus.h availability when using configure but only
support it for MSVC 7+ otherwise. For the other platforms, always support it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-24 00:01:15 +00:00
Robert Roebling
493c499e11 Disable GTK cast checks in wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-15 10:29:07 +00:00
Paul Cornett
d9bd1a73ff look for backtrace() in -lexecinfo, fixes #9783
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-15 04:02:27 +00:00
Paul Cornett
16d4f44015 feature name must match description
fixes --disable-sysoptions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-25 17:48:32 +00:00
Vadim Zeitlin
6b8ef0b35d Merge SOC2009_FSWATCHER branch into trunk.
Merges everything from the branch with only some minor changes, mostly renamed
wxUSE_FSWATCHER_{INOTIFY,KQUEUE} to wxHAS_{INOTIFY,KQUEUE}.

Add wxFileSystemWatcher and related classes.

Also introduces wxEventLoopSource.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 11:35:43 +00:00
Vadim Zeitlin
d4fbe1d85c Don't include LDFLAGS in wx-config --libs output.
Use a separate WXCONFIG_LDFLAGS variable for the flags which should be used
when linking applications using wxWidgets and not wxWidgets itself.

The only intentional effect this change is supposed to have right now is that
-arch options added to LDFLAGS when building wx for multiple architectures
under OS X are not used for building the applications any more.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-19 13:57:41 +00:00
Vadim Zeitlin
da16724e7a Fix for windres flags used in Win64 mingw build.
We must explicitly define WX_CPU_AMD64 when compiling using mingw64 and
configure as wx/msw/genrcdefs.h is not used in this case and even if it were,
it wouldn't work because g++ doesn't define _M_AMD64 (unlike MSVC).

So just add the flag directly to windres command line in configure.

Closes #11336.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-17 16:13:24 +00:00
Vadim Zeitlin
d85aece199 Test whether GTK+ is 2.18 or newer in configure.
We need to define __WXGTK218__ symbol in configure instead of simply checking
if we are compiled with 2.18 in wx/infobar.h because GTK_CHECK_VERSION() can't
be used when compiling user code which can't even include gtk/gtkversion.h
defining it because it doesn't necessarily use `pkg-config --cflags gtk+-2.0`
at all in its CFLAGS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-14 22:49:38 +00:00
Vadim Zeitlin
17005cd723 Define __WXOSX__ and __WXMAC__ on compiler command line.
Although __WXMAC__ and __WXMAC__ were already defined in wx/platform.h if
__WXOSX_XXX__ was defined, they couldn't be used for checks done before
including this header, which was surprising and, in case of __WXMAC__,
backwards incompatible. Define them now on the compiler command line to ensure
that they are always defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-09 13:05:38 +00:00
Vadim Zeitlin
a92b5dfe8c Initial wxInfoBar implementation.
Add generic implementation, documentation and examples showing the use of the
new class in the samples.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:54:13 +00:00
Paul Cornett
e9d0f38a2d QuickTime is needed by wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 16:32:21 +00:00
Julian Smart
426d19f139 Applied patch #9058 (add Hildon 2.0 support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 12:36:34 +00:00
Jaakko Salli
178c77606f wxAny initial commit (closes #10932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-19 08:51:11 +00:00
Peter Cawley
3c3ead1d15 Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 12:06:02 +00:00
Vadim Zeitlin
89b1afb48f Change Unix build system to not use debug build any more.
Remove "d" suffix from the libraries and the BUILD variable which is not used
any longer.

Also ignore (but still support, for compatibility) --debug option in wx-config.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 11:29:31 +00:00
Vadim Zeitlin
6c254c5203 Perform Apple SDK tests for Mac ports only.
Fix after changes of r61832: SDK checks should be done for Mac ports only as
they are useless under the other systems and break configure because sw_vers
is Mac-only and unsurprisingly using it results in errors under the other
systems:

/usr/local/src/wx/HEAD/configure: line 18215: sw_vers: command not found
checking if C compiler works with SDK/version options... configure: error: no.
Try a different SDK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-05 14:24:58 +00:00
Kevin Ollivier
8e6b680de8 If gcc-4.2+ is specified for compiling OS X Carbon or 10.4 compatilbility is specified, switch to gcc-4.0 to avoid configuration conflicts. Also, do not default to 10.4 compatibility when building OS X Cocoa so that we can get 64-bit builds on Snow Leopard by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-05 00:12:39 +00:00
Vadim Zeitlin
f3239c2118 updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:53 +00:00
Vadim Zeitlin
256cddd7e9 added X11R7 directories to X libraries search path (needed for NetBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 09:00:20 +00:00
Vadim Zeitlin
3dd63e0241 fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:33:21 +00:00
Vadim Zeitlin
2ad61b03a8 disable deprecation warnings when building wxMac as there are just too many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 21:05:09 +00:00
Vadim Zeitlin
68d801c8b0 don't disable the use of standard streams/strings by default under OS XE there is no reason to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 15:07:03 +00:00
Vadim Zeitlin
7fef8021ba remove support/detection of Mac OS < X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:56:18 +00:00
Vadim Zeitlin
7beff712f0 added --disable-tls option and use it by default under NetBSD which is reported to not have TLS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:55:04 +00:00
Vadim Zeitlin
d84e6f500e check for Python and disable automatic STC files updating which requires it if it's not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 23:12:57 +00:00
Vadim Zeitlin
890d70ebea improvements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMPATIBILITY_2_8 (see #10653)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 12:52:54 +00:00
Vadim Zeitlin
d589327a5d avoid multiline strings in AC_CONFIG_COMMANDS as it seems to result in problems with /bin/dash (see #10724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 17:33:56 +00:00
Vadim Zeitlin
89a7e1ff98 Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
- Implement for POSIX and Win32, TODO for OS X
- Use this instead of ad hoc code in wxDateTime::ParseFormat()
- Remove HAVE_STRPTIME, we don't need nor use strptime() any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:15:43 +00:00
Vadim Zeitlin
6ab6fc6eec fix setting of HOST_{PRE,SUF}FIX in case --host option is specified but --build is not (this is not recommended by autoconf but still possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-28 19:10:05 +00:00
Kevin Ollivier
19beefa6f3 On Mac, ensure that the library path and dependencies point to the right location whether or not the library is installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:07:56 +00:00
Vadim Zeitlin
28c594914e define HOST_SUFFIX as empty string when not cross-compiling as it's also used in this case (fixes breakage in library names introduced by r59381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 22:41:02 +00:00
Vadim Zeitlin
ddd121d7b6 use install_name_tool when cross-compiling too: it's not very useful if the build machine can't execute host binaries but it might be possible to do this (e.g. using an emulator) and it doesn't hurt anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 20:06:59 +00:00
Francesco Montorsi
6ad6ba217a test if CXXFLAGS/CFLAGS contains the -g or the -O options before adding our -g and -O2 flags: this avoids duplicates in the GCC command line which just generate confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 11:05:38 +00:00
Francesco Montorsi
840b9ff52a remove 'mobile' samples as they're not useful from a didactive POV nor they show specific features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:38:30 +00:00
Francesco Montorsi
27721528c4 merge wxEditableListBox sample in widgets sample (it was a 60-lines sample of a single control showing limited features)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 00:47:04 +00:00
Francesco Montorsi
6f58b8f45d build wrapsizer sample when wxUSE_GUI==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:19:27 +00:00
Vadim Zeitlin
055400c94e disable wxUSE_MEDIACTRL when wxUSE_ALL_FEATURES==no (closes #10415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:26:25 +00:00
Vadim Zeitlin
6689960c3c use wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase() as it's significantly more efficient than wx code (closes #10375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:03:26 +00:00
Francesco Montorsi
7c5ac499c8 provide our own implementation of wxStrnlen if it's not available; add tests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 12:01:30 +00:00
Francesco Montorsi
f1b63efe89 add support for wxStrnlen for those platforms where it's available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 23:25:39 +00:00
Vadim Zeitlin
3c77890141 add more flexible and safer template Connect() overloads (#10000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Vadim Zeitlin
e721a2a2a4 added wxUSE_HEADERCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:57:08 +00:00
Vadim Zeitlin
e6d984e2f0 there is no need to do DEFAULT_wxUSE_CONTROL=yes; also sort all controls alphabetically to be able to navigate them easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:46:55 +00:00
Vadim Zeitlin
f0bb342fed added wxUSE_REARRANGECTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:44:02 +00:00
Václav Slavík
b3f453f86c wx is not a compiler, it doesn't need AC_CANONICAL_TARGET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 22:28:16 +00:00
Robert Roebling
63d798fdb6 Correct wx-config's output of base libs for OSX ports (don't include the _carbon/_cocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 22:04:17 +00:00
Francesco Montorsi
516cf181f8 add the -headerpad_max_install_names option to the screenshotgen utility to fix the buildbot builds on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 12:11:48 +00:00
Francesco Montorsi
64afee8513 remove the long deprecated wxTabCtrl class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 14:58:12 +00:00