Commit Graph

45157 Commits

Author SHA1 Message Date
Vadim Zeitlin
2c6dbc21b9 no changes, just de-TAB-bed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 22:01:20 +00:00
Stefan Neis
f35f85a99c Added implementation of thread local storage for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:55:09 +00:00
Vadim Zeitlin
4aeb71a4d2 fix another occurrence of g++ 3.3 problem with deprecated ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:27:44 +00:00
Stefan Neis
d3b9a3fd36 Workaround for bug in gcc-3.1 through gcc-3.3 in handling deprecation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:21:49 +00:00
Vadim Zeitlin
a8be206acc no changes, fix typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:08:43 +00:00
Vadim Zeitlin
89cafab0f4 using ListView_Get[Sub]ItemRect() provokes warnings with mingw32 4.3, use our own versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:53:18 +00:00
Vadim Zeitlin
ee56d68c45 avoid unnecessary heap allocation of BITMAPINFO struct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:31:31 +00:00
Vadim Zeitlin
d3acc83ae9 fix some (harmless) mingw32 4.3 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:30:53 +00:00
Vadim Zeitlin
58bd9838c5 implement operator!=() inline (forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:30:03 +00:00
Vadim Zeitlin
83a4297638 fix mingw32 4.3 warning about passing literal string as non-const char*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 15:01:31 +00:00
Vadim Zeitlin
0475d322f7 use C99 isfinite() for 64 bit mingw32 instead of BSD-ish finite() which it apparently doesn't have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:55:43 +00:00
Vadim Zeitlin
98225d0279 test for __MINGW64__ in the huge files support section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:52:47 +00:00
Vadim Zeitlin
d12fd3ebcf define HAVE_SSIZE_T if _SSIZE_T_DEFINED is defined for mingw32 (#9921)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:49:13 +00:00
Vadim Zeitlin
792255cc6d more Doxygen warnings corrections from Tim S
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:44:43 +00:00
Stefan Csomor
dbeddfb93d committing current cocoa state just to be safe ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 08:03:32 +00:00
Vadim Zeitlin
8b73c5318c chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00
Vadim Zeitlin
b18f47d002 document wxCP_NO_TLW_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 17:35:30 +00:00
Paul Cornett
48200154f4 replace m_insertCallback with a virtual function, contrary to the old comments a virtual works just fine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 15:46:48 +00:00
Robert Roebling
52ddeedbde Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 14:00:43 +00:00
Robert Roebling
2038034368 Fix #9917: File save dialog does not honor file extension on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:57:03 +00:00
Vadim Zeitlin
33ccf3d1ec make the length of string proportional to the parameter to study test time dependency on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:56:03 +00:00
Robert Roebling
a6919a6aca Mention wxString caching in UTF-8 ode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 12:46:41 +00:00
Robert Roebling
3f5506cfd3 Another doc patch from Tim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 12:15:59 +00:00
Vadim Zeitlin
e85eaef3fa override DoOpen/SaveDocument() instead of OnOpen/SaveDocument(), just as in docmdi sample after r55141/r55142/r55143 changes (#9892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 11:38:12 +00:00
Vadim Zeitlin
b053bf9ef4 don't use new string caching code without compiler TLS support (temporary fix to compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 21:50:10 +00:00
Vadim Zeitlin
af912213b3 compilation fix for non-UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:39:23 +00:00
Vadim Zeitlin
68482dc584 add cache for last used position and string length to UTF-8 wxString, dramatically improving performance of the code using indices to iterate over strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:19:11 +00:00
Vadim Zeitlin
8fad8b2e52 add the possibility to pass numeric parameters to benchmark functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 17:14:39 +00:00
Paul Cornett
3bbc1d95a1 use 8 bits for alpha, nothing needs 16 bit alpha here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 15:46:32 +00:00
Paul Cornett
173d02a872 add wxPseudoTransparentFrame to parent, so it doesn't get leaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 15:45:50 +00:00
Robert Roebling
b784691e07 More corrections to make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:28:56 +00:00
Robert Roebling
2a00b84736 Minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:21:56 +00:00
Robert Roebling
4f2511d706 Minor corrections to make dist after reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 12:56:21 +00:00
Vadim Zeitlin
0d79a67919 no changes, just match the number of opening/closing braces to avoid upsetting Vim (and probably other editors) syntax highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 23:03:55 +00:00
Vadim Zeitlin
2976d6cbc0 unbuffer cout to work around bug in Debian version of cppunit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 20:37:44 +00:00
Vadim Zeitlin
eaf6da0746 use std::sort() instead of qsort() to implement wxArrayString::Sort(), this makes it thread-safe without any extra hacks and also makes the code simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 19:40:20 +00:00
Paul Cornett
0d0b57acec get system colors directly from GTK styles, eliminating need for cached wxColor objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 17:10:36 +00:00
Robert Roebling
fd1ce7f0bb Update <make win-dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:48:24 +00:00
Robert Roebling
68a9f95249 Updated readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:06:49 +00:00
Robert Roebling
3522813ad8 Add XCode project files to wxMac's <make dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 10:39:04 +00:00
Vadim Zeitlin
f65e33a31d get rid of duplicate enum (#9895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 09:59:11 +00:00
Stefan Csomor
0b134cd00d fixing #9910
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:18:30 +00:00
Bryan Petty
4050e98de9 Fix misc documentation warnings (patch by Tim Stahlhut).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 04:20:07 +00:00
Vadim Zeitlin
f3d7473941 add a scoped_ptr-like wxGtkObject class which calls g_object_unref() automatically and use it in some GC-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 01:06:58 +00:00
Vadim Zeitlin
98d8a7ece5 honour user scale and source offset in wxDC::Blit() (#2605)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Vadim Zeitlin
3c06bd88f4 no changes, just a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:43:45 +00:00
Paul Cornett
d2cb636a1f put wxIconArray back in header, it's used by wxFSVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:34:22 +00:00
Paul Cornett
9ff9d30c0a Hold a reference on m_widget for the life of the associated wxWindow object.
This allows removing some ugly hacks, and leaking of GtkWidgets by wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:19:23 +00:00
Robert Roebling
4a693a9b8c Also make make dist for wxMac work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 14:06:42 +00:00
Václav Slavík
22188d7396 pch-less compilation fix for r55285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:29:38 +00:00