Commit Graph

10803 Commits

Author SHA1 Message Date
Robert Roebling
1b27b2bd2b Set/GetExpanderColumn() should use wxDataViewColumn, not unsigned int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:28:56 +00:00
Robert Roebling
07c51ff1fa Hartwig's patch for OS X implementation of wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:15:16 +00:00
Robert Roebling
a87b466df3 Correct signature of HitTest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:00:32 +00:00
Robert Roebling
fbda518cb7 Minor API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:21:52 +00:00
Václav Slavík
f9bf06acda VC6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-23 12:40:32 +00:00
Vadim Zeitlin
a220ccb313 added ISO-2022-JP encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:46:01 +00:00
Robert Roebling
0bd2681966 Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare function usable without and column (header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:18:06 +00:00
Václav Slavík
04e7692af1 VC6 compilation fix for _WX_VARARG_FORMAT_STRING macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 20:07:11 +00:00
Václav Slavík
ed12c5a22c another Watcom compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 19:07:00 +00:00
Václav Slavík
1f5df26884 Watcom compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 18:15:23 +00:00
Václav Slavík
d501d4ef2a added wxUSE_REGKEY checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:49:41 +00:00
Robert Roebling
c7074d4419 Let various AppendXXXColumn helplers return the column created within
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:39:32 +00:00
Robert Roebling
cd722937d8 minor change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:14:57 +00:00
Václav Slavík
7d46f92bb0 compilation fix for UTF8+STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 11:30:10 +00:00
Julian Smart
2b2883a5eb Applied [ 1767537 ] [wxOS2]Watcom build - filefn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:41:32 +00:00
Václav Slavík
1774c3c535 made UTF-8 tables const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 09:30:40 +00:00
Václav Slavík
ac2d749e88 optimize wxStringOperationsUtf8::DecodeChar() for the ASCII case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 09:24:56 +00:00
Václav Slavík
7da48d4928 don't derive wxHtmlTag and wxHtmlTagsCache from wxObject, it's useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 08:46:01 +00:00
Julian Smart
2d615fe933 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 17:19:33 +00:00
Julian Smart
05962bdd2b Compile fix on Mac (at least)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 17:03:45 +00:00
Vadim Zeitlin
d545bdede6 Fix bug with assigning a part of the string to the same string
The fix has several parts:

1. don't free the old string data in ConcatSelf() if we use it as
   source
2. implement assign() using replace() rather than clear() + append()
3. fix replace() to work with replacement strings containing embedded
   NULs and optimize it by using memcpy() instead of byte-wise copy


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:45:41 +00:00
Václav Slavík
4fe7567d90 use wxVector<T> instead of homegrown growing array in wxHtmlTagsCache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:10:28 +00:00
Václav Slavík
0516de2cdb 1. fixed wxVector<T> iterators to actually point to what they're supposed to point to instead of crashing on any use
2. don't allocate memory for every element on the heap, store elements directly in the array instead of storing pointers to them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:47:47 +00:00
Julian Smart
135d1ad065 Applied patch [ 1764987 ] fix localtime link error using wm5 SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:14:09 +00:00
Julian Smart
858a3a7a45 Applied [ 1708971 ] Make a virtual function to enable/disable docking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:04:48 +00:00
Václav Slavík
9cf3337215 re-added wxVector<T>::erase(size_t) for backward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:59:42 +00:00
Julian Smart
134198f1b7 Applied patch [ 1747059 ] wxAUIDefaultTabArt wxAUI_NB_BOTTOM
Langhammer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:51:47 +00:00
Václav Slavík
fbbdc7bf85 use wxString's UTF8 methods in wxCocoa, it's slightly more efficient in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:40:36 +00:00
Kevin Ollivier
18f2ae4965 Fix for wxMemoryDC::GetAsBitmap() not working on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:26:35 +00:00
Václav Slavík
278d7ab446 the wxFormatString hack used in wxFileTypeInfo variadic ctors doesn't work anymore, replaced with something that does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:16:02 +00:00
Václav Slavík
c782096417 don't recompute nonbreakable space character every time a text fragment is added in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 20:24:22 +00:00
Václav Slavík
96d665d249 marked const wxHtmlEntitiesParser methods as such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 20:08:40 +00:00
Václav Slavík
4734640692 fixed variadic templates in the case when char value is passed in place of (e.g.) %i or %d argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 19:20:10 +00:00
Robert Roebling
66e09788ab Patch from Bo, adapt generic code to new API, add GetItemRect and HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 17:26:11 +00:00
Václav Slavík
628f87da56 added wxUTF8StringBuffer for writing UTF8 data into wxString efficiently, similarly to existing wxStringBuffer classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 15:19:15 +00:00
Robert Roebling
4f1cf94b94 Make wxDataViewItemArray more efficient
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 13:51:15 +00:00
Robert Roebling
6154212e51 Change EnsureVisble() to including column parameter, implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:44:34 +00:00
Václav Slavík
6798451bb2 renamed wxImplStringBuffer to wxStringInternalBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:24:50 +00:00
Robert Roebling
6977c3bf4d Added EXPANDING and COLLAPSING events for the user to veto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:42:17 +00:00
Robert Roebling
e98351eca9 Made wxGTK wxDataViewCtrl compile again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 20:11:34 +00:00
Vadim Zeitlin
86e37f69bc fix generation of events from SetValue() broken in rev 46611
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:05:56 +00:00
Robert Roebling
b7e9f8b136 Bo's patch adding Selection API and some more changes, doesn't compile yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:03:01 +00:00
Robert Roebling
d209a914d2 Forgot a line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:24:15 +00:00
Robert Roebling
3ecb8a5365 Added ITEM_EXPANDED and ITEM_COLLAPSED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:16:29 +00:00
Robert Roebling
7ee7191cee change wxDataViewModel::Compare() to including column and sortorder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 14:12:52 +00:00
David Elliott
ea29564c40 Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 03:25:17 +00:00
Kevin Ollivier
893727e58a Add the unified style on OS X 10.4, and default to using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 21:49:27 +00:00
Julian Smart
5bf3f27fc9 Avoid clash with control container event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:45 +00:00
Julian Smart
1c1ad00573 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:16 +00:00
Julian Smart
c7bfb76a2c A number of focus handling improvements:
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00