Commit Graph

40465 Commits

Author SHA1 Message Date
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
Robert Roebling
fc5eacdb48 wxDataViewCtrl can show tree/list music sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:55:00 +00:00
Robert Roebling
d2505ba254 Getting closer to working tree/list wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:15:03 +00:00
Václav Slavík
50b2d54446 added missing WXDLLIMPEXP_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:59:27 +00:00
Chris Elliott
d96c09df7e added missing unixfiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:27:22 +00:00
Chris Elliott
392b9a6fba replace cvsentries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:02:58 +00:00
Robert Roebling
5debbdcf7b The dataview sample compiles now, but doesn't work yet...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Chris Elliott
1a1f3e4b53 cvs to svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 09:07:05 +00:00
Chris Elliott
e6c0bfec22 move to svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:07:24 +00:00
Bryan Petty
0a82af9b91 Fixed case on LaTeX member function labels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:06:12 +00:00
Chris Elliott
99bc6ea392 move to svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 08:03:48 +00:00
Robert Roebling
e0062c047e New API for wxdataViewCtrl (doesn't run yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 00:13:28 +00:00
Vadim Zeitlin
2f6aa043a6 simplify test for 64 bit architectures: just check if the string '64' occurs in the arch string, this also covers more cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 22:31:56 +00:00
Vadim Zeitlin
60edcf4535 added support for broadcasting to UDP sockets (patch 1740266)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:33:11 +00:00
Vadim Zeitlin
bf511d579f fixed bug which resulted in generation of spurious EVT_RADIOBOX events when a radiobox button was focused but not selected (patch 1739140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:20:32 +00:00
Vadim Zeitlin
173f3c03a0 rebaked after adding threads/atomic.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:56:52 +00:00
Paul Cornett
cedd7b22f4 indentation cleanup, unused variables, constant expressions, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:36 +00:00
Vadim Zeitlin
cde76cf2a9 added wxAtomicInc/Dec() functions (patch 1739486)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:14 +00:00
Vadim Zeitlin
2b753fb4c2 ignore bakefile temp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:50:35 +00:00
Vadim Zeitlin
37b784f01c ignore VC++ build files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:49:37 +00:00
Vadim Zeitlin
1a5cd56aac compilation fix for ANSI build (added #if wxUSE_UNICODE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:35:42 +00:00
Benjamin Williams
479574aab2 fix for bug #1686328
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 16:42:55 +00:00
Vadim Zeitlin
ebdc834105 test whether HAVE_VSWPRINTF is defined, not whether it's 0 or 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 11:49:22 +00:00
Václav Slavík
68fb51cd1d always assert if char<->wxUniChar conversion fails, not only if wxUSE_UTF8_LOCALE_ONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 08:04:31 +00:00
Václav Slavík
30f3757b50 wxStrcoll_String compilation fixes for Dmars and Borland compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:26:35 +00:00
Václav Slavík
4e0a055757 compilation fix for windows compilers: _wrename is declared in io.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 21:11:46 +00:00
Bryan Petty
7fb870e15b Added BuildSVN.txt instructions (copied from BuildCVS.txt, with appropriate replacements).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 18:00:32 +00:00