]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agorebake after the addition of graphics/measuring.cpp
Vadim Zeitlin [Thu, 16 Apr 2009 14:49:28 +0000 (14:49 +0000)] 
rebake after the addition of graphics/measuring.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded a failtest target to Makefile to test for the (expected) compilation failures
Vadim Zeitlin [Thu, 16 Apr 2009 14:47:22 +0000 (14:47 +0000)] 
added a failtest target to Makefile to test for the (expected) compilation failures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement default width for toolbar labels
Benjamin Williams [Thu, 16 Apr 2009 13:02:48 +0000 (13:02 +0000)] 
implement default width for toolbar labels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agopass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compat...
Vadim Zeitlin [Thu, 16 Apr 2009 13:00:40 +0000 (13:00 +0000)] 
pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodefine constants for the number of items in the tree at each level and number of...
Vadim Zeitlin [Thu, 16 Apr 2009 12:48:51 +0000 (12:48 +0000)] 
define constants for the number of items in the tree at each level and number of levels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrect test for wxDEBUG_LEVEL in last commit
Vadim Zeitlin [Wed, 15 Apr 2009 23:04:46 +0000 (23:04 +0000)] 
correct test for wxDEBUG_LEVEL in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd a test to ensure that CreateMeasuringContext creates a valid context
Kevin Ollivier [Wed, 15 Apr 2009 22:38:53 +0000 (22:38 +0000)] 
Add a test to ensure that CreateMeasuringContext creates a valid context
that can measure text.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoImplement CreateMeasuringContext for GTK/Cairo.
Kevin Ollivier [Wed, 15 Apr 2009 21:55:47 +0000 (21:55 +0000)] 
Implement CreateMeasuringContext for GTK/Cairo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove dll export declaration from wxCStrData now that all its methods are inline...
Vadim Zeitlin [Wed, 15 Apr 2009 21:31:33 +0000 (21:31 +0000)] 
remove dll export declaration from wxCStrData now that all its methods are inline (fixes mingw32 warning in DLL build)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoavoid a warning about unused function in release build
Vadim Zeitlin [Wed, 15 Apr 2009 21:30:37 +0000 (21:30 +0000)] 
avoid a warning about unused function in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow...
Vadim Zeitlin [Wed, 15 Apr 2009 21:23:50 +0000 (21:23 +0000)] 
use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremoved the note about wxEvent::Clone() startup test as it was removed
Vadim Zeitlin [Wed, 15 Apr 2009 21:14:25 +0000 (21:14 +0000)] 
removed the note about wxEvent::Clone() startup test as it was removed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrect GTK+ version check added by r59603
Vadim Zeitlin [Wed, 15 Apr 2009 21:07:55 +0000 (21:07 +0000)] 
correct GTK+ version check added by r59603

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agohave at least a measuring context available
Stefan Csomor [Wed, 15 Apr 2009 20:43:55 +0000 (20:43 +0000)] 
have at least a measuring context available

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove unneeded font members from wxFontRefData (all font characteristics are stored...
Francesco Montorsi [Wed, 15 Apr 2009 20:19:35 +0000 (20:19 +0000)] 
remove unneeded font members from wxFontRefData (all font characteristics are stored only inside the wxNativeFontInfo member); simplify code because m_nativeFontInfoOk==true always; return wxFONTFAMILY_UNKNOWN from GetFamily() when there's no font family info.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomake sure we treat partial conversions as failed
Stefan Csomor [Wed, 15 Apr 2009 20:16:12 +0000 (20:16 +0000)] 
make sure we treat partial conversions as failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosmall enhancement: account for SLANT==ITALIC on wxMSW; print explicitely the face...
Francesco Montorsi [Wed, 15 Apr 2009 20:02:17 +0000 (20:02 +0000)] 
small enhancement: account for SLANT==ITALIC on wxMSW; print explicitely the face name of the current font; make wxFontBase::GetFamilyString aware of wxFONTFAMILY_UNKNOWN

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agotextctrl fixes
Stefan Csomor [Wed, 15 Apr 2009 19:44:51 +0000 (19:44 +0000)] 
textctrl fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd a space to ensure we have a space between qualifiers and parameter names
Kevin Ollivier [Wed, 15 Apr 2009 17:47:23 +0000 (17:47 +0000)] 
Add a space to ensure we have a space between qualifiers and parameter names

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing return values and handling of invalid files
Stefan Csomor [Wed, 15 Apr 2009 17:46:11 +0000 (17:46 +0000)] 
fixing return values and handling of invalid files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agousing proper SubItemRect
Stefan Csomor [Wed, 15 Apr 2009 16:55:01 +0000 (16:55 +0000)] 
using proper SubItemRect

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed a bug whereby setting one element size set all element sizes.
Julian Smart [Wed, 15 Apr 2009 09:40:36 +0000 (09:40 +0000)] 
Fixed a bug whereby setting one element size set all element sizes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't return whatever encoding was set in SetEncoding(); always return wxFONTENCODING...
Francesco Montorsi [Tue, 14 Apr 2009 23:18:50 +0000 (23:18 +0000)] 
don't return whatever encoding was set in SetEncoding(); always return wxFONTENCODING_UTF8 instead since that's the real encoding always used by wxFont under wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadapting TextUpdateEvents, using wxTextEntry API
Stefan Csomor [Tue, 14 Apr 2009 20:09:39 +0000 (20:09 +0000)] 
adapting TextUpdateEvents, using wxTextEntry API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomaking sure min and max sizes can be overridden
Stefan Csomor [Tue, 14 Apr 2009 20:05:47 +0000 (20:05 +0000)] 
making sure min and max sizes can be overridden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing native font info support bugs
Stefan Csomor [Tue, 14 Apr 2009 19:58:51 +0000 (19:58 +0000)] 
fixing native font info support bugs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoguaranteeing autorelease pools for overridden OnRun on OSX
Stefan Csomor [Tue, 14 Apr 2009 19:54:01 +0000 (19:54 +0000)] 
guaranteeing autorelease pools for overridden OnRun on OSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodump all font properties upon failure
Francesco Montorsi [Tue, 14 Apr 2009 18:55:41 +0000 (18:55 +0000)] 
dump all font properties upon failure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding all encodings on mac
Stefan Csomor [Tue, 14 Apr 2009 17:44:51 +0000 (17:44 +0000)] 
adding all encodings on mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFor the wxPython headers, we need to copy SWIG files like the other platforms do...
Kevin Ollivier [Tue, 14 Apr 2009 17:11:30 +0000 (17:11 +0000)] 
For the wxPython headers, we need to copy SWIG files like the other platforms do so that wxPython extensions can be built.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing path for test_gui
Stefan Csomor [Tue, 14 Apr 2009 16:06:14 +0000 (16:06 +0000)] 
fixing path for test_gui

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event
Vadim Zeitlin [Tue, 14 Apr 2009 14:35:20 +0000 (14:35 +0000)] 
mention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoonly run tests using multiline strings with multiline text control; document that...
Vadim Zeitlin [Tue, 14 Apr 2009 13:22:09 +0000 (13:22 +0000)] 
only run tests using multiline strings with multiline text control; document that using multiline strings doesn't work with singleline controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other...
Vadim Zeitlin [Tue, 14 Apr 2009 12:47:46 +0000 (12:47 +0000)] 
remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofailed conversion shouldn't trigger an assert
Stefan Csomor [Tue, 14 Apr 2009 07:04:41 +0000 (07:04 +0000)] 
failed conversion shouldn't trigger an assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years ago(blind) fix for VC6s' warning about non-dll base template class
Václav Slavík [Tue, 14 Apr 2009 07:02:59 +0000 (07:02 +0000)] 
(blind) fix for VC6s' warning about non-dll base template class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono test_gui present
Stefan Csomor [Tue, 14 Apr 2009 05:30:18 +0000 (05:30 +0000)] 
no test_gui present

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoeven more detailed info to debug buildslaves failures
Francesco Montorsi [Mon, 13 Apr 2009 18:34:27 +0000 (18:34 +0000)] 
even more detailed info to debug buildslaves failures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter check for conversion failure in OutputString(); use wxScopedCharBuffer::length...
Vadim Zeitlin [Mon, 13 Apr 2009 17:49:56 +0000 (17:49 +0000)] 
better check for conversion failure in OutputString(); use wxScopedCharBuffer::length() instead of strlen()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn empty string instead of NULL from mb_str()/wc_str() when conversion fails...
Vadim Zeitlin [Mon, 13 Apr 2009 17:48:11 +0000 (17:48 +0000)] 
return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosuppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible
Vadim Zeitlin [Mon, 13 Apr 2009 17:33:33 +0000 (17:33 +0000)] 
suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoprovide more info when a check for native font [user] info fails
Francesco Montorsi [Mon, 13 Apr 2009 09:03:45 +0000 (09:03 +0000)] 
provide more info when a check for native font [user] info fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix g++ warnings about initialization order mismatch after the last change
Vadim Zeitlin [Sun, 12 Apr 2009 23:43:04 +0000 (23:43 +0000)] 
fix g++ warnings about initialization order mismatch after the last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix support for using asterisks in the format string and some code cleanup
Vadim Zeitlin [Sun, 12 Apr 2009 23:37:28 +0000 (23:37 +0000)] 
fix support for using asterisks in the format string and some code cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW...
Francesco Montorsi [Sun, 12 Apr 2009 22:53:26 +0000 (22:53 +0000)] 
implement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW; remove the now useless m_family from wxGTK's wxFont implementation; better docs for many wxFont functions (don't use typeface term; use the 'face name' one instead) and wxFontFamily

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomore PCH-less build fix
Francesco Montorsi [Sun, 12 Apr 2009 22:10:21 +0000 (22:10 +0000)] 
more PCH-less build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoallow testing more font properties: light weight, slant style and font families
Francesco Montorsi [Sun, 12 Apr 2009 22:02:00 +0000 (22:02 +0000)] 
allow testing more font properties: light weight, slant style and font families

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn persistent buffers from mb_str()/wc_str() to allow assigning the returned...
Vadim Zeitlin [Sun, 12 Apr 2009 19:49:45 +0000 (19:49 +0000)] 
return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoblind PCH-less build fixes: add missing headers
Vadim Zeitlin [Sun, 12 Apr 2009 18:42:58 +0000 (18:42 +0000)] 
blind PCH-less build fixes: add missing headers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMSVC compilation fixes: don't use std{out,err} as variable names; don't reuse loop...
Vadim Zeitlin [Sun, 12 Apr 2009 18:41:51 +0000 (18:41 +0000)] 
MSVC compilation fixes: don't use std{out,err} as variable names; don't reuse loop variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobuild fix (wx doesn't use bakefile 0.2.6 yet)
Francesco Montorsi [Sun, 12 Apr 2009 16:30:47 +0000 (16:30 +0000)] 
build fix (wx doesn't use bakefile 0.2.6 yet)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono real change; just fix the argument name of the wxFont(const wxString&) ctor under...
Francesco Montorsi [Sun, 12 Apr 2009 16:06:43 +0000 (16:06 +0000)] 
no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodo not call setlocale() twice in wxLocale::IsAvailable() and in IMPLEMENT_STRTOX_L_START
Francesco Montorsi [Sun, 12 Apr 2009 15:51:43 +0000 (15:51 +0000)] 
do not call setlocale() twice in wxLocale::IsAvailable() and in IMPLEMENT_STRTOX_L_START

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agonow wxGTK is always compiled against GTK+ >= 2.4
Francesco Montorsi [Sun, 12 Apr 2009 12:43:38 +0000 (12:43 +0000)] 
now wxGTK is always compiled against GTK+ >= 2.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding the first raw version of the execution monitor
Francesco Montorsi [Sun, 12 Apr 2009 11:44:00 +0000 (11:44 +0000)] 
adding the first raw version of the execution monitor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixed wxString::utf8_str() in UTF8 build to return buffer with length
Václav Slavík [Sun, 12 Apr 2009 10:12:44 +0000 (10:12 +0000)] 
fixed wxString::utf8_str() in UTF8 build to return buffer with length

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd missing tests (closes #10692)
Vadim Zeitlin [Fri, 10 Apr 2009 22:55:08 +0000 (22:55 +0000)] 
add missing tests (closes #10692)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCatch the return type when it's inside a <ref> tag.
Kevin Ollivier [Fri, 10 Apr 2009 22:40:24 +0000 (22:40 +0000)] 
Catch the return type when it's inside a <ref> tag.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCommit script which parses the Doxygen XML output into a list of class and method...
Kevin Ollivier [Thu, 9 Apr 2009 17:31:39 +0000 (17:31 +0000)] 
Commit script which parses the Doxygen XML output into a list of class and method objects, which later can be passed for post-processing to autogenerate bindings, etc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix row/column deselection in row-or-column selection mode (it wasn't doing anything)
Vadim Zeitlin [Thu, 9 Apr 2009 09:01:02 +0000 (09:01 +0000)] 
fix row/column deselection in row-or-column selection mode (it wasn't doing anything)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd test for wxDataViewColumn::GetWidth
Robert Roebling [Tue, 7 Apr 2009 19:33:35 +0000 (19:33 +0000)] 
Add test for wxDataViewColumn::GetWidth

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded names of WM_XXXUISTATE messages to wxGetMessageName() (closes #10691)
Vadim Zeitlin [Tue, 7 Apr 2009 15:00:09 +0000 (15:00 +0000)] 
added names of WM_XXXUISTATE messages to wxGetMessageName() (closes #10691)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded assert checking the column index validity (see #10687)
Vadim Zeitlin [Tue, 7 Apr 2009 11:11:41 +0000 (11:11 +0000)] 
added assert checking the column index validity (see #10687)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense...
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

15 years agono real changes, just remove unnecessary semicolons (part of #10687)
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

15 years agodocument that a valid image list is required for item dragging under MSW (see #4390)
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

15 years agodocument wxFont(wxString) ctor
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

15 years agoreturn better fitting size from DoGetBestSize() for grids with few rows
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

15 years agono changes, just got rid of many __WXWINCE__ ifdefs
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

15 years agoadding buildbot for 2.9.0
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

15 years agocompilation fix for PCH-less build
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

15 years agoupdate from Micha³ Trzebiatowski
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

15 years agouse COLORONCOLOR stretching mode in DrawBitmap() too (see #3400)
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

15 years agoadded test for wxDC-based image scaling; updated copyright
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

15 years agopaint background by default to avoid unexpected sample appearance
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

15 years agoimprove wxTreeItemData documentation (closes #10662)
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

15 years agoimplement GetImageCount() for GIF handler (closes #10663); added test for it to the...
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

15 years agoallow reading GIFs with incorrectly specified animation size (closes #9465)
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

15 years agodefine HAVE_SSIZE_T if we define ssize_t ourselves to prevent redefinitions in other...
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

15 years agorevert r60023 and really fixed compilation problems caused by r60017 by providing...
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

15 years agocompilation fix after r60017
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

15 years agoFixes for archive tests on Windows.
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

15 years agofix the test for !wxUSE_UNICODE_UTF8 builds: don't suppose that strings are UTF-8...
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

15 years agoallow symmetric comparisons to work too in CPPUNIT_ASSERT_EQUAL (e.g. wxString==char...
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

15 years agofix VsnprintfTestCase::P() for mingw32 which may use MSVC CRT (closes #10679)
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

15 years agoadding API note
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

15 years agofix test failure on glibc systems which do not use %T; also replace CompareTimeFormat...
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

15 years agono changes, just removed unused variable
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

15 years agofix parsing of %p for locales which use periods in AM/PM strings (see #10677)
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

15 years agono changes, just fixed typo in an error message
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

15 years agofix PCH-less build after last change (closes #10678)
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

15 years agofixing unused param warning
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

15 years agofixing 64 bit value transfer
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

15 years agoadjusting DATE_TIME_FMT on OS X
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

15 years agofix the test case which wrongly relied on wxString using UTF-8 representation
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

15 years agofix the test case which wrongly relied on wxString using UTF-8 representation
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

15 years agocompilation fix: WXWIN_COMPATIBILITY_2_8 must be tested with #if, not #ifdef
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

15 years agohandle embedded NULs correctly in wxString::CmpNoCase() in all builds and not just...
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

15 years agoavoid the ugly hack with adding an empty string to m_registries to indicate that...
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

15 years agoreally fix handling of trailing periods in abbreviated month names in French locale...
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