wxWidgets.git
15 years agodisable warnings about unused parameters in CppUnit headers
Vadim Zeitlin [Sat, 6 Jun 2009 23:22:37 +0000 (23:22 +0000)] 
disable warnings about unused parameters in CppUnit headers

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

15 years agouse _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:20:12 +0000 (23:20 +0000)] 
use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC

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

15 years agouse _fileno() instead of fileno() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:18:52 +0000 (23:18 +0000)] 
use _fileno() instead of fileno() with VC

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

15 years agouse _unlink() instead of unlink() with VC
Vadim Zeitlin [Sat, 6 Jun 2009 23:17:34 +0000 (23:17 +0000)] 
use _unlink() instead of unlink() with VC

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

15 years agorename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name...
Vadim Zeitlin [Sat, 6 Jun 2009 23:16:27 +0000 (23:16 +0000)] 
rename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name defined in Windows headers

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

15 years agofix warnings about using signed values for chars and strdup() from VC9
Vadim Zeitlin [Sat, 6 Jun 2009 23:14:30 +0000 (23:14 +0000)] 
fix warnings about using signed values for chars and strdup() from VC9

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

15 years agofix unused parameter warning
Vadim Zeitlin [Sat, 6 Jun 2009 23:13:03 +0000 (23:13 +0000)] 
fix unused parameter warning

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

15 years agodefine _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functi...
Vadim Zeitlin [Sat, 6 Jun 2009 23:10:19 +0000 (23:10 +0000)] 
define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+

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

15 years agowork around (harmless) warnings in VC7 release build
Vadim Zeitlin [Sat, 6 Jun 2009 23:04:50 +0000 (23:04 +0000)] 
work around (harmless) warnings in VC7 release build

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

