]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoblind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes...
Vadim Zeitlin [Sat, 18 Apr 2009 12:23:51 +0000 (12:23 +0000)] 
blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714)

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

15 years agouse CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT whenever possible to see more...
Vadim Zeitlin [Sat, 18 Apr 2009 12:19:38 +0000 (12:19 +0000)] 
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT whenever possible to see more information about the test failures

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

15 years agoremoving overloads to avoid 'hidden method' warning
Stefan Csomor [Sat, 18 Apr 2009 11:10:40 +0000 (11:10 +0000)] 
removing overloads to avoid 'hidden method' warning

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

15 years agoRe-added support for property attribute wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING (lines...
Jaakko Salli [Sat, 18 Apr 2009 10:34:03 +0000 (10:34 +0000)] 
Re-added support for property attribute wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING (lines required to support it were accidentally removed at some point)

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

15 years agoQuick (temporary) fix for some spurious splitter movement
Jaakko Salli [Sat, 18 Apr 2009 10:20:18 +0000 (10:20 +0000)] 
Quick (temporary) fix for some spurious splitter movement

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

15 years agoFixed fallback font used in wxFontProperty::OnSetValue()
Jaakko Salli [Sat, 18 Apr 2009 09:56:09 +0000 (09:56 +0000)] 
Fixed fallback font used in wxFontProperty::OnSetValue()

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

15 years agoUse wxStdDialogButtonSizer in editor dialogs of wxLongStringProperty and wxArrayStrin...
Jaakko Salli [Sat, 18 Apr 2009 09:43:18 +0000 (09:43 +0000)] 
Use wxStdDialogButtonSizer in editor dialogs of wxLongStringProperty and wxArrayStringProperty

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

15 years agoblind wxOS2 build fix
Francesco Montorsi [Sat, 18 Apr 2009 08:08:56 +0000 (08:08 +0000)] 
blind wxOS2 build fix

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

15 years agowrong override params
Stefan Csomor [Fri, 17 Apr 2009 18:25:40 +0000 (18:25 +0000)] 
wrong override params

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

15 years agoDon't attempt to do measuring when the window hasn't been created fully yet
Julian Smart [Fri, 17 Apr 2009 16:12:00 +0000 (16:12 +0000)] 
Don't attempt to do measuring when the window hasn't been created fully yet

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

15 years agouse "ul" suffix instead of cast to unsigned long; this is not only shorter but also...
Vadim Zeitlin [Fri, 17 Apr 2009 13:06:27 +0000 (13:06 +0000)] 
use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90

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

15 years agoreally fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212
Vadim Zeitlin [Fri, 17 Apr 2009 00:35:58 +0000 (00:35 +0000)] 
really fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212

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

15 years agocompilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
Vadim Zeitlin [Thu, 16 Apr 2009 22:41:52 +0000 (22:41 +0000)] 
compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212

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

15 years agoadded failing compilation test for the case of missing handler in Bind() call
Vadim Zeitlin [Thu, 16 Apr 2009 21:33:37 +0000 (21:33 +0000)] 
added failing compilation test for the case of missing handler in Bind() call

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

15 years agoremove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass...
Vadim Zeitlin [Thu, 16 Apr 2009 21:23:28 +0000 (21:23 +0000)] 
remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass::method)" to compile

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

15 years agowxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CL...
Jaakko Salli [Thu, 16 Apr 2009 19:28:39 +0000 (19:28 +0000)] 
wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties (closes #10690)

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

15 years agoRemoved unneeded includes
Jaakko Salli [Thu, 16 Apr 2009 18:21:10 +0000 (18:21 +0000)] 
Removed unneeded includes

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

15 years agoadd Bind() test
Vadim Zeitlin [Thu, 16 Apr 2009 16:34:35 +0000 (16:34 +0000)] 
add Bind() test

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

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