Commit Graph

40730 Commits

Author SHA1 Message Date
Vadim Zeitlin
00978afa69 compilation fix for ItemDeleted()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 00:16:34 +00:00
Robert Roebling
e7ec36183c escape _
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 21:24:52 +00:00
David Elliott
05ef417f46 Add a Clear() method simply calling the wxComboBoxBase::Clear() to
disambiguate it with wxTextCtrl::Clear() since wxCocoa's wxComboBox derives
from wxTextCtrl for some reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:40:44 +00:00
Vadim Zeitlin
57309d1415 re-disable Universal Mac builds by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 16:27:29 +00:00
David Elliott
9c41aa9717 Silence the warning about lack of [NSApplication +setAppleMenu:]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 16:08:39 +00:00
David Elliott
369559cab0 Added missing #import <Foundation/NSArray.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 15:56:48 +00:00
Vadim Zeitlin
0d5b49cfb5 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 14:25:07 +00:00
Vadim Zeitlin
a236aa2058 many wxItemContainer-related changes:
1. the main function for item insertion is now DoInsertItems() which allows
   for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
   itself, the derived classes don't have to distinguish between void and
   object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
   in wxGTK combobox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Vadim Zeitlin
7f73c398d5 removed called to deprecated wxPixelData::UseAlpha() which does nothing now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 11:43:00 +00:00
Robert Roebling
83e51c483e Rewritten wxList docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 22:37:59 +00:00
Robert Roebling
9d8fe14a97 Use type safe list for model notifiers, sample corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:46:01 +00:00
Robert Roebling
b8fd3d7cc2 call attributes attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:25:32 +00:00
Robert Roebling
46abf0775b Small correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:23:12 +00:00
Robert Roebling
469d3e9b7b ItemDeleted now has (parent, item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:18:51 +00:00
Robert Roebling
d47db7e06a Patch from Bo, implement sorting in wxDVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 18:09:47 +00:00
Vadim Zeitlin
cf4a8b2698 fix warnings due to using deprecated-but-used-internally methods from the header file (which, of course, meant that they were also used during client code compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 17:42:43 +00:00
Robert Roebling
df4aed1cf0 Add iterators to wxVector, use std::vector in STL mode, correct wxVector::erase()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 10:19:08 +00:00
Robert Roebling
966cb94d85 make wxDataViewCtrl in STL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 10:17:21 +00:00
Julian Smart
ec36b155bd Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 07:17:31 +00:00
Václav Slavík
f0dfc29c71 optimized wxStringTokenizer: it's now slightly faster in wchar_t build and much faster in UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 20:00:12 +00:00
Vadim Zeitlin
a2db25a143 use To/FromWChar() in single parameter wxMBConv::cMB2WC/WC2MB() overloads too, instead of passing by the deprecated MB2WC/WC2MB()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:20:52 +00:00
Vadim Zeitlin
4fdfe2f3ae use wxMBConvStrictUTF8 instead of wxMBConvUTF8 in ConvertStr() and mb/wc_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:10:21 +00:00
Vadim Zeitlin
0286d08d14 add wxMBConvStrictUTF8 class implementing just UTF-8 conversion, without support for PUA/octal mappings and use it for wxConvUTF8 as it's simpler and more efficient (~20% faster)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 15:01:10 +00:00
Robert Roebling
6989272940 Patch from Bo to speed up FindNode() in internal data tree structure (GTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:10:10 +00:00
Robert Roebling
fe5f448f43 Added wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:26:51 +00:00
Robert Roebling
effd54b05e Don't send events when expanding internally, only after wxDataViewModel::ItemAdded was called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:25:35 +00:00
Robert Roebling
d8331a013b Send events from port-specific code, not common code, tested in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:15:04 +00:00
Robert Roebling
351461fc83 Patch from Bo to optimize FindNode() in internal tree structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 08:35:55 +00:00
Vadim Zeitlin
8ca1a013e4 corrected off by 1 error in cMB2WC() call (thanks valgrind)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 00:36:22 +00:00
Vadim Zeitlin
89216929ee don't add an extra empty line to the end (fixes bug introduced by the last optimization round)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:36:37 +00:00
Vadim Zeitlin
b899f05f9e harmless warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:34:29 +00:00
Vadim Zeitlin
3af0741ccc compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:33:44 +00:00
Vadim Zeitlin
3d9b742c7d removed empty directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:29:46 +00:00
Vadim Zeitlin
1c2aa6f237 fix caching of configure arguments broken by one of the previous commits (all options got saved in the cache file, not just the ones explicitly specified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 21:59:56 +00:00
Vadim Zeitlin
6b65e37304 removed wxUSE_STRUTILS which was left over from the old code version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 18:00:15 +00:00
Julian Smart
884a369a73 Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 12:23:28 +00:00
Vadim Zeitlin
671c43ff32 fix for r47646: typedef wxDouble for all platforms, not just wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:27:39 +00:00
Stefan Csomor
e879caa6a3 adding missing defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 11:34:47 +00:00
Vadim Zeitlin
eea0562328 call aglEnable(AGL_BUFFER_RECT) after setting the rect; fixes both drawing over all the other windows and missing redraw before first resize (patch 1758339)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:34:16 +00:00
Vadim Zeitlin
4d76ea948a removed erroneous spaces from wxTo/FromString() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:29:33 +00:00
Stefan Csomor
49d8a7819b no 68k macs more to support...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:14:35 +00:00
Václav Slavík
d6f513f829 fix visibility problems with libstdc++ on Debian and Ubuntu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 09:20:42 +00:00
Václav Slavík
a2c5db764c fixed visibility warning on Fedora
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:01:51 +00:00
Vadim Zeitlin
991ad6cd02 corrected the include file names (rest of patch 1757479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 00:00:13 +00:00
Vadim Zeitlin
08f35f8720 removed docs for classes not existing any more (part of patch 1757479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:59:07 +00:00
Vadim Zeitlin
b0f76951bc correct closing comments in #endifs (patch 1756990)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:54:55 +00:00
Vadim Zeitlin
9222c61388 updated after fileconf/fileconftest.cpp to config/fileconf.cpp move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:51:19 +00:00
Vadim Zeitlin
5c5a0f3c39 moved wxFileConfig test to config directory together with wxConfig test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:50:26 +00:00
Vadim Zeitlin
3e1512cdfe added support for user-defined types to wxConfig (patch 1753875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:47:22 +00:00
Vadim Zeitlin
d2001a563b added a macro for comparison size_t variables with literal constants, this is less ugly than explicitly casting the arguments to size_t; use it to fix base64 compilation under 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:41:07 +00:00