Commit Graph

41354 Commits

Author SHA1 Message Date
Robert Roebling
e0976f6db3 Use const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:09:32 +00:00
Robert Roebling
d19d8941c6 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:57:42 +00:00
Robert Roebling
6bb29886cb typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:56:05 +00:00
Robert Roebling
d0b6742169 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:55:17 +00:00
Robert Roebling
61cec318da typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:54:36 +00:00
Robert Roebling
1f0412088d add wxVector docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:26:01 +00:00
Robert Roebling
677ab4a566 add wxVector docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:21:49 +00:00
Robert Roebling
44f2a3d1c8 add wxVector docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:21:38 +00:00
Robert Roebling
d8fcdf973f remove _ from labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 10:01:49 +00:00
Robert Roebling
93fd94eb1a should use wxDataViewColumn to indicate a column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:45:02 +00:00
Robert Roebling
4f76c1a23a document wxDataViewItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:42:28 +00:00
Robert Roebling
f5f688eddd Make ::SetValue return a bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 09:32:20 +00:00
Robert Roebling
8d2b3fc374 don't use <listimpl.cpp> (problems under Mac?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 08:43:47 +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
7274390ff1 correct copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:37:46 +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
941a4e6260 replace wxStringToIntType<T> with a macro to make Watcom compile the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 19:06:31 +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
bb809a9a80 compilation fixes after introduction of wxprintf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:22:28 +00:00
Václav Slavík
3c47c04740 use wxVector<T> instead of OBJARRAY macros for wxHtmlTextPieces (slightly better performance)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:21:46 +00:00
Václav Slavík
90adb9041c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:19:06 +00:00
Václav Slavík
cb979a71de PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:18:31 +00:00
Václav Slavík
91a5e00c75 --enable-iniconf and --enable-regkey aren't GUI-only options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 15:11:12 +00:00
Julian Smart
0d4ba4ef64 Corrected wxAccess arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:55:32 +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
Julian Smart
55339e8cb8 Blind fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:49:38 +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
Robert Roebling
40196b1e27 Don't always sort array containing item, just upon request. Solves several problems and crashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 13:02:39 +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
Václav Slavík
4f7e8fda39 rewrote wxHtmlEntitiesParser::Parse() using iterators, optimized for the common case of no entities in the input
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:18:12 +00:00
Václav Slavík
c471f7e18f slight optimization for wxHtmlEntitiesParser::GetEntityChar() in UTF-8 build: use wx_str() instead of c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 06:17:24 +00:00
Václav Slavík
95ebbfe1fd fixed wxHtmlParser::SkipCommentTag() to run the initial test in O(1) instead of O(n) in UTF8 build, makes big difference for large HTML files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 05:45:11 +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
Julian Smart
18b40f3022 Avoid selecting/updating in destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:56:39 +00:00
Julian Smart
5bcdf503fa Test to avoid crashes in some circumstances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:48:55 +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
Vadim Zeitlin
61a11cd6fa don't limit the multiple choice dialog size to 300x200 pixels on big screens, this doesn't make sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:42:17 +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
4e57034053 more wxVector<T> tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:51:52 +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
b667edaecd _get_timezone not available on Pocket PC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 15:10:14 +00:00