wxWidgets.git
15 years agodon't assert in Refresh() if window is not created yet, simply return without doing...
Vadim Zeitlin [Mon, 23 Mar 2009 15:59:37 +0000 (15:59 +0000)] 
don't assert in Refresh() if window is not created yet, simply return without doing anything (fixes crash on startup in the aui sample introduced by r59394)

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

15 years agotextctrl cleanup
Stefan Csomor [Mon, 23 Mar 2009 15:32:34 +0000 (15:32 +0000)] 
textctrl cleanup

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

15 years agofixing warnings in osx cocoa
Stefan Csomor [Mon, 23 Mar 2009 15:26:33 +0000 (15:26 +0000)] 
fixing warnings in osx cocoa

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

15 years agofixing warning in osx core and carbon
Stefan Csomor [Mon, 23 Mar 2009 15:24:04 +0000 (15:24 +0000)] 
fixing warning in osx core and carbon

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

15 years agofixing warnings in osx common code
Stefan Csomor [Mon, 23 Mar 2009 15:17:22 +0000 (15:17 +0000)] 
fixing warnings in osx common code

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

15 years agoremember to users that env vars are hardly usable for IPC :)
Francesco Montorsi [Mon, 23 Mar 2009 15:04:29 +0000 (15:04 +0000)] 
remember to users that env vars are hardly usable for IPC :)

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

15 years agoadds proper detection of tests success/failure; clear that "error level" != "return...
Francesco Montorsi [Mon, 23 Mar 2009 14:57:10 +0000 (14:57 +0000)] 
adds proper detection of tests success/failure; clear that "error level" != "return code"

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

15 years agoadd the ability to test the wxBell() function
Francesco Montorsi [Mon, 23 Mar 2009 14:04:46 +0000 (14:04 +0000)] 
add the ability to test the wxBell() function

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

15 years agoUpdates for OpenVMS compile support
Jouk Jansen [Mon, 23 Mar 2009 13:57:26 +0000 (13:57 +0000)] 
Updates for OpenVMS compile support

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

15 years agofix warnings about empty controlling statement in release build
Vadim Zeitlin [Mon, 23 Mar 2009 13:10:19 +0000 (13:10 +0000)] 
fix warnings about empty controlling statement in release build

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

