]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Thu, 26 Jul 2007 16:27:29 +0000 (16:27 +0000)]
re-disable Universal Mac builds by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47734
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 26 Jul 2007 16:08:39 +0000 (16:08 +0000)]
Silence the warning about lack of [NSApplication +setAppleMenu:]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47733
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 26 Jul 2007 15:56:48 +0000 (15:56 +0000)]
Added missing #import <Foundation/NSArray.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47732
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Jul 2007 14:25:07 +0000 (14:25 +0000)]
compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47731
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Jul 2007 13:54:14 +0000 (13:54 +0000)]
many wxItemContainer-related changes:
1. the main function for item insertion is now DoInsertItems() which allows
for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
itself, the derived classes don't have to distinguish between void and
object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
in wxGTK combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 26 Jul 2007 11:43:00 +0000 (11:43 +0000)]
removed called to deprecated wxPixelData::UseAlpha() which does nothing now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47729
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 22:37:59 +0000 (22:37 +0000)]
Rewritten wxList docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47724
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 18:46:01 +0000 (18:46 +0000)]
Use type safe list for model notifiers, sample corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47722
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 18:25:32 +0000 (18:25 +0000)]
call attributes attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47721
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 18:23:12 +0000 (18:23 +0000)]
Small correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 18:18:51 +0000 (18:18 +0000)]
ItemDeleted now has (parent, item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47719
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 18:09:47 +0000 (18:09 +0000)]
Patch from Bo, implement sorting in wxDVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 25 Jul 2007 17:42:43 +0000 (17:42 +0000)]
fix warnings due to using deprecated-but-used-internally methods from the header file (which, of course, meant that they were also used during client code compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 10:19:08 +0000 (10:19 +0000)]
Add iterators to wxVector, use std::vector in STL mode, correct wxVector::erase()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 25 Jul 2007 10:17:21 +0000 (10:17 +0000)]
make wxDataViewCtrl in STL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47711
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 25 Jul 2007 07:17:31 +0000 (07:17 +0000)]
Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47709
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 24 Jul 2007 20:00:12 +0000 (20:00 +0000)]
optimized wxStringTokenizer: it's now slightly faster in wchar_t build and much faster in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 24 Jul 2007 15:20:52 +0000 (15:20 +0000)]
use To/FromWChar() in single parameter wxMBConv::cMB2WC/WC2MB() overloads too, instead of passing by the deprecated MB2WC/WC2MB()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47706
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 24 Jul 2007 15:10:21 +0000 (15:10 +0000)]
use wxMBConvStrictUTF8 instead of wxMBConvUTF8 in ConvertStr() and mb/wc_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 24 Jul 2007 15:01:10 +0000 (15:01 +0000)]
add wxMBConvStrictUTF8 class implementing just UTF-8 conversion, without support for PUA/octal mappings and use it for wxConvUTF8 as it's simpler and more efficient (~20% faster)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Jul 2007 10:10:10 +0000 (10:10 +0000)]
Patch from Bo to speed up FindNode() in internal data tree structure (GTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47697
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Jul 2007 09:26:51 +0000 (09:26 +0000)]
Added wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47696
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Jul 2007 09:25:35 +0000 (09:25 +0000)]
Don't send events when expanding internally, only after wxDataViewModel::ItemAdded was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Jul 2007 09:15:04 +0000 (09:15 +0000)]
Send events from port-specific code, not common code, tested in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47694
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 24 Jul 2007 08:35:55 +0000 (08:35 +0000)]
Patch from Bo to optimize FindNode() in internal tree structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47693
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 24 Jul 2007 00:36:22 +0000 (00:36 +0000)]
corrected off by 1 error in cMB2WC() call (thanks valgrind)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47691
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 22:36:37 +0000 (22:36 +0000)]
don't add an extra empty line to the end (fixes bug introduced by the last optimization round)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 22:34:29 +0000 (22:34 +0000)]
harmless warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 22:33:44 +0000 (22:33 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 22:29:46 +0000 (22:29 +0000)]
removed empty directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47686
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 21:59:56 +0000 (21:59 +0000)]
fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 23 Jul 2007 18:00:15 +0000 (18:00 +0000)]
removed wxUSE_STRUTILS which was left over from the old code version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47675
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 23 Jul 2007 12:23:28 +0000 (12:23 +0000)]
Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Jul 2007 15:27:39 +0000 (15:27 +0000)]
fix for r47646: typedef wxDouble for all platforms, not just wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47654
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 22 Jul 2007 11:34:47 +0000 (11:34 +0000)]
adding missing defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Jul 2007 10:34:16 +0000 (10:34 +0000)]
call aglEnable(AGL_BUFFER_RECT) after setting the rect; fixes both drawing over all the other windows and missing redraw before first resize (patch
1758339 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47648
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Jul 2007 10:29:33 +0000 (10:29 +0000)]
removed erroneous spaces from wxTo/FromString() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 22 Jul 2007 10:14:35 +0000 (10:14 +0000)]
no 68k macs more to support...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47646
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 22 Jul 2007 09:20:42 +0000 (09:20 +0000)]
fix visibility problems with libstdc++ on Debian and Ubuntu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 22 Jul 2007 08:01:51 +0000 (08:01 +0000)]
fixed visibility warning on Fedora
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Jul 2007 00:00:13 +0000 (00:00 +0000)]
corrected the include file names (rest of patch
1757479 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:59:07 +0000 (23:59 +0000)]
removed docs for classes not existing any more (part of patch
1757479 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:54:55 +0000 (23:54 +0000)]
correct closing comments in #endifs (patch
1756990 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:51:19 +0000 (23:51 +0000)]
updated after fileconf/fileconftest.cpp to config/fileconf.cpp move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:50:26 +0000 (23:50 +0000)]
moved wxFileConfig test to config directory together with wxConfig test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:47:22 +0000 (23:47 +0000)]
added support for user-defined types to wxConfig (patch
1753875 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:41:07 +0000 (23:41 +0000)]
added a macro for comparison size_t variables with literal constants, this is less ugly than explicitly casting the arguments to size_t; use it to fix base64 compilation under 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47633
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:24:10 +0000 (23:24 +0000)]
added wxTo/FromString(wxColour) (part of patch
1753875 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 23:22:56 +0000 (23:22 +0000)]
added --enable-ownerdrawn MSW-only option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 21 Jul 2007 23:07:03 +0000 (23:07 +0000)]
added wxDataViewIndexListModel and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 22:56:07 +0000 (22:56 +0000)]
allow overriding automatic alpha detection during icon->bitmap conversions (slightly modified patch
1738168 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47629
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 21:36:30 +0000 (21:36 +0000)]
removed unused variable left after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 21 Jul 2007 16:43:31 +0000 (16:43 +0000)]
fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:22:15 +0000 (13:22 +0000)]
removed duplicate MSW-specific options, they're now all between special start/end MSW options comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:09:57 +0000 (13:09 +0000)]
added --enable-ps-in-msw configure option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:07:16 +0000 (13:07 +0000)]
removed wxUSE_UXTHEME_AUTO which wasn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47620
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:06:32 +0000 (13:06 +0000)]
removed all MSW-specific options from this file, what were they doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:05:11 +0000 (13:05 +0000)]
removed all MSW-specific options from this file, what were they doing here?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47618
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 13:01:28 +0000 (13:01 +0000)]
added wxUSE_REGKEY option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 12:58:59 +0000 (12:58 +0000)]
regenerated MSW part from wx/msw/setup_inc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47616
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 12:56:22 +0000 (12:56 +0000)]
extracted MSW-specific setup.h options to their own wx/msw/setup_inc.h file which is now used to automaitcally generate both wx/msw/setup0.h and setup.h.in by update-setup-h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47615
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 11:41:34 +0000 (11:41 +0000)]
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47614
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 11:15:38 +0000 (11:15 +0000)]
corrected (and simplified) configarg.cache updating broken by last changes to WX_ARG_WITH/ENABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47612
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 07:31:28 +0000 (07:31 +0000)]
define wxUSE_FONTENUM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47611
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 02:20:53 +0000 (02:20 +0000)]
define CreateEventLoop() even if wxUSE_CONSOLE_EVENTLOOP == 0 (because it's declared pure virtual in the base class), just return NULL from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47610
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 02:20:00 +0000 (02:20 +0000)]
added wxUSE_FONTENUM for wxFontEnumerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 02:05:03 +0000 (02:05 +0000)]
fixes for building wxMSW with --disbale-all-features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47608
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 01:42:58 +0000 (01:42 +0000)]
added --enable-uxtheme option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47607
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 01:26:42 +0000 (01:26 +0000)]
always use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, independently of whether wxDD_MUST_EXIT flag is used, as the create folder dialog has confusing UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47605
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Jul 2007 01:17:37 +0000 (01:17 +0000)]
use colour in the libraries diagram to indicate base/GUI libraries instead of explicitly drawing the arrows from all libraries to the base and core one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Jul 2007 22:00:09 +0000 (22:00 +0000)]
replaced with Debian Etch version which has slightly better fseeko() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47602
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 20:35:57 +0000 (20:35 +0000)]
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47600
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 19:05:56 +0000 (19:05 +0000)]
wxCocoa: Basic support for font underlining:
* Make wxWindow::SetFont call wxWindowBase::SetFont.
* Make wxDC::SetFont store the font in existing m_font.
* Make wxFont::GetUnderlined return the m_underlined flag.
* Implement underlining in wxDC::DoDrawText
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47598
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 20 Jul 2007 18:27:35 +0000 (18:27 +0000)]
more AC_CHECK_HEADERS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47597
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 17:59:45 +0000 (17:59 +0000)]
Restore AC_CHECK_HEADERS in preference to AC_CHECK_HEADER so that the HAVE_*
defines will be generated when needed. This fixes breakage caused by 44703.
Only usage where HAVE_* macro is in setup.h.in or was used by configure
itself (e.g. HAVE_X11_XLIB_H) is changed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47596
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 17:51:21 +0000 (17:51 +0000)]
Update all of the .m4 files using Apple-shipped autoconf with a change to functions.m4 to make the output match what is currently ni the tree from VZ.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47595
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 20 Jul 2007 17:23:30 +0000 (17:23 +0000)]
use the right cast to fix warning, rather than just suppressing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47594
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Jul 2007 16:22:50 +0000 (16:22 +0000)]
moved wxUSE_CRASHREPORT checks to wx/msw/chkconf.h; added it to setup.h.in so that it gets defined (always as 0 as mingw32 doesn't support it anyhow) for configure builds too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47593
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Jul 2007 14:10:47 +0000 (14:10 +0000)]
document wxCB_SORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47591
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 20 Jul 2007 12:24:18 +0000 (12:24 +0000)]
Optimise internal sorting datastructure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47590
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 20 Jul 2007 09:01:52 +0000 (09:01 +0000)]
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47589
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 20 Jul 2007 08:23:53 +0000 (08:23 +0000)]
Fix for crash when opening empty node
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47588
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 20 Jul 2007 06:44:02 +0000 (06:44 +0000)]
add missing parens to bitwise expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47587
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 05:40:54 +0000 (05:40 +0000)]
Implement wxWindow::SetCursor to invalidate Cocoa's cursor rects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47585
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 04:08:58 +0000 (04:08 +0000)]
Remove wxStockCursor function that should never have been global.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47582
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 04:06:26 +0000 (04:06 +0000)]
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
possible by using the system cursors first, a set of built-in cursors copied
from wxMac if a system cursor was not found, and a normal cursor otherwise.
Fixes lack of wxCURSOR_HAND and makes the code easier to follow by clearly
showing which cursors are and are not available from each source.
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47581
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Jul 2007 02:12:45 +0000 (02:12 +0000)]
Rewrite conversion from classic Mac OS 'CURS'-style structures to NSCursor.
* Leave data as separate image and mask planes instead of interleaving it
* Specify bytesPerRow to make compatible with 10.4 (Tiger) and higher
* Use endian-independent math.
* Document that the cursor data came from wxMac source.
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Jul 2007 01:10:22 +0000 (01:10 +0000)]
make To/From8bit() inline for performance reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47578
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Jul 2007 01:03:33 +0000 (01:03 +0000)]
rewrite FilterInValue() using iterators, this results iin 12x performance improvement in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47577
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Jul 2007 23:00:09 +0000 (23:00 +0000)]
check for setenv first, then putenv as using setenv in wxSetEnv() is much easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47575
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Jul 2007 22:58:47 +0000 (22:58 +0000)]
added code to free memory allocated in wxSetEnv() when it uses putenv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47574
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 19 Jul 2007 19:19:52 +0000 (19:19 +0000)]
Strip mnemonics from the label before passing it to Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47570
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 19 Jul 2007 18:52:12 +0000 (18:52 +0000)]
Implement wxCocoa wxRadioBox event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47569
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 19 Jul 2007 18:00:32 +0000 (18:00 +0000)]
Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47568
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 19 Jul 2007 17:58:38 +0000 (17:58 +0000)]
Implement most of wxRadioBox's methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47567
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Thu, 19 Jul 2007 17:40:42 +0000 (17:40 +0000)]
Added include wx/timer.h to non WX_PRECOMP case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47566
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Jul 2007 15:47:11 +0000 (15:47 +0000)]
do platform-specific checks after ensuring that the symbols we use are defined; extract wxGTK-specific checks to wx/gtk/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47564
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 19 Jul 2007 14:03:43 +0000 (14:03 +0000)]
Better sorting example and better default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Jul 2007 01:02:28 +0000 (01:02 +0000)]
added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 18 Jul 2007 23:42:58 +0000 (23:42 +0000)]
don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style (patch
1756184 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47556
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775