Commit Graph

1426 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
6a5a7fba9d reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 01:28:55 +00:00
Robert Roebling
2cdaa1dce3 Added clipboard sample check to configure.in, other changes after rebaking with Bakefile 0.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 14:03:09 +00:00
Francesco Montorsi
0dd9646ea8 fix wxOS2 build where OpenGL headers are available but there's no wxGlCanvas implementation available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 09:15:24 +00:00
Francesco Montorsi
f03637a24d implement 'auto' mode for both wxMediaCtrl and OpenGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 23:19:37 +00:00
Francesco Montorsi
05867e397e don't give an error when OpenGL libraries aren't available; give a warning, put wxUSE_OPENGL=no and proceed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 19:33:08 +00:00
Francesco Montorsi
b0b81bc95b enable OpenGL and MediaCtrl components by default as discussed on wx-dev; remove some old checks against wxUSE_CONSTRAINTS - they're not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 16:51:43 +00:00
Vadim Zeitlin
d3dcef0170 don't assume that __thread is available just because we use g++ 4, it doesn't support it under all platforms, notably not under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 12:33:32 +00:00
Vadim Zeitlin
eb6a8d695e don't use __thread keyword with g++ < 4 as it results in mysterious problems at link time related to thread-local static wxString::ms_cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:53:24 +00:00
Vadim Zeitlin
5c69ef61f3 fix some of icc 11.0 warnings and disable a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 14:24:13 +00:00
Vadim Zeitlin
e4513a5eae disable warning about possible misaligned access given by HP aCC as we can't do anything about it because it's triggered by all GTK+ cast macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:22:26 +00:00
Robin Dunn
a70ab3b804 Set TOOLKIT_LOWERCASE correctly for the various flavors of wxOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 17:19:58 +00:00
Vadim Zeitlin
411484436d use -Woverloaded-virtual if g++ supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:58:56 +00:00
Vadim Zeitlin
53263fdff9 remove SO_SUFFIX from configure, this is handled by bakefile since many years and keeping this here is just confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:41:38 +00:00
Vadim Zeitlin
29faf9c604 use = in test, not == which is not standard and not understood by all shells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:38:54 +00:00
Vadim Zeitlin
e61c1fef6e fix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don't use _LARGE_FILES everywhere as it's only needed under AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:31:44 +00:00
Vadim Zeitlin
d8a4a85ebc include richtext library in BUILT_WX_LIBS (in particular so that it appears in 'wx-config --libs all' output) if it's being built
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 21:55:03 +00:00
Vadim Zeitlin
4c1d5d5ae2 remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:16:09 +00:00
Robert Roebling
4aa7709b73 Updates for make dist for OSX_CARBON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:39:21 +00:00
Vadim Zeitlin
08f20edc5b trying to fix visibility problems for ObjC++ files after bakefile 0.2.4 upgrade
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:39:31 +00:00
Stefan Csomor
4fcb208a4f porting dcscreen blit from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 19:48:52 +00:00
Vadim Zeitlin
58481138c8 merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process (and now with forgotten configure changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:17:15 +00:00
Robin Dunn
8852798bcd Fix OpenGL test on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:46:14 +00:00
Vadim Zeitlin
1c4293cb91 added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Stefan Csomor
fef9b3c61b reintroducing former default, reverting Robert's change to make graphiccontext enabled by default, since bots are complaining
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 16:54:21 +00:00
Stefan Csomor
2ea057f984 integrating Kevin's work, command line builds for osx variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:59:51 +00:00
Robert Roebling
aeab14d443 Enable graphics context by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:03:35 +00:00
Robert Roebling
4a693a9b8c Also make make dist for wxMac work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 14:06:42 +00:00
Vadim Zeitlin
64a044d5a6 added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
44710405ff don't disable optimize if --enable-debug_info was specified, this makes it impossible to build an optimized version with debug info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 17:50:06 +00:00
Stefan Csomor
84b2041579 default to using graphics context on osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:48:24 +00:00
Vadim Zeitlin
24b67be4c6 fix --disable-optimise configure option description (#9660)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:18:10 +00:00
Vadim Zeitlin
235cdc6dd7 search for X11 headers in paths under /usr/local before those under /usr (#9477)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:19:24 +00:00
Vadim Zeitlin
0168402389 don't test for hash_{map,set} classes if we have unordered_map
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:51:50 +00:00
Vadim Zeitlin
f380544a4c use std[::tr1]::unordered_map if available in wxUSE_STL build (#9532)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:43:41 +00:00