Robert Roebling
74fe973bba
Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:44:59 +00:00
Robert Roebling
b04fcede8f
Added wxDataViewCtrl::AppendIconTextColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:14:49 +00:00
Vadim Zeitlin
fe1b98f5d5
fix resize() when it's used for truncating a string in UTF-8 build; added test for this bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 18:13:29 +00:00
Vadim Zeitlin
01a9232b5e
use fallback encoding in wxConvAuto when input is not in UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:54:28 +00:00
Robert Roebling
c17b2e3151
Patch from Hartwig for wxMac implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 13:09:20 +00:00
Robert Roebling
24c4a50f43
Patch from Bo, implements mouse hover, default sort
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:29:59 +00:00
Robert Roebling
c9c13e7043
add wxDataViewIconTextRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:48:12 +00:00
Robert Roebling
8935265382
add wxDataViewIconText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:12:12 +00:00
Julian Smart
aad7e71c66
Compile fix for old W32API headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:25:59 +00:00
Václav Slavík
0e89a51a25
added some clarifying comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 15:08:07 +00:00
Robert Roebling
57f2a65292
Applied patch from Bo, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:32:43 +00:00
Robert Roebling
afebb87be1
Patch from Bo for recent API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:48:29 +00:00
Robert Roebling
91a6c65558
Move column organizing code to ports, away from common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:05:16 +00:00
Václav Slavík
b1a3a96499
fixed wxHTML parsing to run in O(n) even in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:04:11 +00:00
Robert Roebling
f71d3ba46c
added Collapse() and Expand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 21:05:51 +00:00
Robert Roebling
e0000f9494
add editing_started and _done events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 19:44:04 +00:00
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