Vadim Zeitlin
830f8f11bc
1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
...
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
for this parameter in the classes which read text from the file: wxConvAuto
automatically recognizes the BOM at the start of file and uses the correct
conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:37:47 +00:00
Vadim Zeitlin
eec47cc6c4
Described in the comments and documented the semantics of the parameters and
...
return values of wxMBConv methods and tried to make them more consistent. The
only (intentional) backwards incompatible change is that cMB2WC/cWC2MB now
return the length of the converted string in outLen parameter and not length+1
Added wxMBConv::GetMBNul() and use it instead of supposing that all multibyte
strings are always terminated with a single NUL which is wrong for UTF-16/32.
Using GetMBNul(), completely rewrote cMB2WC/cWC2MB() to accept a string of the
specified length, whether it is NUL-terminated or not. This means that they
don't overwrite the provided buffer any more and convert the entire string in
all cases.
Fixed bug in wxMBConvUTF16::WC2MB() which didn't NUL-terminate the string
properlyv even if there was enough space.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:03 +00:00
Julian Smart
d4445d24d3
Reverted wxChoice size fix due to problems in W2K and below
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 09:21:11 +00:00
Vadim Zeitlin
e11e27cf74
made wxTextFile work in Unicode (bug 1260189); also made it possible to use it with non seekable files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:31:23 +00:00
Vadim Zeitlin
3af9f2de59
added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Włodzimierz Skiba
894b93d3ba
Updated changes list after int/size_t unsigned int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:57:43 +00:00
Robin Dunn
6fa9383b57
Add a note about WXK*PRIOR and WXK*NEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 17:01:12 +00:00
Vadim Zeitlin
aa61d35253
replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Julian Smart
b83d533aec
Miscellaneous change log updates.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 16:16:49 +00:00
Vadim Zeitlin
eca0692c77
fixed several bugs in ParseDate() (invalid dates could result in assert failure while some valid dates such as 29 Feb 2004 were not recognized)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:20:43 +00:00
Vadim Zeitlin
dfa0b52f4a
show the function in which the assert failure occured if the compiler supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
637b7e4f3a
added semicolons after wxCHECK()s (part of patch 1450705)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:16:34 +00:00
Vadim Zeitlin
6c5d62917d
added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Vadim Zeitlin
480abc8fdb
Albanian translation added (Besnik Bleta)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 15:41:09 +00:00
Julian Smart
6fdaa47727
Added documentation for compiling under Windows Mobile 5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:32:34 +00:00
Włodzimierz Skiba
afbe150a76
Line-up interfaces to use size_t for GetCount()s (and count related api).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:30:06 +00:00
Vadim Zeitlin
937f314d3f
native implementation of wxDirDialog for wxCocoa (patch 1403780)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:30:52 +00:00
Vadim Zeitlin
2e1f50128a
support mnemonics for wxStatic/RadioBox and made it easier to add support for more controls by virtualizing the mnemonics support logic (patch 1448178)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:21:19 +00:00
Vadim Zeitlin
186344760d
support underlined fonts (patch 1448089)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:14:59 +00:00
Vadim Zeitlin
01c54165d1
don't require multimon.h any more now (patch 1446030); enable wxUSE_DISPLAY by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:49:21 +00:00
Vadim Zeitlin
c00fed0ef4
added wxListBox::HitTest() from Ryan (patch 1446207)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Julian Smart
619111b9aa
Fixed wxGenericFileDialog to work with WinCE, so it can be used to
...
replace native dialog that doesn't allow access to all folders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 10:44:48 +00:00
Vadim Zeitlin
a02debb4c6
mention wxEventUpdateUI::Show() change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 16:12:07 +00:00
Julian Smart
53754b9293
Documented WinCE context menu change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 14:28:41 +00:00
Jamie Gadd
3c96418b71
Make wx{List,Tree}Ctrl resize their standard font if the user changes the system font.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 14:19:12 +00:00
Włodzimierz Skiba
0f30d8e39e
Fixed using list of wildcards in filter of wxDocTemplate.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 19:53:31 +00:00
Vadim Zeitlin
f154b9fa94
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 02:21:13 +00:00
Vadim Zeitlin
213ad8e72c
added linear and concentric gradient fill functions (modified/fixed patch from Ryan Norton)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:57:31 +00:00
Kevin Hock
24f4fc23ac
Note wxSOCKET_REUSEADDR and SetLocal/Connection changes [ Result of extended patch 1415505 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 00:46:14 +00:00
Vadim Zeitlin
216a72f3b9
added support for 64 bit ints in wx stream classes (patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Julian Smart
7cc1ad299f
Applied patch [ 1412216 ] non-themed fallback support for other wxNotebook orientation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:41:40 +00:00
Vadim Zeitlin
c4edb7acdf
added generation of wxEVT_SCROLL_XXX (patch 1424698)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 21:03:35 +00:00
Vadim Zeitlin
9d4e821b97
GetFromWindow() is not MSW-only any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 02:30:38 +00:00
Vadim Zeitlin
1f464296de
fixed centering of top level windows on secondary displays (replaces patch 1267173)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:02:06 +00:00
Vadim Zeitlin
c86fd3a793
undeprecated wxSizerItem::IsShown() undoing last change to wx/sizer.h: turns out we do need this logic in a few places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:25:22 +00:00
Jamie Gadd
006b8dff84
Fix drag and drop inside static boxes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 12:42:25 +00:00
Vadim Zeitlin
0c131a5ad2
implemented ScrollLines/Pages() for all classes in wxGTK, not just wxTextCtrl (patch 1281503)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:53:34 +00:00
Vadim Zeitlin
f8855e4725
great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:51:23 +00:00
Vadim Zeitlin
f303d69f93
deprecated wxSizerItem::IsShown() because it doesn't really make sense for the sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 22:22:51 +00:00
Vadim Zeitlin
700dbceb37
added support for <bg> tag for toolbars in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:22:56 +00:00
Vadim Zeitlin
114807c0b2
added support disabled tag for toolbar elements in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:20:18 +00:00
Jamie Gadd
7ad4d6914d
Put previous change under correct heading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:47:38 +00:00
Jamie Gadd
9fb2139d11
Mention wxDC::{Begin,End}Drawing deprecation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:41:21 +00:00
Włodzimierz Skiba
96dcd41a12
[ 1420190 ] Enable backspace key on smartphone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 21:37:32 +00:00
Julian Smart
cc8bc5aa9c
Added SetSheetStyle to property sheet dialog to allow specification
...
of alternative book styles and shrink-to-fit mode
Updated dialogs sample with example of toolbook-style property sheet dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:54:17 +00:00
Włodzimierz Skiba
03a37db96a
Tree != List
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:46:55 +00:00
Julian Smart
fd0d619f5d
Entry for wxToolbook.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 16:00:22 +00:00
Michael Wetherell
5a0a8487c4
Link oleacc.lib conditionally since VC++ 5 w/o PSDK doesn't have it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:07:12 +00:00
Kevin Hock
2decc3bd99
Fixed wxSocketBase::InterruptWait on wxBase.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 00:49:12 +00:00
Julian Smart
a5fa20cbd7
Updated change log
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 18:12:14 +00:00