Commit Graph

40748 Commits

Author SHA1 Message Date
Vadim Zeitlin
1e0f0a90e0 made strings used in wxIPC methods const as a temporary compilation fix (they will need to be also made void* and not wxChar* later) (patch 1759924)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:59:11 +00:00
Vadim Zeitlin
fc9361e3ec added wxTo/FromString() overloads for wxFont (1st part of patch 1760073)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:49:08 +00:00
Vadim Zeitlin
ef37a43194 destroy TLW children pending for deletion from ~wxTLW to avoid leaving them with dangling parent pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 23:16:25 +00:00
Vadim Zeitlin
071691a05d yet another compilation fix for ItemDeleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 22:03:25 +00:00
David Elliott
319fe1034c * Implement the wxMask copy constructor to retain the source object's
m_cocoaNSBitmapImageRep (fixes multiple release bug).
* Add some debug messages for unimplemented wxMask::Create overloads.
* Implement mask creation w/ key color from 8-bpp grayscale bitmap.
  This makes the mask image in the drawing sample's mask page work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 20:57:50 +00:00
Vadim Zeitlin
77c1fa98ce use symbolic name for the shell menu bar too; include resources.h in wince.rc directly instead of only doing it from smartphone.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 20:19:52 +00:00
Vadim Zeitlin
272be12047 fix menu bar creation under WM5 (SHCMBF_EMPTYBAR must be used or it's not created at all!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 18:02:29 +00:00
Paul Cornett
bb351eab34 skip preprocessor test for a couple more header checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 17:02:38 +00:00
Paul Cornett
b3482afb55 fix last commit, it seems spaces are not allowed between macro and paren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:45:13 +00:00
Vadim Zeitlin
d6f2a8911e many compilation fixes for WinCE using VC8 (it now build, although still doesn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:34:24 +00:00
Vadim Zeitlin
d8af5b3aad ignore VC8 project files and build directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:32:36 +00:00
Vadim Zeitlin
61873536a0 added wxUSE_INICONF (disabled by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 14:57:31 +00:00
Vadim Zeitlin
e71bf8b256 don't use min() macro in wxQsort() which conflicts with the one from windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:51:34 +00:00
Vadim Zeitlin
11fe6505b8 deTABbed wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:48:20 +00:00
Vadim Zeitlin
3214311765 and another compilation fix for ItemDeleted() from Bo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:22:48 +00:00
Vadim Zeitlin
442c56e6ee real compilation fix for ItemDeleted()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 12:17:14 +00:00
David Elliott
b4e05bddd7 Implement --with-macosx-sdk[=SDK] and --with-macosx-version-min[=VER].
Deprecate --enable-universal_binary but support it by adding the -arch flags
as before and automatically setting the SDK using the new --with-macosx-sdk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 03:38:33 +00:00
Vadim Zeitlin
f631cd8e12 compilation fix for insert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 00:17:27 +00:00
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