Commit Graph

45283 Commits

Author SHA1 Message Date
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
Václav Slavík
6bd4f2812d fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:02:38 +00:00
Robert Roebling
3d593f49a4 Update <make dist> for wxGTK (and probably other ports, too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 11:13:12 +00:00
Robert Roebling
a612b91afe Update <make dist> for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 11:03:49 +00:00
Paul Cornett
24af522c43 move wxIconArray declaration out of header, remove unneccessary copy ctor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:34 +00:00
Paul Cornett
05e0b047d8 don't use deprecated toolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:14 +00:00
Paul Cornett
f087f1d84a uncomment line accidentally left commented out in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 05:28:53 +00:00
Paul Cornett
0617ba3e34 fix for GTK assertion `info->icon_pixmap == NULL' failed, #9905
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 05:10:45 +00:00
Vadim Zeitlin
2f663107ff escape '@' symbols in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:25:51 +00:00
Vadim Zeitlin
8b385bf892 use UnsetToolTip() instead of SetToolTip(NULL) to fix wxX11 build broken on Buildbot since this file addition; fix some weird "else" indentation; use empty() instead of Length() > 0 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:20:09 +00:00
Vadim Zeitlin
410201d988 added UnsetToolTip() which is also provided (as empty function) in wxUSE_TOOLTIPS==0 case unlike SetToolTip(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:19:04 +00:00
Vadim Zeitlin
82db3c3d9d compilation fixes for minimal build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:28:26 +00:00
Vadim Zeitlin
1a7cfc94a3 compilation fixes for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:23:26 +00:00
Vadim Zeitlin
c74fc1e130 add parentheses for && inside || to fix g++ 4.3 warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:39:48 +00:00
Robert Roebling
4d60a2d5d4 Docs corrections from Tim Stahlhut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 09:12:15 +00:00
Kevin Ollivier
8f3864f737 Compilation fix, didn't realize initialization order of events is different on trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 05:32:03 +00:00
Kevin Ollivier
b12a7313f5 Respect the wxNO_BORDER flag for tool windows without a titlebar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 04:28:40 +00:00
Kevin Ollivier
3d52bdd8c6 Fix memory leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 03:03:54 +00:00
Vadim Zeitlin
cbb003b105 sometimes unused parameter warnings are really worth paying attention to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:36:00 +00:00
Vadim Zeitlin
998b0cb417 don't use deprecated wxMenuItem ctor and don't use an unnecessary #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:31:32 +00:00
Vadim Zeitlin
eecf97a5ee changed wxAuiBlendColour() to work with unsigned chars instead of doubles as it's always used with them [forward port of rr55210 from 2.8]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:30:23 +00:00
Benjamin Williams
93dcd337cd fix undefined variable color to colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 12:00:09 +00:00
Benjamin Williams
c95340c234 don't use MacSetTheme()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 10:56:51 +00:00
Benjamin Williams
b7ae02541f fixed include problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 10:21:57 +00:00
Benjamin Williams
c583dbe024 rebake because of new auibar.*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:29:58 +00:00