Commit Graph

41034 Commits

Author SHA1 Message Date
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
Francesco Montorsi
5ffb4b0865 removed double docs for GetBitmapSelected and SetBitmapSelected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:58:26 +00:00
Francesco Montorsi
e5dfb37831 fixing missing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:57:52 +00:00
Francesco Montorsi
58fd7634cf removed double docs for wxAuiNotebook::GetTabCtrlHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:23:07 +00:00
Francesco Montorsi
809e21b540 added missing \wxheading{Members} sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:20:28 +00:00
Francesco Montorsi
245b9db518 removed empty dtor \membersections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:18:04 +00:00
Julian Smart
e6cfcc0df2 Applied patch [ 1776951 ] wxSizer::GetContainingWindow fails for nested sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 14:08:26 +00:00
Julian Smart
791b07a345 Revised timezone fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:57:11 +00:00
Julian Smart
44061d3629 APplied patch [ 1776062 ] wxWinCE 2.8.3 (dynamic) VS 2005 - _timezone problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 13:30:35 +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
Robert Roebling
b46ea7825d use live header button update when resizing, no XOR line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:59:52 +00:00
Julian Smart
a4c721ee38 Applied patch [ 1736135 ] AUI: Clicking caption ignored on centered panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:15: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
6757b667fd added test for wxVector<T> iterators (fails miserably)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:59:57 +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
Robert Roebling
c280da6918 Remove redundant line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:52:39 +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
Robert Roebling
36a03ed8c3 Removed gaps between header buttons and the strange header offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:48:43 +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
Julian Smart
198be84589 Applied patch [ 1701723 ] wxAUI: Added event for doubleclicks on the tabbar bg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:37:23 +00:00
Julian Smart
4d83610edf Applied patch [ 1678412 ] handling non-existent panes and uninitialized sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:18:44 +00:00