15 years agomake wxTreeCtrl::SelectItem(false) work in single selection controls under MSW (fixin...
Vadim Zeitlin [Sat, 6 Jun 2009 22:56:57 +0000 (22:56 +0000)] 
make wxTreeCtrl::SelectItem(false) work in single selection controls under MSW (fixing the recently added unit test); also set the previously selected item in the selection changing/changed messages

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

15 years agomore corrections from Y. KABA.
Vadim Zeitlin [Sat, 6 Jun 2009 22:26:31 +0000 (22:26 +0000)] 
more corrections from Y. KABA.

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

15 years agocorrect msgfmt warnings after last commit
Vadim Zeitlin [Sat, 6 Jun 2009 17:38:31 +0000 (17:38 +0000)] 
correct msgfmt warnings after last commit

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

15 years agoJapanese translations update from Y. KABA.
Vadim Zeitlin [Sat, 6 Jun 2009 17:31:14 +0000 (17:31 +0000)] 
Japanese translations update from Y. KABA.

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

15 years agosimplify code by removing workaround not needed any longer after fix of r60910 (see...
Vadim Zeitlin [Sat, 6 Jun 2009 17:27:29 +0000 (17:27 +0000)] 
simplify code by removing workaround not needed any longer after fix of r60910 (see #10830)

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

15 years agoAdded wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by...
Jaakko Salli [Sat, 6 Jun 2009 15:28:40 +0000 (15:28 +0000)] 
Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property

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

15 years agoAdded better asserts, helps with debugging strange wxVariant issues
Jaakko Salli [Sat, 6 Jun 2009 15:27:55 +0000 (15:27 +0000)] 
Added better asserts, helps with debugging strange wxVariant issues

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

15 years agofix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item...
Vadim Zeitlin [Sat, 6 Jun 2009 14:15:06 +0000 (14:15 +0000)] 
fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830)

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

15 years agoadded multiple selections support to wxDirCtrl (closes #10830)
Vadim Zeitlin [Sat, 6 Jun 2009 14:00:51 +0000 (14:00 +0000)] 
added multiple selections support to wxDirCtrl (closes #10830)

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

15 years agocompilation fixes for OS X Cocoa build
Vadim Zeitlin [Sat, 6 Jun 2009 12:25:04 +0000 (12:25 +0000)] 
compilation fixes for OS X Cocoa build

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

15 years agodocument effect of loading an icon bundle on stream position
Vadim Zeitlin [Sat, 6 Jun 2009 12:09:30 +0000 (12:09 +0000)] 
document effect of loading an icon bundle on stream position

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

15 years agoexport wxStatusBarPaneArray from the DLL to fix Borland multilib build
Vadim Zeitlin [Sat, 6 Jun 2009 12:01:46 +0000 (12:01 +0000)] 
export wxStatusBarPaneArray from the DLL to fix Borland multilib build

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

15 years agoavoiding events during destruction, fixes #10855
Stefan Csomor [Fri, 5 Jun 2009 21:08:08 +0000 (21:08 +0000)] 
avoiding events during destruction, fixes #10855

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

15 years agocompilation fixes for g++ 3.2 (closes #10875)
Vadim Zeitlin [Fri, 5 Jun 2009 08:54:48 +0000 (08:54 +0000)] 
compilation fixes for g++ 3.2 (closes #10875)

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

15 years agoadded wxEditbaleListBox XRC handler
Vadim Zeitlin [Thu, 4 Jun 2009 23:41:51 +0000 (23:41 +0000)] 
added wxEditbaleListBox XRC handler

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

15 years agocorrect the fix for avoiding the integer multiplication overflow to really work
Vadim Zeitlin [Thu, 4 Jun 2009 22:28:48 +0000 (22:28 +0000)] 
correct the fix for avoiding the integer multiplication overflow to really work

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

15 years agouse wxAutoBufferedPaintDC to avoid needlessly double buffering under platforms which...
Vadim Zeitlin [Thu, 4 Jun 2009 22:27:02 +0000 (22:27 +0000)] 
use wxAutoBufferedPaintDC to avoid needlessly double buffering under platforms which already do this natively (closes #10869)

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

15 years agoaccount properly for the menu in SetShape() (closes #10870)
Vadim Zeitlin [Thu, 4 Jun 2009 22:24:13 +0000 (22:24 +0000)] 
account properly for the menu in SetShape() (closes #10870)

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

15 years agovalue of wrap parameter of wxStaticText must be specified in pixels, not characters
Vadim Zeitlin [Thu, 4 Jun 2009 12:17:34 +0000 (12:17 +0000)] 
value of wrap parameter of wxStaticText must be specified in pixels, not characters

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

15 years agopostpone the call to CopyAttributes() until the DC is fully initialized (closes ...
Vadim Zeitlin [Thu, 4 Jun 2009 08:55:44 +0000 (08:55 +0000)] 
postpone the call to CopyAttributes() until the DC is fully initialized (closes #10867)

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

15 years agoremoved assert checking that bit depth is 8 or 16 as the code appears to work correct...
Vadim Zeitlin [Thu, 4 Jun 2009 08:23:32 +0000 (08:23 +0000)] 
removed assert checking that bit depth is 8 or 16 as the code appears to work correctly for 1, 2 and4 bit depths as well (closes #10840)

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

15 years agoUse live update for splitter on Mac since Leopard seems even more susceptible to...
Julian Smart [Thu, 4 Jun 2009 08:01:58 +0000 (08:01 +0000)] 
Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes

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

15 years agoavoid overdrawing, fixes #10865
Stefan Csomor [Thu, 4 Jun 2009 04:25:39 +0000 (04:25 +0000)] 
avoid overdrawing, fixes #10865

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

15 years agouse wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL...
Vadim Zeitlin [Wed, 3 Jun 2009 22:33:32 +0000 (22:33 +0000)] 
use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL

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

15 years agodon't fix the columns number to 1 by default in ctors (closes #10863)
Vadim Zeitlin [Wed, 3 Jun 2009 22:28:26 +0000 (22:28 +0000)] 
don't fix the columns number to 1 by default in ctors (closes #10863)

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

15 years agowork around g++ 4.3 warning about possibly ambiguous else
Vadim Zeitlin [Wed, 3 Jun 2009 22:19:13 +0000 (22:19 +0000)] 
work around g++ 4.3 warning about possibly ambiguous else

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

15 years agofix wxIconBundle creation from multiimage files broken by r60852
Vadim Zeitlin [Tue, 2 Jun 2009 16:22:49 +0000 (16:22 +0000)] 
fix wxIconBundle creation from multiimage files broken by r60852

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

15 years agoMake this header SWIG-safe
Jaakko Salli [Tue, 2 Jun 2009 14:16:20 +0000 (14:16 +0000)] 
Make this header SWIG-safe

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

15 years agocheck for integer overflow which could result in buffer overrun when loading an inval...
Vadim Zeitlin [Tue, 2 Jun 2009 13:51:26 +0000 (13:51 +0000)] 
check for integer overflow which could result in buffer overrun when loading an invalid TIFF file

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

15 years agodon't free() the same pointer twice if an error occurs during lines pointers allocation
Vadim Zeitlin [Tue, 2 Jun 2009 13:50:30 +0000 (13:50 +0000)] 
don't free() the same pointer twice if an error occurs during lines pointers allocation

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

15 years agoadded wxUINTn_MAX constants; document them together with the existing wxINTn_MIN...
Vadim Zeitlin [Tue, 2 Jun 2009 13:43:32 +0000 (13:43 +0000)] 
added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones

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

15 years agoadd wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions...
Francesco Montorsi [Tue, 2 Jun 2009 13:01:41 +0000 (13:01 +0000)] 
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions

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

15 years agoadd wxProgressDialog::SetRange() function
Francesco Montorsi [Mon, 1 Jun 2009 23:19:25 +0000 (23:19 +0000)] 
add wxProgressDialog::SetRange() function

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

15 years agono change: fix a couple typos
Francesco Montorsi [Mon, 1 Jun 2009 23:05:37 +0000 (23:05 +0000)] 
no change: fix a couple typos

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

15 years agodo not show the timestamp column in the details pane of the wxLogDialog when timestam...
Francesco Montorsi [Mon, 1 Jun 2009 23:01:47 +0000 (23:01 +0000)] 
do not show the timestamp column in the details pane of the wxLogDialog when timestamping has been disabled

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

15 years agocorrect Borland #pragma hdrstop position
Vadim Zeitlin [Mon, 1 Jun 2009 20:54:03 +0000 (20:54 +0000)] 
correct Borland #pragma hdrstop position

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

15 years agonon-PCH compilo
Robert Roebling [Mon, 1 Jun 2009 15:26:24 +0000 (15:26 +0000)] 
non-PCH compilo

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

15 years agoCompilo.
Robert Roebling [Mon, 1 Jun 2009 15:15:27 +0000 (15:15 +0000)] 
Compilo.

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

15 years agouse a smaller timeout value to avoid blocking buildslaves for 10minutes
Francesco Montorsi [Mon, 1 Jun 2009 14:55:22 +0000 (14:55 +0000)] 
use a smaller timeout value to avoid blocking buildslaves for 10minutes

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

15 years agominor change: differentiate the initial banner of test.exe from test_gui.exe
Francesco Montorsi [Mon, 1 Jun 2009 14:46:44 +0000 (14:46 +0000)] 
minor change: differentiate the initial banner of test.exe from test_gui.exe

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

15 years agoadd check about network connectivity; don't run the test if it's not available
Francesco Montorsi [Mon, 1 Jun 2009 14:45:26 +0000 (14:45 +0000)] 
add check about network connectivity; don't run the test if it's not available

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

15 years agoCloses #10495: wxDataViewCtrl needs a way to start the label editor programmatically...
Robert Roebling [Mon, 1 Jun 2009 13:57:38 +0000 (13:57 +0000)] 
Closes #10495: wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event

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

15 years agofix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than...
Francesco Montorsi [Mon, 1 Jun 2009 13:56:41 +0000 (13:56 +0000)] 
fix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than directly SeekO/I or TellO/I; in wxICOHandler only call SeekI() if we have a non-null seek offset

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

15 years agocorrected wrong type of posErr parameter (closes #10862)
Vadim Zeitlin [Mon, 1 Jun 2009 13:04:26 +0000 (13:04 +0000)] 
corrected wrong type of posErr parameter (closes #10862)

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

15 years agofix PCH-less build
Francesco Montorsi [Mon, 1 Jun 2009 12:40:50 +0000 (12:40 +0000)] 
fix PCH-less build

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

15 years agoadd wxImage test units to test loading from both seekable and non-seekable streams
Francesco Montorsi [Mon, 1 Jun 2009 11:46:36 +0000 (11:46 +0000)] 
add wxImage test units to test loading from both seekable and non-seekable streams

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

15 years agodocument that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modif...
Francesco Montorsi [Mon, 1 Jun 2009 11:43:36 +0000 (11:43 +0000)] 
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams

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

15 years agoadd wxURL::GetInputStream test unit; add a global IsNetworkAvailable() utility to...
Francesco Montorsi [Mon, 1 Jun 2009 11:30:50 +0000 (11:30 +0000)] 
add wxURL::GetInputStream test unit; add a global IsNetworkAvailable() utility to the test units

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

15 years agoextracted wxTextWrapper in its own header and made it public
Vadim Zeitlin [Sun, 31 May 2009 20:12:07 +0000 (20:12 +0000)] 
extracted wxTextWrapper in its own header and made it public

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

15 years agodon't redefine HAVE_STRFTIME as it can already be defined by configure (forgotten...
Vadim Zeitlin [Sun, 31 May 2009 19:40:57 +0000 (19:40 +0000)] 
don't redefine HAVE_STRFTIME as it can already be defined by configure (forgotten part of r60842)

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

15 years agoadded wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBuffered...
Vadim Zeitlin [Sun, 31 May 2009 19:40:04 +0000 (19:40 +0000)] 
added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics

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

15 years agoset focus to the window when the mouse is clicked in it explicitly as we don't let...
Vadim Zeitlin [Sun, 31 May 2009 19:20:20 +0000 (19:20 +0000)] 
set focus to the window when the mouse is clicked in it explicitly as we don't let the default mouse click handling take place

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

15 years agouse enhanced metafiles for wxMSW print preview: this is as accurate as previous code...
Václav Slavík [Sun, 31 May 2009 19:15:07 +0000 (19:15 +0000)] 
use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster (fixes #9970)

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

15 years agoadd ability to create wxEnhMetaFileDC based on a reference DC
Václav Slavík [Sun, 31 May 2009 19:11:15 +0000 (19:11 +0000)] 
add ability to create wxEnhMetaFileDC based on a reference DC

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

15 years agodon't redefine HAVE_STRFTIME as it can already be defined by configure (closes #10861)
Vadim Zeitlin [Sun, 31 May 2009 18:57:20 +0000 (18:57 +0000)] 
don't redefine HAVE_STRFTIME as it can already be defined by configure (closes #10861)

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

15 years agogroup wxPlatformInfo functions for easier browsing; add more descriptions; link the...
Francesco Montorsi [Sun, 31 May 2009 16:34:13 +0000 (16:34 +0000)] 
group wxPlatformInfo functions for easier browsing; add more descriptions; link the related function group

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

15 years agoadded default ctor to wxMouseEventsManager, this is convenient when deriving window...
Vadim Zeitlin [Sun, 31 May 2009 14:43:01 +0000 (14:43 +0000)] 
added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it

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

15 years agodon't add client area origin when positioning the child MDI frame
Vadim Zeitlin [Sun, 31 May 2009 13:22:45 +0000 (13:22 +0000)] 
don't add client area origin when positioning the child MDI frame

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

15 years agoimprove wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for...
Vadim Zeitlin [Sun, 31 May 2009 13:08:16 +0000 (13:08 +0000)] 
improve wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for it to the sample

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

15 years agoenable OpenGL library build by default under Windows too
Vadim Zeitlin [Sun, 31 May 2009 12:55:11 +0000 (12:55 +0000)] 
enable OpenGL library build by default under Windows too

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

15 years agoremove duplicate wxUSE_GSTREAMER definition
Vadim Zeitlin [Sun, 31 May 2009 12:54:16 +0000 (12:54 +0000)] 
remove duplicate wxUSE_GSTREAMER definition

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

15 years agoadded wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
Vadim Zeitlin [Sun, 31 May 2009 09:49:31 +0000 (09:49 +0000)] 
added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)

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

15 years agoallow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make...
Vadim Zeitlin [Sun, 31 May 2009 09:12:20 +0000 (09:12 +0000)] 
allow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make (closes #10832)

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

15 years agoAdded wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)
Jaakko Salli [Sun, 31 May 2009 08:58:38 +0000 (08:58 +0000)] 
Added wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)

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

15 years agoimplement Update() properly for the generic wxListCtrl (see #10857)
Vadim Zeitlin [Sat, 30 May 2009 22:25:42 +0000 (22:25 +0000)] 
implement Update() properly for the generic wxListCtrl (see #10857)

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

15 years agodefine HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and...
Vadim Zeitlin [Sat, 30 May 2009 17:15:36 +0000 (17:15 +0000)] 
define HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and test for it in wx/filefn.h (closes #10844); document that wx/filefn.h must be included before testing for wxHAS_LARGE_(F)FILES

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

15 years agofix ANSI build compilation (closes #10846)
Vadim Zeitlin [Sat, 30 May 2009 17:02:46 +0000 (17:02 +0000)] 
fix ANSI build compilation (closes #10846)

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

15 years agoadded power, svg, taborder and xrc samples (closes #10849)
Vadim Zeitlin [Sat, 30 May 2009 16:42:51 +0000 (16:42 +0000)] 
added power, svg, taborder and xrc samples (closes #10849)

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

15 years agorefactor printf benchmarks to fit the new wxWidgets benchmarking framework; fix tests...
Francesco Montorsi [Sat, 30 May 2009 13:54:22 +0000 (13:54 +0000)] 
refactor printf benchmarks to fit the new wxWidgets benchmarking framework; fix tests and benchmarks builds (at least on linux) which were failing because of wrong order of <wx-lib> tags in the bakefiles

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

15 years agocompilation fix for wxUSE_STL==1
Vadim Zeitlin [Sat, 30 May 2009 11:46:15 +0000 (11:46 +0000)] 
compilation fix for wxUSE_STL==1

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

15 years agoMore forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documen...
Jaakko Salli [Sat, 30 May 2009 11:20:35 +0000 (11:20 +0000)] 
More forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documented wxPGProperty::GetItemAtY()

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

15 years agoForward-ported wxPython-bindings related cleanup from 2.9.0 branch
Jaakko Salli [Sat, 30 May 2009 10:49:05 +0000 (10:49 +0000)] 
Forward-ported wxPython-bindings related cleanup from 2.9.0 branch

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

15 years agoEnsure the tooltip has been created before enabling or setting the delay, or they...
Julian Smart [Fri, 29 May 2009 13:32:42 +0000 (13:32 +0000)] 
Ensure the tooltip has been created before enabling or setting the delay, or they will be no-ops.

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

15 years agoavoid leaking allocated tooltips
Francesco Montorsi [Thu, 28 May 2009 20:31:38 +0000 (20:31 +0000)] 
avoid leaking allocated tooltips

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

15 years agoremove redundant extern keywords from wxEmptyString definitions
Vadim Zeitlin [Thu, 28 May 2009 15:06:56 +0000 (15:06 +0000)] 
remove redundant extern keywords from wxEmptyString definitions

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

15 years agofixing length param, see #10846
Stefan Csomor [Thu, 28 May 2009 09:59:32 +0000 (09:59 +0000)] 
fixing length param, see #10846

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

15 years agoavoid g++ 4.3 warnings about conflict between parameter and method names (closes...
Vadim Zeitlin [Thu, 28 May 2009 09:49:20 +0000 (09:49 +0000)] 
avoid g++ 4.3 warnings about conflict between parameter and method names (closes #10843)

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

15 years agocompilation fix for STL/!UNICODE case (closes #10846)
Vadim Zeitlin [Thu, 28 May 2009 09:42:08 +0000 (09:42 +0000)] 
compilation fix for STL/!UNICODE case (closes #10846)

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

15 years agofixing non-unicode build
Stefan Csomor [Wed, 27 May 2009 19:20:22 +0000 (19:20 +0000)] 
fixing non-unicode build

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

15 years agoupdate setup for OpenVMS
Jouk Jansen [Wed, 27 May 2009 12:48:14 +0000 (12:48 +0000)] 
update setup for OpenVMS

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

15 years agomoving common code up
Stefan Csomor [Wed, 27 May 2009 12:33:27 +0000 (12:33 +0000)] 
moving common code up

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

15 years agoupdating cursor code from Dave's newer version, fixes #10798
Stefan Csomor [Wed, 27 May 2009 10:17:34 +0000 (10:17 +0000)] 
updating cursor code from Dave's newer version, fixes #10798

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

15 years agoallowing font changes on multi-line textctrls, see #10801
Stefan Csomor [Wed, 27 May 2009 09:52:23 +0000 (09:52 +0000)] 
allowing font changes on multi-line textctrls, see #10801

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

15 years agomake sure NSScrollers are always having the desired orientation, fixes #10803
Stefan Csomor [Wed, 27 May 2009 08:17:47 +0000 (08:17 +0000)] 
make sure NSScrollers are always having the desired orientation, fixes #10803

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

15 years agoSend mail notifications to wx-buildbot@googlegroups.com
Michael Wetherell [Wed, 27 May 2009 02:21:06 +0000 (02:21 +0000)] 
Send mail notifications to wx-buildbot@googlegroups.com

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

15 years agono changes, simply mention a possible misuse of API in a comment (see #60296)
Vadim Zeitlin [Mon, 25 May 2009 20:48:57 +0000 (20:48 +0000)] 
no changes, simply mention a possible misuse of API in a comment (see #60296)

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

15 years agoensure that Excel is visible and has an opened workbook (closes #10837)
Vadim Zeitlin [Mon, 25 May 2009 20:42:39 +0000 (20:42 +0000)] 
ensure that Excel is visible and has an opened workbook (closes #10837)

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

15 years agocorrect a typo in wxSplitterWindow gravity parameter name
Vadim Zeitlin [Mon, 25 May 2009 13:08:00 +0000 (13:08 +0000)] 
correct a typo in wxSplitterWindow gravity parameter name

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

15 years agoadd support for defining list control columns in XRC too (and correct a few things...
Vadim Zeitlin [Mon, 25 May 2009 13:00:28 +0000 (13:00 +0000)] 
add support for defining list control columns in XRC too (and correct a few things in previously added list items support)

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

15 years agoadded a timer updating a counter in the background to be able to easily check visuall...
Vadim Zeitlin [Sun, 24 May 2009 19:40:24 +0000 (19:40 +0000)] 
added a timer updating a counter in the background to be able to easily check visually whether the events are processed or not during the synchronous child proces execution

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

15 years agoremove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it...
Vadim Zeitlin [Sun, 24 May 2009 19:39:40 +0000 (19:39 +0000)] 
remove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it's useless now that wxEventLoop is in wxBase

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