wxWidgets.git
15 years agoMake wxWrapSizer respect border around items
Robert Roebling [Thu, 8 Jan 2009 11:20:43 +0000 (11:20 +0000)] 
Make wxWrapSizer respect border around items

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

15 years agoInsert missing include file
Jouk Jansen [Thu, 8 Jan 2009 11:13:19 +0000 (11:13 +0000)] 
Insert missing include file

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

15 years agoOverride mouse wheel scrolling steps from GTK and make the default 3 steps, also...
Robert Roebling [Thu, 8 Jan 2009 10:46:18 +0000 (10:46 +0000)] 
Override mouse wheel scrolling steps from GTK and make the default 3 steps, also catch mouse wheel when over scrollbars

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Wed, 7 Jan 2009 22:02:50 +0000 (22:02 +0000)] 
Update OpenVMS compile support

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

15 years agoinsert missing include file for OpenVMS platforms
Jouk Jansen [Wed, 7 Jan 2009 20:37:16 +0000 (20:37 +0000)] 
insert missing include file for OpenVMS platforms

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

15 years agoinsert missing iclude file
Jouk Jansen [Wed, 7 Jan 2009 19:50:26 +0000 (19:50 +0000)] 
insert missing iclude file

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

15 years agoUpdated 'Car' test to match a recent change in the sample
Jaakko Salli [Wed, 7 Jan 2009 19:00:16 +0000 (19:00 +0000)] 
Updated 'Car' test to match a recent change in the sample

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

15 years agoAdded wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropert...
Jaakko Salli [Wed, 7 Jan 2009 18:53:09 +0000 (18:53 +0000)] 
Added wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropertyGridInterface; default sorting is now case-insensitive

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

15 years agoremove an unused pool of strings using wxStringList
Francesco Montorsi [Wed, 7 Jan 2009 18:13:06 +0000 (18:13 +0000)] 
remove an unused pool of strings using wxStringList

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

15 years agodocument wxConvertFromIeeeExtended and wxConvertToIeeeExtended
Francesco Montorsi [Wed, 7 Jan 2009 17:56:52 +0000 (17:56 +0000)] 
document wxConvertFromIeeeExtended and wxConvertToIeeeExtended

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

15 years agoremove old (and unused) MSW-only wxFontEnumerator header
Francesco Montorsi [Wed, 7 Jan 2009 17:42:21 +0000 (17:42 +0000)] 
remove old (and unused) MSW-only wxFontEnumerator header

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

15 years agouse wxArrayString instead of wxStringList
Francesco Montorsi [Wed, 7 Jan 2009 17:29:38 +0000 (17:29 +0000)] 
use wxArrayString instead of wxStringList

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

15 years agofix wxMotif errors when linking against a wxControlWithItems-derived widget
Francesco Montorsi [Wed, 7 Jan 2009 17:29:10 +0000 (17:29 +0000)] 
fix wxMotif errors when linking against a wxControlWithItems-derived widget

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

15 years agobuild fix for GTK+ 2.12 and earlier
Paul Cornett [Wed, 7 Jan 2009 16:59:00 +0000 (16:59 +0000)] 
build fix for GTK+ 2.12 and earlier

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

15 years agoAlways use live sash update on Mac since it can't paint the splitter
Julian Smart [Wed, 7 Jan 2009 15:58:24 +0000 (15:58 +0000)] 
Always use live sash update on Mac since it can't paint the splitter

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

15 years agoAdded wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxOSX
Julian Smart [Wed, 7 Jan 2009 14:45:27 +0000 (14:45 +0000)] 
Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxOSX

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

15 years agoMYcopystring is not required anymore when compat2.8 is off
Francesco Montorsi [Wed, 7 Jan 2009 14:17:44 +0000 (14:17 +0000)] 
MYcopystring is not required anymore when compat2.8 is off

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

15 years agofix wxSplitPath usage
Francesco Montorsi [Wed, 7 Jan 2009 13:24:23 +0000 (13:24 +0000)] 
fix wxSplitPath usage

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

15 years agoFixed assert caused by incorrect number of flex grid sizer rows
Julian Smart [Wed, 7 Jan 2009 11:44:43 +0000 (11:44 +0000)] 
Fixed assert caused by incorrect number of flex grid sizer rows

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

