Commit Graph

40491 Commits

Author SHA1 Message Date
Vadim Zeitlin
a8098f8653 regenerated after adding base64.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:00:51 +00:00
Vadim Zeitlin
4db03d266b added functions for base64 en/decoding (replaces patch 1739431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Robin Dunn
0514c6a202 Need to send an event in the wxCP_NO_TLW_RESIZE case too so the user
code knows when to update the layout


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 19:49:35 +00:00
Robin Dunn
621ed8af21 Use a button that has a tree widget as a parent as the widget style
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:10 +00:00
Robert Roebling
94b1f7bcd3 More work on sorting in wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:29:05 +00:00
David Elliott
345fec0d57 Fix compilo due to r47267.
That patch might need some review because it does not use direct base classes but skips up to wxStreamBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:41:51 +00:00
Vadim Zeitlin
1ffeecf7a9 use first unused colour for the mask instead of hardcoded #ff00ff (patch 1746895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:08:20 +00:00
Vadim Zeitlin
a6ac8d7582 added wxFileStream::IsOk() (patch 1749587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 16:59:09 +00:00
Vadim Zeitlin
0a904ed2c8 generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:58:44 +00:00
Vadim Zeitlin
21dffed2f6 don't bubble up the events upwards the window hierarchy in non-last event handler in the event handlers chain as this results in passing the event more than once to the parent (and, indirectly, to wxApp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:48:48 +00:00
Julian Smart
cabf4bca21 Added gravity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:30:49 +00:00
Robert Roebling
773cca4887 Add GtkSortableIface stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:23:22 +00:00
Vadim Zeitlin
033bf67c3c added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Robert Roebling
5732efaa91 Add compare function to wxDataViewModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 12:32:59 +00:00
Robert Roebling
aba9bfd00a Bo'd patch to make wxDataViewCtrl compile again (4th attempt
to actually commit).



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
c185173ef0 ignore Bakefiles.local.bkgen file with local customizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:17:47 +00:00
Václav Slavík
0ff20b9f00 added GCC visibility support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Vadim Zeitlin
5458b18a18 fix from Francesco for the latest version of wxPresets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 23:11:55 +00:00
Václav Slavík
d03dab2a64 documented removal of unsafe wxGets() and wxTmpnam() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:23:11 +00:00
Václav Slavík
22ca9ff5b2 don't call <del-flags> for flags that weren't added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:03:58 +00:00
Václav Slavík
57e2b887a0 removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 19:06:03 +00:00
Václav Slavík
6dc2e82330 fix Watcom compilation: removed templates for wxFileSelector() compatibility with passing NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 08:40:37 +00:00
Václav Slavík
c5cf866314 removed wxWCHAR_T_IS_SEPARATE_TYPE: there already was wxWCHAR_T_IS_REAL_TYPE with the exact same meaning and definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 07:04:38 +00:00
Paul Cornett
0728199b91 process pending wx events before sending idle events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
David Elliott
9ed8b5a7b2 Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 22:10:02 +00:00
David Elliott
6ac84a7872 Remove wxMBConv_mac and wxMBConv_macUTF8D converters and use wxMBConv_cf(wxFONTENCODING_UTF8) for wxConvFileName on Darwin platform regardless of GUI toolkit.
Check for Mac encodings in wxMBConv_wxwin::Init and fail to provide conversion for them via wxEncodingConverter because that code is horribly broken for several encodings.
Remove definition of wxConvLibc for non-Darwin Mac platforms (we don't support these anymore).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 19:10:15 +00:00
David Elliott
991dd5beb9 Add support for wxFONTENCODING_MACKEYBOARD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:56:46 +00:00
David Elliott
ec0114abef Add factory functions for use with future unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:09:11 +00:00
Robert Roebling
9bb3f212e2 GCC doesn't like inline wxDEPRECATED methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 14:09:22 +00:00
Václav Slavík
17a691c1ef added missing wx_str() (patch #1749398)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 12:31:03 +00:00
Václav Slavík
f5595af61e fixed dereferencing of invalid pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 12:30:27 +00:00
Václav Slavík
e966f815d4 changed wxVectorBase and WX_DECLARE_BASE into wxVector<T> template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 10:09:42 +00:00
David Elliott
e4dd1e19a2 Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
af717fa87a fixed to make wxVariant compatible with both ANSI and Unicode modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 23:02:16 +00:00
David Elliott
6ff49cbcd4 Fix wxMBConv_cf to implement FromWChar/ToWChar in lieu of now deprecated WC2MB/MB2WC.
This is a complete rewrite trying built-in UTF-32 conversion first, then falling back to conversion through UTF-16.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:38:27 +00:00
Václav Slavík
e2badebb8f added alpha channel support to wxDFB's wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:24:28 +00:00
Václav Slavík
b6ac40dc77 added support for loading images with alpha channel to TIFF handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:17:17 +00:00
David Elliott
5c4ed98d99 Rename wxMBConv_cocoa to wxMBConv_cf and use it when __DARWIN__ (all Darwin and OS X systems).
Add comment about __WXMAC__ code path.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 18:20:32 +00:00
Vadim Zeitlin
5a83f42b3a use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl, library)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:40:45 +00:00
Václav Slavík
c2d122aa7d added missing wxUniChar::operator=(wxUniCharRef)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:40:36 +00:00
Vadim Zeitlin
c4c6ada953 remove the unneeded +1 from wxGauge::SetValue() call in Update()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:11:08 +00:00
Vadim Zeitlin
0836334e9f document that SetValue() accepts values in 0..GetRange interval, inclusive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:09:34 +00:00
Vadim Zeitlin
39434ba375 use 'neither ... nor ...' instead of 'neither ... or ...' in wxFinite documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 11:17:13 +00:00
David Elliott
4799f3baab Make wxCocoa compile in 64-bit mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:18:28 +00:00
David Elliott
f762ea32ed Fix wxCocoa compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:14:17 +00:00
Vadim Zeitlin
6b06a7271f reset selection when sorting the items as they don't make sense after items change order any more and not doing this could also result in having more than one selected item in a single selection control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:50:21 +00:00
Vadim Zeitlin
a9aead31d6 don't allow selecting multiple items in single selection control by changing the focused item with Ctrl-arrows and then pressing Space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:44:33 +00:00
David Elliott
d23bf09c7f Implement wxColour constructors to match other ports by adding char const * and wchar_t const * constructors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:20:40 +00:00
Bryan Petty
5a0ed193cd Added deprecation warnings to old wxVScrolledWindow functions (in wxVarVScrollLegacyAdaptor), and fixed a minor documentation format error in the wxVScrolledWindow docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:42:39 +00:00