Vadim Zeitlin
df6de630f5
fix test failure on glibc systems which do not use %T; also replace CompareTimeFormats() with a macro to get failure messages on the right line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 12:09:54 +00:00
Vadim Zeitlin
0c51a971fb
no changes, just removed unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 12:08:50 +00:00
Vadim Zeitlin
79c4aa385f
fix parsing of %p for locales which use periods in AM/PM strings (see #10677 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:53:08 +00:00
Vadim Zeitlin
84d8eabd81
no changes, just fixed typo in an error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:49:30 +00:00
Vadim Zeitlin
ba7e7253c6
fix PCH-less build after last change ( closes #10678 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 11:38:45 +00:00
Stefan Csomor
a4fec5b41e
fixing unused param warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 09:05:59 +00:00
Stefan Csomor
1f45087210
fixing 64 bit value transfer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 09:05:21 +00:00
Stefan Csomor
db227bf893
adjusting DATE_TIME_FMT on OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 18:05:57 +00:00
Vadim Zeitlin
727e8d842f
fix the test case which wrongly relied on wxString using UTF-8 representation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 17:03:16 +00:00
Vadim Zeitlin
27dd021da3
fix the test case which wrongly relied on wxString using UTF-8 representation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 17:02:12 +00:00
Vadim Zeitlin
609483b81a
compilation fix: WXWIN_COMPATIBILITY_2_8 must be tested with #if, not #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:57:30 +00:00
Vadim Zeitlin
825d69c1ef
handle embedded NULs correctly in wxString::CmpNoCase() in all builds and not just UTF-8 one; incidentally improve its performance under Windows (see #10375 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:56:11 +00:00
Vadim Zeitlin
e992b97f1b
avoid the ugly hack with adding an empty string to m_registries to indicate that we need to run all tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:38:20 +00:00
Vadim Zeitlin
f253c22f29
really fix handling of trailing periods in abbreviated month names in French locale (without breaking everything else like last commit did)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 16:37:52 +00:00
Vadim Zeitlin
6b26ab96f7
allow for trailing periods in week day/month names (as used in e.g. French locale)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:42:06 +00:00
Vadim Zeitlin
ad16130f66
add possibility to choose the locale (useful for Windows which doesn't honour LC_ALL &c)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:31:57 +00:00
Vadim Zeitlin
fac0939500
use correct expected values for Windows and OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 15:23:26 +00:00
Julian Smart
d2bb72ffd5
Fixed wxRTC AltGr+key input on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 09:51:13 +00:00
Stefan Csomor
9fbcc67955
make long format equal to full on mac (including dayname)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 04:43:24 +00:00
Vadim Zeitlin
525711d7a3
don't run wxPATH_NORM_LONG test on systems where the short file names are disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 21:49:47 +00:00
Vadim Zeitlin
27aec6b6fc
expect 4 digit year in French locale under all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 21:17:35 +00:00
Francesco Montorsi
797a270678
fix a problem with setlocale() under Windows: with MSVC7 it sometimes returns garbage when passing "": use NULL instead (may need a fix also in wxLocale::IsAvailable)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 15:20:42 +00:00
Francesco Montorsi
34e8a158e5
add IT locale to the makefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 15:00:12 +00:00
Francesco Montorsi
5036c26475
include the locale name in the error message when the catalog can't be loaded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 14:59:38 +00:00
Stefan Csomor
2daa5d2c99
bringing back utf32 encoding for wchar, fixes #10666
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-01 08:57:56 +00:00
Vadim Zeitlin
7ff1542d27
fix g++ warnings for float->int conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 09:18:42 +00:00
Benjamin Williams
c7928d82c2
undock/float toolbar if it's dragged right or south of client area
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 08:32:16 +00:00
Vadim Zeitlin
d8a696fb5f
correct French short date format for glibc; added more detailed messages for failing tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 22:23:05 +00:00
Vadim Zeitlin
d73a520945
allow running tests whose names don't end with TestCase again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 22:18:24 +00:00
Vadim Zeitlin
f3d261e7ac
minor improvements to Bind() description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:55:03 +00:00
Benjamin Williams
05bd0f4400
missing header fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:27:55 +00:00
Vadim Zeitlin
b9d2203419
only Linux/glibc seem to use periods as date separator in French locale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:14:09 +00:00
Vadim Zeitlin
d19fe998c8
compilation fix after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:08:58 +00:00
Francesco Montorsi
8d2d37d268
fix doxygen warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:34 +00:00
Francesco Montorsi
6a9994cf2b
fix wxLogNull base class ( closes #10654 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 19:57:09 +00:00
Václav Slavík
197380a09f
always return (owned or non-owned, depending on build) wxScopedCharBuffer from utf8_str() and ToUTF8()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:28:42 +00:00
Stefan Csomor
911907f4ad
adding OSX specific fixes to bsd level formatting problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:26:23 +00:00
Stefan Csomor
470298433c
adding more symbols to translation, using better matching formats
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 18:13:42 +00:00
Benjamin Williams
69e65b6c0b
don't allow docks to be resized such that panes overlap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 16:01:46 +00:00
Václav Slavík
38d26d6040
fixes or embedded NULs handling in wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 15:35:47 +00:00
Václav Slavík
a6bb7a282d
fixed size of buffer returned by wxFormatConverter (it was too large before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 11:54:41 +00:00
Stefan Csomor
ee032c59df
hiding the impl type more again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 07:30:26 +00:00
Václav Slavík
e542e141a3
compilation fix for wxUSE_UTF8_LOCALE_ONLY case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 00:00:15 +00:00
Václav Slavík
62e68ee3c6
compilation fix for r59932
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 23:16:17 +00:00
Vadim Zeitlin
d21aa7f4eb
make it explicitly clear that the len parameter of SetData() is in bytes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:31:40 +00:00
Vadim Zeitlin
a523395dfa
pass size in bytes, not wchars, to SetData() in wxURLDataObject::SetURL() (fixes wxURLDataObject after r59391)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:30:28 +00:00
Václav Slavík
7b7fd3e614
implemented CreateIconBundle() in GTK+ native art provider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:27:10 +00:00
Václav Slavík
1c60f64458
set icons bundle, not single icon, for frames loaded from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:25:23 +00:00
Václav Slavík
b5c2a33438
wxArtProvider::GetIconBundle() cleanup:
...
* makes GetIcon() and GetBitmap() behave in the same way again (i.e. GetBitmap
falls back to CreateIconBundle too)
* GetIcon() used to call CreateIconBundle() first, before CreateBitmap() - this
doesn't make sense, inverted
* GetIconBundle() falls back to GetIcon() if provider's CreateIconBundle()
doesn't return anything and vice versa: GetIcon()/GetBitmap() falls back to
GetIconBundle() if CreateBitmap() doesn't return anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:23:59 +00:00
Václav Slavík
cee875e329
add support for loading wxIconBundles from streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 21:19:40 +00:00