]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Tue, 7 Apr 2009 11:10:40 +0000 (11:10 +0000)]
remove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60055
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Apr 2009 11:09:14 +0000 (11:09 +0000)]
no real changes, just remove unnecessary semicolons (part of #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60053
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Apr 2009 11:04:52 +0000 (11:04 +0000)]
document that a valid image list is required for item dragging under MSW (see #4390)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60052
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Apr 2009 10:41:30 +0000 (10:41 +0000)]
document wxFont(wxString) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60050
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Apr 2009 22:11:48 +0000 (22:11 +0000)]
return better fitting size from DoGetBestSize() for grids with few rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60046
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Apr 2009 22:07:03 +0000 (22:07 +0000)]
no changes, just got rid of many __WXWINCE__ ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60045
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Mon, 6 Apr 2009 17:39:22 +0000 (17:39 +0000)]
adding buildbot for 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60044
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Apr 2009 10:21:02 +0000 (10:21 +0000)]
compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60038
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Apr 2009 09:09:30 +0000 (09:09 +0000)]
update from Micha³ Trzebiatowski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60037
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 14:58:11 +0000 (14:58 +0000)]
use COLORONCOLOR stretching mode in DrawBitmap() too (see #3400)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60034
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 14:53:17 +0000 (14:53 +0000)]
added test for wxDC-based image scaling; updated copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60033
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 14:34:18 +0000 (14:34 +0000)]
paint background by default to avoid unexpected sample appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60032
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 13:07:24 +0000 (13:07 +0000)]
improve wxTreeItemData documentation (closes #10662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60031
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 12:52:22 +0000 (12:52 +0000)]
implement GetImageCount() for GIF handler (closes #10663); added test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60029
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 12:31:54 +0000 (12:31 +0000)]
allow reading GIFs with incorrectly specified animation size (closes #9465)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60028
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Apr 2009 12:16:58 +0000 (12:16 +0000)]
define HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other libraries headers (closes #10674)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60027
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 23:55:05 +0000 (23:55 +0000)]
revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 22:33:20 +0000 (22:33 +0000)]
compilation fix after r60017
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60023
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Sat, 4 Apr 2009 22:12:04 +0000 (22:12 +0000)]
Fixes for archive tests on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60022
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 16:45:23 +0000 (16:45 +0000)]
fix the test for !wxUSE_UNICODE_UTF8 builds: don't suppose that strings are UTF-8 encoded in VsnprintfTestCase::S() but use FromUTF8() explicitly (how did it manage to work with VC9 before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 16:43:36 +0000 (16:43 +0000)]
allow symmetric comparisons to work too in CPPUNIT_ASSERT_EQUAL (e.g. wxString==char*, size_t==int and not only char*==wxString, int==size_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 16:02:23 +0000 (16:02 +0000)]
fix VsnprintfTestCase::P() for mingw32 which may use MSVC CRT (closes #10679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 4 Apr 2009 13:34:08 +0000 (13:34 +0000)]
adding API note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60014
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 12:09:54 +0000 (12:09 +0000)]
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
Vadim Zeitlin [Sat, 4 Apr 2009 12:08:50 +0000 (12:08 +0000)]
no changes, just removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60012
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 4 Apr 2009 11:53:08 +0000 (11:53 +0000)]
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
Vadim Zeitlin [Sat, 4 Apr 2009 11:49:30 +0000 (11:49 +0000)]
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
Vadim Zeitlin [Sat, 4 Apr 2009 11:38:45 +0000 (11:38 +0000)]
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
Stefan Csomor [Sat, 4 Apr 2009 09:05:59 +0000 (09:05 +0000)]
fixing unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60007
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 4 Apr 2009 09:05:21 +0000 (09:05 +0000)]
fixing 64 bit value transfer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60006
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 3 Apr 2009 18:05:57 +0000 (18:05 +0000)]
adjusting DATE_TIME_FMT on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Apr 2009 17:03:16 +0000 (17:03 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 17:02:12 +0000 (17:02 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 16:57:30 +0000 (16:57 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 16:56:11 +0000 (16:56 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 16:38:20 +0000 (16:38 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 16:37:52 +0000 (16:37 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 15:42:06 +0000 (15:42 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 15:31:57 +0000 (15:31 +0000)]
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
Vadim Zeitlin [Fri, 3 Apr 2009 15:23:26 +0000 (15:23 +0000)]
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
Julian Smart [Thu, 2 Apr 2009 09:51:13 +0000 (09:51 +0000)]
Fixed wxRTC AltGr+key input on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59980
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 2 Apr 2009 04:43:24 +0000 (04:43 +0000)]
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
Vadim Zeitlin [Wed, 1 Apr 2009 21:49:47 +0000 (21:49 +0000)]
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
Vadim Zeitlin [Wed, 1 Apr 2009 21:17:35 +0000 (21:17 +0000)]
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
Francesco Montorsi [Wed, 1 Apr 2009 15:20:42 +0000 (15:20 +0000)]
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
Francesco Montorsi [Wed, 1 Apr 2009 15:00:12 +0000 (15:00 +0000)]
add IT locale to the makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59971
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 1 Apr 2009 14:59:38 +0000 (14:59 +0000)]
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
Stefan Csomor [Wed, 1 Apr 2009 08:57:56 +0000 (08:57 +0000)]
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
Vadim Zeitlin [Tue, 31 Mar 2009 09:18:42 +0000 (09:18 +0000)]
fix g++ warnings for float->int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59961
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Tue, 31 Mar 2009 08:32:16 +0000 (08:32 +0000)]
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
Vadim Zeitlin [Mon, 30 Mar 2009 22:23:05 +0000 (22:23 +0000)]
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
Vadim Zeitlin [Mon, 30 Mar 2009 22:18:24 +0000 (22:18 +0000)]
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
Vadim Zeitlin [Mon, 30 Mar 2009 21:55:03 +0000 (21:55 +0000)]
minor improvements to Bind() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59952
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Mon, 30 Mar 2009 21:27:55 +0000 (21:27 +0000)]
missing header fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59951
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 30 Mar 2009 21:14:09 +0000 (21:14 +0000)]
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
Vadim Zeitlin [Mon, 30 Mar 2009 21:08:58 +0000 (21:08 +0000)]
compilation fix after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59948
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 30 Mar 2009 19:57:34 +0000 (19:57 +0000)]
fix doxygen warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59947
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 30 Mar 2009 19:57:09 +0000 (19:57 +0000)]
fix wxLogNull base class (closes #10654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59946
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Mar 2009 18:28:42 +0000 (18:28 +0000)]
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
Stefan Csomor [Mon, 30 Mar 2009 18:26:23 +0000 (18:26 +0000)]
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
Stefan Csomor [Mon, 30 Mar 2009 18:13:42 +0000 (18:13 +0000)]
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
Benjamin Williams [Mon, 30 Mar 2009 16:01:46 +0000 (16:01 +0000)]
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
Václav Slavík [Mon, 30 Mar 2009 15:35:47 +0000 (15:35 +0000)]
fixes or embedded NULs handling in wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59940
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Mar 2009 11:54:41 +0000 (11:54 +0000)]
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
Stefan Csomor [Mon, 30 Mar 2009 07:30:26 +0000 (07:30 +0000)]
hiding the impl type more again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59938
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 30 Mar 2009 00:00:15 +0000 (00:00 +0000)]
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
Václav Slavík [Sun, 29 Mar 2009 23:16:17 +0000 (23:16 +0000)]
compilation fix for r59932
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59935
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 21:31:40 +0000 (21:31 +0000)]
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
Vadim Zeitlin [Sun, 29 Mar 2009 21:30:28 +0000 (21:30 +0000)]
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
Václav Slavík [Sun, 29 Mar 2009 21:27:10 +0000 (21:27 +0000)]
implemented CreateIconBundle() in GTK+ native art provider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59932
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 29 Mar 2009 21:25:23 +0000 (21:25 +0000)]
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
Václav Slavík [Sun, 29 Mar 2009 21:23:59 +0000 (21:23 +0000)]
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
Václav Slavík [Sun, 29 Mar 2009 21:19:40 +0000 (21:19 +0000)]
add support for loading wxIconBundles from streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59929
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 21:04:55 +0000 (21:04 +0000)]
don't dereference end iterator (closes #10656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59928
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 29 Mar 2009 20:58:39 +0000 (20:58 +0000)]
added length to wx(Scoped)CharBuffer to improve handling of embedded NULs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59927
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:51:40 +0000 (20:51 +0000)]
special casing mac code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59926
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:49:04 +0000 (20:49 +0000)]
glgrab not available for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59925
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:48:05 +0000 (20:48 +0000)]
adding iphone code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59924
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:45:45 +0000 (20:45 +0000)]
adding proper iphone includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59923
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:44:58 +0000 (20:44 +0000)]
streamlining code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59922
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:42:00 +0000 (20:42 +0000)]
make sure button is known for non-precomp case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59921
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 20:10:14 +0000 (20:10 +0000)]
adding a for am/pm and windows special character t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59920
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 19:46:02 +0000 (19:46 +0000)]
fixing conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59919
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 18:13:32 +0000 (18:13 +0000)]
adding implementation for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59918
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 17:26:25 +0000 (17:26 +0000)]
use short date format in wxLOCALE_DATE_TIME_FMT handler for MSW for compatibility with strftime("%c")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59916
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 17:20:14 +0000 (17:20 +0000)]
adding comment about wxHAS_OPENGL_ES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59915
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 17:15:43 +0000 (17:15 +0000)]
Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo().
- Implement for POSIX and Win32, TODO for OS X
- Use this instead of ad hoc code in wxDateTime::ParseFormat()
- Remove HAVE_STRPTIME, we don't need nor use strptime() any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59914
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 29 Mar 2009 17:13:27 +0000 (17:13 +0000)]
bracketing opengl code that doesn't work on OpenGL ES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59913
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 15:13:40 +0000 (15:13 +0000)]
minor cleanup of Unix GetInfo(): assert if invalid parameters are passed; don't use explict wxString ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59912
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 12:53:54 +0000 (12:53 +0000)]
update documentation for Bind() (closes #10594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59911
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 29 Mar 2009 12:38:53 +0000 (12:38 +0000)]
no real changes, jus renames some parameters (see #10594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59910
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 28 Mar 2009 20:06:26 +0000 (20:06 +0000)]
fixed logical error in SetIcons(): only assert if no icon was set, at least one is OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59907
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 28 Mar 2009 19:10:05 +0000 (19:10 +0000)]
fix setting of HOST_{PRE,SUF}FIX in case --host option is specified but --build is not (this is not recommended by autoconf but still possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59905
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 28 Mar 2009 18:18:23 +0000 (18:18 +0000)]
fix basetsd.h name for case-sensitive file systems (which can be used when cross-compiling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59904
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 28 Mar 2009 16:46:34 +0000 (16:46 +0000)]
bracketing menu code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59903
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 28 Mar 2009 12:32:06 +0000 (12:32 +0000)]
variadic macros need specializations for both wxCharBuffer and wxScopedCharBuffer (fixes #10651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59901
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 28 Mar 2009 09:35:53 +0000 (09:35 +0000)]
don't duplicate copy ctor and assignment operator code in wxCharTypeBuffer<T>, it was identical to base class' version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59900
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 27 Mar 2009 22:37:22 +0000 (22:37 +0000)]
don't reset WS_EX_CONTROLPARENT bit in wxNotebook::MSWGetStyle(), this can result in freezing the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59897
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Fri, 27 Mar 2009 20:54:05 +0000 (20:54 +0000)]
corrections for inner-dock pane sizing for 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59889
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 27 Mar 2009 16:34:49 +0000 (16:34 +0000)]
correct the test for Windows platform (this also fixes unit test failures in FormatConverterTestCase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59888
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775