15 years agofix wxYield[IfNeeded] dll linkage (closes #10325)
Francesco Montorsi [Wed, 7 Jan 2009 11:28:50 +0000 (11:28 +0000)] 
fix wxYield[IfNeeded] dll linkage (closes #10325)

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

15 years agofix include file
Francesco Montorsi [Wed, 7 Jan 2009 11:11:10 +0000 (11:11 +0000)] 
fix include file

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

15 years agoAdded missing includes
Julian Smart [Wed, 7 Jan 2009 08:51:47 +0000 (08:51 +0000)] 
Added missing includes

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

15 years agoAdded missing include
Julian Smart [Wed, 7 Jan 2009 08:49:48 +0000 (08:49 +0000)] 
Added missing include

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

15 years agodo minimal invalidations to get border to redraw properly
Paul Cornett [Wed, 7 Jan 2009 05:26:25 +0000 (05:26 +0000)] 
do minimal invalidations to get border to redraw properly

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

15 years agos/wxSplitPath/wxFileName::SplitPath
Francesco Montorsi [Wed, 7 Jan 2009 01:47:47 +0000 (01:47 +0000)] 
s/wxSplitPath/wxFileName::SplitPath

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

15 years agodeprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName...
Francesco Montorsi [Wed, 7 Jan 2009 01:29:54 +0000 (01:29 +0000)] 
deprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName, wxExpandPath, wxContractPath, wxRealPath, wxCopyAbsolutePath, wxSplitPath and provide deprecation description in the docs (for the documented functions) or directly in the header (for undocumented functions)

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

15 years agos/wxGetTempFileName/wxFileName::CreateTempFileName
Francesco Montorsi [Wed, 7 Jan 2009 01:08:02 +0000 (01:08 +0000)] 
s/wxGetTempFileName/wxFileName::CreateTempFileName

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

15 years agouse wxFileName instead of ::wxStripExtension
Francesco Montorsi [Wed, 7 Jan 2009 01:04:01 +0000 (01:04 +0000)] 
use wxFileName instead of ::wxStripExtension

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

15 years agos/wxGetTempFileName/wxFileName::CreateTempFileName
Francesco Montorsi [Wed, 7 Jan 2009 01:01:35 +0000 (01:01 +0000)] 
s/wxGetTempFileName/wxFileName::CreateTempFileName

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

15 years agofix doxygen warning about XHTML syntax
Francesco Montorsi [Wed, 7 Jan 2009 00:41:31 +0000 (00:41 +0000)] 
fix doxygen warning about XHTML syntax

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

15 years agorewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeD...
Francesco Montorsi [Wed, 7 Jan 2009 00:38:46 +0000 (00:38 +0000)] 
rewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeDir; add test units and docs for them

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

15 years agobetter docs for wxPathNormalize
Francesco Montorsi [Wed, 7 Jan 2009 00:17:10 +0000 (00:17 +0000)] 
better docs for wxPathNormalize

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

15 years agowx is not a compiler, it doesn't need AC_CANONICAL_TARGET
Václav Slavík [Tue, 6 Jan 2009 22:28:16 +0000 (22:28 +0000)] 
wx is not a compiler, it doesn't need AC_CANONICAL_TARGET

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

15 years agoFixed wxTreeCtrl docs link.
Bryan Petty [Tue, 6 Jan 2009 21:58:39 +0000 (21:58 +0000)] 
Fixed wxTreeCtrl docs link.

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

15 years agouse WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even...
Francesco Montorsi [Tue, 6 Jan 2009 20:25:31 +0000 (20:25 +0000)] 
use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even if it was deprecated since wx2.6

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

15 years agoSwitched @NULL back to (the appropriate) @NUL and added NUL command to Doxygen.
Bryan Petty [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)] 
Switched @NULL back to (the appropriate) @NUL and added NUL command to Doxygen.

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

15 years agoremove link to the old HTML manual
Francesco Montorsi [Tue, 6 Jan 2009 16:07:25 +0000 (16:07 +0000)] 
remove link to the old HTML manual

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

15 years agoremove f.html and fft.html; they're old and unlinked from other test HTML pages
Francesco Montorsi [Tue, 6 Jan 2009 16:04:22 +0000 (16:04 +0000)] 
remove f.html and fft.html; they're old and unlinked from other test HTML pages

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

15 years agoadd #if WXWIN_COMPATIBILITY_2_6 around wxUsleep
Francesco Montorsi [Tue, 6 Jan 2009 13:59:47 +0000 (13:59 +0000)] 
add #if WXWIN_COMPATIBILITY_2_6 around wxUsleep

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

15 years agoadd the @appearance tag to wxFileCtrl
Francesco Montorsi [Tue, 6 Jan 2009 13:52:15 +0000 (13:52 +0000)] 
add the @appearance tag to wxFileCtrl

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

15 years agoadd WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declara...
Francesco Montorsi [Tue, 6 Jan 2009 12:56:07 +0000 (12:56 +0000)] 
add WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declaration out of the 'Miscellaneous functions' block

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

15 years agoFixed a couple Doxygen warnings, patch from Tim Stahlhut.
Bryan Petty [Tue, 6 Jan 2009 08:11:05 +0000 (08:11 +0000)] 
Fixed a couple Doxygen warnings, patch from Tim Stahlhut.

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

15 years agoReplaced @ingroup with @addtogroup for all global func/macros for use with Doxygen...
Bryan Petty [Mon, 5 Jan 2009 20:48:06 +0000 (20:48 +0000)] 
Replaced @ingroup with @addtogroup for all global func/macros for use with Doxygen 1.5.7+.

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

15 years agoCommitting Doxygen 1.5.7+ configuration changes as Francesco has found a fix for...
Bryan Petty [Mon, 5 Jan 2009 19:34:59 +0000 (19:34 +0000)] 
Committing Doxygen 1.5.7+ configuration changes as Francesco has found a fix for our show-stopper for this. Said fix will be done in next commit.

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

15 years agoonly formatting changes. s/FALSE/false and s/TRUE/true; remove excessive empty lines...
Francesco Montorsi [Mon, 5 Jan 2009 19:12:41 +0000 (19:12 +0000)] 
only formatting changes. s/FALSE/false and s/TRUE/true; remove excessive empty lines; remove TABs; s/ ;/;

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

15 years agouse doxygen autolink for global enumerations
Francesco Montorsi [Mon, 5 Jan 2009 18:24:05 +0000 (18:24 +0000)] 
use doxygen autolink for global enumerations

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

15 years agofix crash because of a missing wxOK constant
Francesco Montorsi [Mon, 5 Jan 2009 16:15:09 +0000 (16:15 +0000)] 
fix crash because of a missing wxOK constant

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

15 years agouse GetCopyrightToDisplay instead of GetCopyright; part of commit 57245
Francesco Montorsi [Mon, 5 Jan 2009 15:20:44 +0000 (15:20 +0000)] 
use GetCopyrightToDisplay instead of GetCopyright; part of commit 57245

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

15 years agoadd a custom printer for wxString to use with Python-enabled gdb
Vadim Zeitlin [Sun, 4 Jan 2009 21:15:19 +0000 (21:15 +0000)] 
add a custom printer for wxString to use with Python-enabled gdb

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

15 years agoFixes in wxPGProperty::StringToValue(): Prevent it-- from iterating into negative...
Jaakko Salli [Sun, 4 Jan 2009 19:05:44 +0000 (19:05 +0000)] 
Fixes in wxPGProperty::StringToValue(): Prevent it-- from iterating into negative index; only really mark/add nested children as changed if child's StringToValue() returned true

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

15 years agoIn wxPGProperty::StringToValue(), variant.SetName() really has to be called after...
Jaakko Salli [Sun, 4 Jan 2009 18:39:23 +0000 (18:39 +0000)] 
In wxPGProperty::StringToValue(), variant.SetName() really has to be called after child->StringToValue() has been called

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

15 years agoAdded bool property to the nested car sample (for testing purposes)
Jaakko Salli [Sun, 4 Jan 2009 18:38:00 +0000 (18:38 +0000)] 
Added bool property to the nested car sample (for testing purposes)

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

15 years agoabstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
Vadim Zeitlin [Sun, 4 Jan 2009 16:04:22 +0000 (16:04 +0000)] 
abstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro

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

15 years agodon't use \u in strings, VC6 doesn't support this
Vadim Zeitlin [Sun, 4 Jan 2009 15:53:09 +0000 (15:53 +0000)] 
don't use \u in strings, VC6 doesn't support this

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

15 years agouse correct type for file offset
Vadim Zeitlin [Sun, 4 Jan 2009 15:49:24 +0000 (15:49 +0000)] 
use correct type for file offset

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

15 years agoneed to overload assertEquals(int,short) too to resolve ambiguity
Vadim Zeitlin [Sun, 4 Jan 2009 12:32:26 +0000 (12:32 +0000)] 
need to overload assertEquals(int,short) too to resolve ambiguity

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

15 years agomore attempts to fix CppUnit::assertEquals for VC6 without breaking everything else
Vadim Zeitlin [Sun, 4 Jan 2009 11:59:11 +0000 (11:59 +0000)] 
more attempts to fix CppUnit::assertEquals for VC6 without breaking everything else

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

15 years agoSignificant check box editor refactoring, including fix to UpdateControl() not doing...
Jaakko Salli [Sun, 4 Jan 2009 10:38:58 +0000 (10:38 +0000)] 
Significant check box editor refactoring, including fix to UpdateControl() not doing its job correctly if property value was unspecified. Also, unspecified value is now drawn as a faint rectangle

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

15 years agoAdded extra RefreshEditor() call for better testing
Jaakko Salli [Sun, 4 Jan 2009 10:37:22 +0000 (10:37 +0000)] 
Added extra RefreshEditor() call for better testing

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

15 years agobuild fix for GTK+ versions prior to 2.14
Paul Cornett [Sun, 4 Jan 2009 05:56:07 +0000 (05:56 +0000)] 
build fix for GTK+ versions prior to 2.14

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

15 years agoproperly handle DC origin and scale in wxDoFloodFill()
Paul Cornett [Sun, 4 Jan 2009 02:59:09 +0000 (02:59 +0000)] 
properly handle DC origin and scale in wxDoFloodFill()

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

15 years agonative implementation of DoGetPixel()
Paul Cornett [Sun, 4 Jan 2009 02:58:52 +0000 (02:58 +0000)] 
native implementation of DoGetPixel()

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

15 years agoremove Rescale(), it is no longer used
Paul Cornett [Sun, 4 Jan 2009 02:42:03 +0000 (02:42 +0000)] 
remove Rescale(), it is no longer used

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

15 years agoComplete rewrite of DoDrawBitmap() and DoBlit().
Paul Cornett [Sun, 4 Jan 2009 02:40:11 +0000 (02:40 +0000)] 
Complete rewrite of DoDrawBitmap() and DoBlit().
Blit should now correctly handle all combinations of scaling, clipping, and mask.

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

15 years agoallow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
Vadim Zeitlin [Sun, 4 Jan 2009 00:47:10 +0000 (00:47 +0000)] 
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too

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

15 years agotrying to fix buildbot VC6 build error
Vadim Zeitlin [Sat, 3 Jan 2009 19:29:46 +0000 (19:29 +0000)] 
trying to fix buildbot VC6 build error

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

15 years agodon't use IPC from timer callback as this results in reentrancies in socket code...
Vadim Zeitlin [Sat, 3 Jan 2009 02:21:12 +0000 (02:21 +0000)] 
don't use IPC from timer callback as this results in reentrancies in socket code, postpone it until the next idle handler call instead

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

15 years agorestore code preventing the events being generated from inside our own DoRead/Write...
Vadim Zeitlin [Sat, 3 Jan 2009 02:20:25 +0000 (02:20 +0000)] 
restore code preventing the events being generated from inside our own DoRead/Write() mistakenly removed in r57796

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

15 years agoadded wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop...
Vadim Zeitlin [Sat, 3 Jan 2009 01:21:24 +0000 (01:21 +0000)] 
added wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop::Pending() using it to fix the pending events processing in console event loop based programs; also changed wxFDIODispatcher::Dispatch() return type/value to be able to indicate the errors

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

15 years agoUpdated translations manual page with latest status given by the website translations...
Bryan Petty [Sat, 3 Jan 2009 01:17:36 +0000 (01:17 +0000)] 
Updated translations manual page with latest status given by the website translations page (which should be completely up-to-date).

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

15 years agoproperly restart epoll_wait() if it got interrupted by a signal
Vadim Zeitlin [Sat, 3 Jan 2009 00:11:28 +0000 (00:11 +0000)] 
properly restart epoll_wait() if it got interrupted by a signal

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

15 years agocall ProcessPendingEvents() from wxAppConsoleBase::ProcessIdle() too, not only from...
Vadim Zeitlin [Fri, 2 Jan 2009 22:18:10 +0000 (22:18 +0000)] 
call ProcessPendingEvents() from wxAppConsoleBase::ProcessIdle() too, not only from wxAppBase::ProcessIdle(); do not call it from wxConsoleEventLoop::Dispatch() as this results in unwanted reentrancies in the socket code when using it

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

15 years agostreamline handling of wxSOCKET_LOST in DoWait()
Vadim Zeitlin [Fri, 2 Jan 2009 22:07:45 +0000 (22:07 +0000)] 
streamline handling of wxSOCKET_LOST in DoWait()

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

15 years agono changes, just reformat/indent consistently
Vadim Zeitlin [Fri, 2 Jan 2009 21:58:09 +0000 (21:58 +0000)] 
no changes, just reformat/indent consistently

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

15 years agodisable the events when we get a notification about socket being ready for IO and...
Vadim Zeitlin [Fri, 2 Jan 2009 21:53:30 +0000 (21:53 +0000)] 
disable the events when we get a notification about socket being ready for IO and reenable them later after performing the IO in the Unix version to avoid continuous flood of ready notifications

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

15 years agofix GCC warning "suggest explicit braces..."
Paul Cornett [Fri, 2 Jan 2009 18:10:10 +0000 (18:10 +0000)] 
fix GCC warning "suggest explicit braces..."

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

15 years agouse guard classes automatically restoring the old state in their dtor instead of...
Vadim Zeitlin [Fri, 2 Jan 2009 17:34:16 +0000 (17:34 +0000)] 
use guard classes automatically restoring the old state in their dtor instead of manually changing wxSocketBase::m_reading/writing/flags

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

15 years agofix header dependancy
Paul Cornett [Fri, 2 Jan 2009 17:29:32 +0000 (17:29 +0000)] 
fix header dependancy

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

15 years agorename wxSocketSelectManager to wxSocketFDIOManager, the old name was confusing as...
Vadim Zeitlin [Fri, 2 Jan 2009 16:59:23 +0000 (16:59 +0000)] 
rename wxSocketSelectManager to wxSocketFDIOManager, the old name was confusing as it could be either select()- or epoll()-based

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

15 years agofix WaitForXXX() to work as before: if the socket is already ready for reading/writin...
Vadim Zeitlin [Fri, 2 Jan 2009 01:00:40 +0000 (01:00 +0000)] 
fix WaitForXXX() to work as before: if the socket is already ready for reading/writing they should return immediately

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

15 years agoshow the string received from client in test 2 correctly; use TestLogger just as...
Vadim Zeitlin [Fri, 2 Jan 2009 00:59:20 +0000 (00:59 +0000)] 
show the string received from client in test 2 correctly; use TestLogger just as in the client; use wxCharBuffer instead of manual new/delete

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

15 years agoadd accelerators for the other menu commands; plug memory leak in OnTest3(); use...
Vadim Zeitlin [Fri, 2 Jan 2009 00:44:32 +0000 (00:44 +0000)] 
add accelerators for the other menu commands; plug memory leak in OnTest3(); use wxCharBuffer instead of manual new/delete to avoid leaks in the future

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

15 years agodon't call DoWrite() if we have nothing to send (not nothing to receive)
Vadim Zeitlin [Fri, 2 Jan 2009 00:04:55 +0000 (00:04 +0000)] 
don't call DoWrite() if we have nothing to send (not nothing to receive)

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

15 years agofix a bug in EventWorker::DoRead(): if both signature and the size of the incoming...
Vadim Zeitlin [Thu, 1 Jan 2009 23:56:52 +0000 (23:56 +0000)] 
fix a bug in EventWorker::DoRead(): if both signature and the size of the incoming data were not received during the same read, the signature byte was lost and overwritten by size during the next read

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

15 years agoLogWorker() was always called with m_peer as first argument so make it a member funct...
Vadim Zeitlin [Thu, 1 Jan 2009 23:53:51 +0000 (23:53 +0000)] 
LogWorker() was always called with m_peer as first argument so make it a member function to avoid having to pass it all the time to it

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

15 years agono changes, just reformat and avoid unnecessary uses of wxString::Format()
Vadim Zeitlin [Thu, 1 Jan 2009 23:49:07 +0000 (23:49 +0000)] 
no changes, just reformat and avoid unnecessary uses of wxString::Format()

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

15 years agoalso add wxSizer::IsEmpty()
Vadim Zeitlin [Thu, 1 Jan 2009 23:25:37 +0000 (23:25 +0000)] 
also add wxSizer::IsEmpty()

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

15 years agomake the new GetItemCount() const
Vadim Zeitlin [Thu, 1 Jan 2009 23:23:54 +0000 (23:23 +0000)] 
make the new GetItemCount() const

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

15 years agoAdded wxSizer::GetItemCount()
Robert Roebling [Thu, 1 Jan 2009 22:05:29 +0000 (22:05 +0000)] 
Added wxSizer::GetItemCount()

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

15 years agoCorrect wx-config's output of base libs for OSX ports (don't include the _carbon...
Robert Roebling [Thu, 1 Jan 2009 22:04:17 +0000 (22:04 +0000)] 
Correct wx-config's output of base libs for OSX ports (don't include the _carbon/_cocoa)

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