15 years agoadd timing of the page loading (see #9972)
Vadim Zeitlin [Mon, 23 Mar 2009 13:00:42 +0000 (13:00 +0000)] 
add timing of the page loading (see #9972)

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

15 years agomention wxGridBagSizer (closes #10488)
Vadim Zeitlin [Mon, 23 Mar 2009 12:59:34 +0000 (12:59 +0000)] 
mention wxGridBagSizer (closes #10488)

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

15 years agodon't change the dialog size when updating the message; document that this is intenti...
Vadim Zeitlin [Mon, 23 Mar 2009 12:31:26 +0000 (12:31 +0000)] 
don't change the dialog size when updating the message; document that this is intentional (see #10624)

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

15 years agoinitialize NUM_COLS correctly in columns order test (closes #10630)
Vadim Zeitlin [Mon, 23 Mar 2009 12:18:51 +0000 (12:18 +0000)] 
initialize NUM_COLS correctly in columns order test (closes #10630)

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

15 years agofix typo; use C locale for VsnprintfTestCase
Francesco Montorsi [Mon, 23 Mar 2009 12:17:39 +0000 (12:17 +0000)] 
fix typo; use C locale for VsnprintfTestCase

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

15 years agodon't make the items owner drawn unnecessarily under recent Windows systems; fix...
Vadim Zeitlin [Mon, 23 Mar 2009 12:09:58 +0000 (12:09 +0000)] 
don't make the items owner drawn unnecessarily under recent Windows systems; fix handling of checked/unchecked bitmaps under Vista too; simplify the code by refactoring bitmaps handling in a separate function

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

15 years agoadded "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()
Vadim Zeitlin [Mon, 23 Mar 2009 12:07:42 +0000 (12:07 +0000)] 
added "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()

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

15 years agothis one should really work
Francesco Montorsi [Mon, 23 Mar 2009 11:01:33 +0000 (11:01 +0000)] 
this one should really work

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

15 years agomodify signature of new wxStreamBuffer ctors to avoid conflicts with the existing...
Vadim Zeitlin [Mon, 23 Mar 2009 10:59:40 +0000 (10:59 +0000)] 
modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones (closes #10144)

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

15 years agofix the build fix
Francesco Montorsi [Mon, 23 Mar 2009 10:58:32 +0000 (10:58 +0000)] 
fix the build fix

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

15 years agodon't disable wxLogTrace() at debug levels < 2
Vadim Zeitlin [Mon, 23 Mar 2009 10:42:17 +0000 (10:42 +0000)] 
don't disable wxLogTrace() at debug levels < 2

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

15 years agoblind carbon build fix
Francesco Montorsi [Mon, 23 Mar 2009 10:04:56 +0000 (10:04 +0000)] 
blind carbon build fix

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

15 years agotry to remove /B from EXIT commands; prints a "separator" between test.exe and test_g...
Francesco Montorsi [Mon, 23 Mar 2009 10:01:13 +0000 (10:01 +0000)] 
try to remove /B from EXIT commands; prints a "separator" between test.exe and test_gui.exe output

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

15 years agofixing end-of-file
Stefan Csomor [Mon, 23 Mar 2009 09:10:37 +0000 (09:10 +0000)] 
fixing end-of-file

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

15 years agowxEvtHandler derives from wxTrackable, too
Francesco Montorsi [Mon, 23 Mar 2009 00:26:17 +0000 (00:26 +0000)] 
wxEvtHandler derives from wxTrackable, too

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

15 years agobetter docs for wxCmdLineParser (fixes a few typos, adds more comments)
Francesco Montorsi [Sun, 22 Mar 2009 23:29:14 +0000 (23:29 +0000)] 
better docs for wxCmdLineParser (fixes a few typos, adds more comments)

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

15 years agofix building tests in release mode
Francesco Montorsi [Sun, 22 Mar 2009 23:02:55 +0000 (23:02 +0000)] 
fix building tests in release mode

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

15 years agoadd missing beginEventEmissionTable
Francesco Montorsi [Sun, 22 Mar 2009 22:29:00 +0000 (22:29 +0000)] 
add missing beginEventEmissionTable

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

15 years agocorrect syntax (patterns need to be escaped)
Vadim Zeitlin [Sun, 22 Mar 2009 22:08:19 +0000 (22:08 +0000)] 
correct syntax (patterns need to be escaped)

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

15 years agodon't incorrectly say that wxSOCKET_REUSEADDR is for servers only (closes #10626)
Vadim Zeitlin [Sun, 22 Mar 2009 22:02:30 +0000 (22:02 +0000)] 
don't incorrectly say that wxSOCKET_REUSEADDR is for servers only (closes #10626)

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

15 years agocompilation fix after wxBrushStyle changes (closes #9593)
Vadim Zeitlin [Sun, 22 Mar 2009 21:58:21 +0000 (21:58 +0000)] 
compilation fix after wxBrushStyle changes (closes #9593)

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

15 years agowxGTK1 compilation fixes
Vadim Zeitlin [Sun, 22 Mar 2009 21:42:40 +0000 (21:42 +0000)] 
wxGTK1 compilation fixes

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

15 years agofix harmless unused parameter warning
Vadim Zeitlin [Sun, 22 Mar 2009 21:42:26 +0000 (21:42 +0000)] 
fix harmless unused parameter warning

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

15 years agocompilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time...
Vadim Zeitlin [Sun, 22 Mar 2009 21:42:08 +0000 (21:42 +0000)] 
compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time, just as for the other ports but hey, it compiles)

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

15 years agomoved the check for correct implementation of wxEvent::Clone() to a unit test from...
Vadim Zeitlin [Sun, 22 Mar 2009 21:31:34 +0000 (21:31 +0000)] 
moved the check for correct implementation of wxEvent::Clone() to a unit test from wx startup code

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

15 years agoset the PATH to contain ../lib/*_dll directories before running the tests
Vadim Zeitlin [Sun, 22 Mar 2009 21:07:51 +0000 (21:07 +0000)] 
set the PATH to contain ../lib/*_dll directories before running the tests

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

15 years agoadded wxStaticCast() unit test
Vadim Zeitlin [Sun, 22 Mar 2009 21:04:28 +0000 (21:04 +0000)] 
added wxStaticCast() unit test

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

15 years agofix compilation breaking typo in recent commit
Vadim Zeitlin [Sun, 22 Mar 2009 20:51:54 +0000 (20:51 +0000)] 
fix compilation breaking typo in recent commit

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

15 years agoadd WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence
Vadim Zeitlin [Sun, 22 Mar 2009 20:51:21 +0000 (20:51 +0000)] 
add WXWIN_COMPATIBILITY_2_8 test around another wxLogTrace(wxTraceMask) occurrence

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

15 years agomade definition of wxUSE_LOG_DEBUG dependent on wxDEBUG_LEVEL and added wxUSE_LOG_TRA...
Vadim Zeitlin [Sun, 22 Mar 2009 17:18:07 +0000 (17:18 +0000)] 
made definition of wxUSE_LOG_DEBUG dependent on wxDEBUG_LEVEL and added wxUSE_LOG_TRACE (currently never enabled by default); fix warnings about unused variables after these changes

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

15 years agomake wxMessageOutput::Output() public to avoid having to call Printf("%s", s)
Vadim Zeitlin [Sun, 22 Mar 2009 17:17:01 +0000 (17:17 +0000)] 
make wxMessageOutput::Output() public to avoid having to call Printf("%s", s)

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

15 years agoadding tests
Stefan Csomor [Sun, 22 Mar 2009 16:22:31 +0000 (16:22 +0000)] 
adding tests

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

15 years agocompilation fix for wxUSE_STD_STRING==0
Vadim Zeitlin [Sun, 22 Mar 2009 16:10:09 +0000 (16:10 +0000)] 
compilation fix for wxUSE_STD_STRING==0

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

15 years agodeprecate integer trace masks and don't define the methods related to them if WXWIN_C...
Vadim Zeitlin [Sun, 22 Mar 2009 16:00:37 +0000 (16:00 +0000)] 
deprecate integer trace masks and don't define the methods related to them if WXWIN_COMPATIBILITY_2_8==0

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

15 years agomove forward declarations unneeded in wx/log.h to wx/generic/logg.h
Vadim Zeitlin [Sun, 22 Mar 2009 15:40:53 +0000 (15:40 +0000)] 
move forward declarations unneeded in wx/log.h to wx/generic/logg.h

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

15 years agodefine wxUSE_LOG_DEBUG as wxDEBUG_LEVEL and not as defined(__WXDEBUG__)
Vadim Zeitlin [Sun, 22 Mar 2009 15:40:08 +0000 (15:40 +0000)] 
define wxUSE_LOG_DEBUG as wxDEBUG_LEVEL and not as defined(__WXDEBUG__)

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

15 years agocompilation fix for STL build after the last change
Vadim Zeitlin [Sun, 22 Mar 2009 15:30:15 +0000 (15:30 +0000)] 
compilation fix for STL build after the last change

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

15 years agowxGTK1 compilation fixes after last changes
Vadim Zeitlin [Sun, 22 Mar 2009 13:29:52 +0000 (13:29 +0000)] 
wxGTK1 compilation fixes after last changes

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

15 years agofix typo; wrap lines; add some clarifications
Vadim Zeitlin [Sun, 22 Mar 2009 13:12:45 +0000 (13:12 +0000)] 
fix typo; wrap lines; add some clarifications

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

15 years agoreplace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
Vadim Zeitlin [Sun, 22 Mar 2009 12:53:48 +0000 (12:53 +0000)] 
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL

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

15 years agocorrect wxASSERT_LEVEL_2 definition
Vadim Zeitlin [Sun, 22 Mar 2009 12:26:17 +0000 (12:26 +0000)] 
correct wxASSERT_LEVEL_2 definition

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

15 years agouse wxALIGN_RIGHT instead of wxTE_RIGHT here too (should have been part of last commit)
Vadim Zeitlin [Sun, 22 Mar 2009 11:18:15 +0000 (11:18 +0000)] 
use wxALIGN_RIGHT instead of wxTE_RIGHT here too (should have been part of last commit)

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

15 years agouse wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter...
Vadim Zeitlin [Sun, 22 Mar 2009 10:55:55 +0000 (10:55 +0000)] 
use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621)

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

15 years agono changes, just wrap long lines
Vadim Zeitlin [Sun, 22 Mar 2009 10:51:26 +0000 (10:51 +0000)] 
no changes, just wrap long lines

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

15 years agosimpler define handling
Stefan Csomor [Sun, 22 Mar 2009 09:49:28 +0000 (09:49 +0000)] 
simpler define handling

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

15 years agoadd alignment flags support to wxSpinCtrl[Double] (closes #10621)
Vadim Zeitlin [Sun, 22 Mar 2009 09:18:46 +0000 (09:18 +0000)] 
add alignment flags support to wxSpinCtrl[Double] (closes #10621)

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

15 years agofix harmless warning about unreachable code under MSW after last commit
Vadim Zeitlin [Sun, 22 Mar 2009 09:05:58 +0000 (09:05 +0000)] 
fix harmless warning about unreachable code under MSW after last commit

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

15 years agoalways define ShowAssertDialog() but do nothing in it if debug level is 0
Vadim Zeitlin [Sun, 22 Mar 2009 08:39:31 +0000 (08:39 +0000)] 
always define ShowAssertDialog() but do nothing in it if debug level is 0

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

15 years agotemporary build-fix
Stefan Csomor [Sun, 22 Mar 2009 07:42:51 +0000 (07:42 +0000)] 
temporary build-fix

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

15 years agoDisabling sheets codepath until we can resolve the nested loop issue.
Kevin Ollivier [Sun, 22 Mar 2009 06:33:37 +0000 (06:33 +0000)] 
Disabling sheets codepath until we can resolve the nested loop issue.

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

15 years agoNew release script docs.
Kevin Ollivier [Sun, 22 Mar 2009 00:44:12 +0000 (00:44 +0000)] 
New release script docs.

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

15 years agofix typo in comment introduced in the previous change (re-closes #10622)
Vadim Zeitlin [Sat, 21 Mar 2009 23:53:33 +0000 (23:53 +0000)] 
fix typo in comment introduced in the previous change (re-closes #10622)

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

15 years agofirst round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1...
Vadim Zeitlin [Sat, 21 Mar 2009 23:36:37 +0000 (23:36 +0000)] 
first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1 if __WXDEBUG__ is defined, i.e. no real changes; don't use __WXDEBUG__ in the headers to keep debug and release builds ABI-compatible; add functions to customize or disable asserts handling

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

15 years agofixing multiple extensions in one filter, turning off temporarily sheets code
Stefan Csomor [Sat, 21 Mar 2009 23:27:06 +0000 (23:27 +0000)] 
fixing multiple extensions in one filter, turning off temporarily sheets code

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

15 years agoadapting to autorelease of factory methods
Stefan Csomor [Sat, 21 Mar 2009 22:54:50 +0000 (22:54 +0000)] 
adapting to autorelease of factory methods

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

15 years agoadapting to autorelease of factory method
Stefan Csomor [Sat, 21 Mar 2009 22:32:08 +0000 (22:32 +0000)] 
adapting to autorelease of factory method

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

15 years agodon't use HBMMENU_CALLBACK under Windows Vista as this results in losing the themed...
Vadim Zeitlin [Sat, 21 Mar 2009 21:31:21 +0000 (21:31 +0000)] 
don't use HBMMENU_CALLBACK under Windows Vista as this results in losing the themed menu display

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

15 years agofixing the type
Stefan Csomor [Sat, 21 Mar 2009 17:55:34 +0000 (17:55 +0000)] 
fixing the type

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

15 years agomove __WXFUNCTION__ to wx/cpp.h from wx/debug.h
Vadim Zeitlin [Sat, 21 Mar 2009 17:18:01 +0000 (17:18 +0000)] 
move __WXFUNCTION__ to wx/cpp.h from wx/debug.h

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

15 years agomade wx/debug.h C++ header again (reverting changes of r24896); simply don't include...
Vadim Zeitlin [Sat, 21 Mar 2009 16:34:46 +0000 (16:34 +0000)] 
made wx/debug.h C++ header again (reverting changes of r24896); simply don't include it from wx/defs.h when compiling C files which have no need for the stuff defined in it anyhow

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

15 years agofix generation of wxEVT_CHAR_HOOK events which, incredibly, seems to have never worke...
Vadim Zeitlin [Sat, 21 Mar 2009 16:11:06 +0000 (16:11 +0000)] 
fix generation of wxEVT_CHAR_HOOK events which, incredibly, seems to have never worked because of incorrect parameter being passed to SetWindowsHookEx()

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

15 years agodon't build flash and mfc samples with non-MSVC compilers (closes #10622)
Vadim Zeitlin [Sat, 21 Mar 2009 15:39:15 +0000 (15:39 +0000)] 
don't build flash and mfc samples with non-MSVC compilers (closes #10622)

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

15 years agomaking sure the repositioning within the contentview only happens if the parent reall...
Stefan Csomor [Sat, 21 Mar 2009 14:32:28 +0000 (14:32 +0000)] 
making sure the repositioning within the contentview only happens if the parent really has a superview, and not only a contentRect like notebook, fixes #10615

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

15 years agomake it crash-proof
Stefan Csomor [Sat, 21 Mar 2009 14:24:13 +0000 (14:24 +0000)] 
make it crash-proof

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

15 years agouse /b option with the EXIT command
Francesco Montorsi [Sat, 21 Mar 2009 13:49:20 +0000 (13:49 +0000)] 
use /b option with the EXIT command

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

15 years agofix for PCH-less builds
Francesco Montorsi [Sat, 21 Mar 2009 12:34:18 +0000 (12:34 +0000)] 
fix for PCH-less builds

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

15 years agorevert 59680; implement proper fix for wxMSW test failure detection
Francesco Montorsi [Sat, 21 Mar 2009 12:28:52 +0000 (12:28 +0000)] 
revert 59680; implement proper fix for wxMSW test failure detection

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

15 years agofix unreadable typo
Francesco Montorsi [Sat, 21 Mar 2009 12:27:21 +0000 (12:27 +0000)] 
fix unreadable typo

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

15 years agowxHTML tables handler didn't properly restore m_enclosingContainer state (fixes ...
Václav Slavík [Sat, 21 Mar 2009 09:41:52 +0000 (09:41 +0000)] 
wxHTML tables handler didn't properly restore m_enclosingContainer state (fixes #10370)

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

15 years agoFix wxGTK wxBitmapComboBox::SetValue() not working if wxCB_READONLY window style...
Jaakko Salli [Sat, 21 Mar 2009 09:35:02 +0000 (09:35 +0000)] 
Fix wxGTK wxBitmapComboBox::SetValue() not working if wxCB_READONLY window style was used

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

15 years agominimal list of wx CRT wrappers (so doxygen highlights occurrences of wxFunc() if...
Francesco Montorsi [Sat, 21 Mar 2009 00:40:12 +0000 (00:40 +0000)] 
minimal list of wx CRT wrappers (so doxygen highlights occurrences of wxFunc() if Func() is a std CRT function

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

15 years agofixes for Italian locale: ignore a final 'CET' string and don't test '%p' for it
Francesco Montorsi [Sat, 21 Mar 2009 00:37:19 +0000 (00:37 +0000)] 
fixes for Italian locale: ignore a final 'CET' string and don't test '%p' for it

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

15 years agohandle locales where AM/PM strings are empty
Francesco Montorsi [Sat, 21 Mar 2009 00:19:27 +0000 (00:19 +0000)] 
handle locales where AM/PM strings are empty

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

15 years agotry to use 0/1 instead of the cstdlib' EXIT_SUCCESS/FAILURE constants to see if build...
Francesco Montorsi [Sat, 21 Mar 2009 00:16:43 +0000 (00:16 +0000)] 
try to use 0/1 instead of the cstdlib' EXIT_SUCCESS/FAILURE constants to see if buildbot makes red the currently-green boxes relative to wxMSW test runs

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

15 years agoallow to give the testcase name without the final 'TestCase' postfix
Francesco Montorsi [Sat, 21 Mar 2009 00:06:32 +0000 (00:06 +0000)] 
allow to give the testcase name without the final 'TestCase' postfix

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

15 years agoshare a few helpers between datetime.cpp and datetimefmt.cpp
Francesco Montorsi [Fri, 20 Mar 2009 22:07:09 +0000 (22:07 +0000)] 
share a few helpers between datetime.cpp and datetimefmt.cpp

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

15 years agobuild fix (part of r59673, r59656)
Francesco Montorsi [Fri, 20 Mar 2009 21:42:43 +0000 (21:42 +0000)] 
build fix (part of r59673, r59656)

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

15 years agobuild fix for systems where HAVE_STRPTIME is defined
Francesco Montorsi [Fri, 20 Mar 2009 21:00:15 +0000 (21:00 +0000)] 
build fix for systems where HAVE_STRPTIME is defined

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

15 years agomake GetNumOfDaysInMonth static again; in datetimefmt.cpp use GetNumberOfDays instead.
Francesco Montorsi [Fri, 20 Mar 2009 20:45:20 +0000 (20:45 +0000)] 
make GetNumOfDaysInMonth static again; in datetimefmt.cpp use GetNumberOfDays instead.
Attempt to fix wxDateTime::ParseFormat(date, "%c") by using strptime() before our own heuristic checks.

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

15 years agomake sure we always have a CGFontRef
Stefan Csomor [Fri, 20 Mar 2009 20:23:28 +0000 (20:23 +0000)] 
make sure we always have a CGFontRef

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

15 years agomove parsing helpers, too (part of r59656)
Francesco Montorsi [Fri, 20 Mar 2009 19:25:48 +0000 (19:25 +0000)] 
move parsing helpers, too (part of r59656)

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

15 years agointroducing temporary variables for atsu with cocoa
Stefan Csomor [Fri, 20 Mar 2009 19:23:16 +0000 (19:23 +0000)] 
introducing temporary variables for atsu with cocoa

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

15 years agono real changes: split the huge datetime.cpp in two parts: one dedicated to code...
Francesco Montorsi [Fri, 20 Mar 2009 19:16:21 +0000 (19:16 +0000)] 
no real changes: split the huge datetime.cpp in two parts: one dedicated to code for formatting/parsing, the other for everything else

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

15 years agoUse native EOL
Robin Dunn [Fri, 20 Mar 2009 18:25:13 +0000 (18:25 +0000)] 
Use native EOL

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

15 years agorun tests on the wxMSW port again
Francesco Montorsi [Fri, 20 Mar 2009 15:20:39 +0000 (15:20 +0000)] 
run tests on the wxMSW port again

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

15 years agoreworked font handling for osx (was missing because of conflicts)
Stefan Csomor [Fri, 20 Mar 2009 15:07:31 +0000 (15:07 +0000)] 
reworked font handling for osx (was missing because of conflicts)

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

15 years agoadd the ToCLong, ToCULong and ToCDouble functions, with docs and test units
Francesco Montorsi [Fri, 20 Mar 2009 14:50:06 +0000 (14:50 +0000)] 
add the ToCLong, ToCULong and ToCDouble functions, with docs and test units

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

15 years agoreworked font handling for osx
Stefan Csomor [Fri, 20 Mar 2009 13:56:57 +0000 (13:56 +0000)] 
reworked font handling for osx

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

15 years agoadd group file for locale functions (was part of r59627)
Francesco Montorsi [Fri, 20 Mar 2009 12:17:45 +0000 (12:17 +0000)] 
add group file for locale functions (was part of r59627)

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

15 years agoin case the user mask doesn't contain wxEVT_CATEGORY_UI, don't block forever on the...
Francesco Montorsi [Fri, 20 Mar 2009 11:57:05 +0000 (11:57 +0000)] 
in case the user mask doesn't contain wxEVT_CATEGORY_UI, don't block forever on the never-ending WM_PAINTs messages sent by the system; but don't even break out of the loop immediately after getting the first WM_PAINT: this break repainting. (closes #10590)

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