15 years agoVC6 doesn't support using keyword (closes #10322)
Vadim Zeitlin [Thu, 1 Jan 2009 17:08:41 +0000 (17:08 +0000)] 
VC6 doesn't support using keyword (closes #10322)

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

15 years agoupdate copyright year to 2009 (closes #10319)
Vadim Zeitlin [Thu, 1 Jan 2009 15:18:40 +0000 (15:18 +0000)] 
update copyright year to 2009 (closes #10319)

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

15 years agoVC6 compilation fix after r57689 (closes #10318)
Vadim Zeitlin [Thu, 1 Jan 2009 15:17:05 +0000 (15:17 +0000)] 
VC6 compilation fix after r57689 (closes #10318)

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

15 years agoreplace dynamic_cast<> with wxDynamicCast
Francesco Montorsi [Wed, 31 Dec 2008 18:52:32 +0000 (18:52 +0000)] 
replace dynamic_cast<> with wxDynamicCast

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

15 years agoremove tabs added by error in previous commit
Francesco Montorsi [Wed, 31 Dec 2008 17:31:32 +0000 (17:31 +0000)] 
remove tabs added by error in previous commit

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

15 years agoFix for OS X Cocoa build.
Kevin Ollivier [Wed, 31 Dec 2008 17:17:20 +0000 (17:17 +0000)] 
Fix for OS X Cocoa build.

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

15 years agoallow the user to pass NULL for the status widths; this was a feature supported by...
Francesco Montorsi [Wed, 31 Dec 2008 17:07:30 +0000 (17:07 +0000)] 
allow the user to pass NULL for the status widths; this was a feature supported by generic and MSW status bar but was not documented; document it; add menu item in the statbar sample for testing it

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

15 years agocompilation fix after last change
Vadim Zeitlin [Wed, 31 Dec 2008 15:27:00 +0000 (15:27 +0000)] 
compilation fix after last change

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

15 years agocustomize the rearrange dialog even more
Vadim Zeitlin [Wed, 31 Dec 2008 14:39:38 +0000 (14:39 +0000)] 
customize the rearrange dialog even more

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

15 years agomake wxRearrangeDialog more customizable and add an example of customizing it to...
Vadim Zeitlin [Wed, 31 Dec 2008 14:26:52 +0000 (14:26 +0000)] 
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample

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