]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agono changes, just reformat, remove extraneous semicolons and inline keywords
Vadim Zeitlin [Fri, 21 Nov 2008 16:18:43 +0000 (16:18 +0000)] 
no changes, just reformat, remove extraneous semicolons and inline keywords

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

16 years agofix virtual function hiding for LoadFile(); replace a few more longs with wxBitmapTypes
Vadim Zeitlin [Fri, 21 Nov 2008 16:17:16 +0000 (16:17 +0000)] 
fix virtual function hiding for LoadFile(); replace a few more longs with wxBitmapTypes

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

16 years agofix tags generation for OS X port after renaming
Vadim Zeitlin [Fri, 21 Nov 2008 16:16:12 +0000 (16:16 +0000)] 
fix tags generation for OS X port after renaming

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

16 years agouse ShellExecuteEx() instead of ShellExecute() which doesn't exist under WinCE (close...
Vadim Zeitlin [Thu, 20 Nov 2008 23:28:26 +0000 (23:28 +0000)] 
use ShellExecuteEx() instead of ShellExecute() which doesn't exist under WinCE (closes #10201)

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

16 years agofix file dialog caption
Vadim Zeitlin [Thu, 20 Nov 2008 23:27:50 +0000 (23:27 +0000)] 
fix file dialog caption

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

16 years agodefine wxUSE_REGKEY for WinCE too (closes #10211)
Vadim Zeitlin [Thu, 20 Nov 2008 23:21:37 +0000 (23:21 +0000)] 
define wxUSE_REGKEY for WinCE too (closes #10211)

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

16 years agouse GetWindow() instead of GetNextWindow() to fix CE compilation (closes #10210)
Vadim Zeitlin [Thu, 20 Nov 2008 23:19:42 +0000 (23:19 +0000)] 
use GetWindow() instead of GetNextWindow() to fix CE compilation (closes #10210)

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

16 years agouse @onlyfor tag
Francesco Montorsi [Thu, 20 Nov 2008 23:15:09 +0000 (23:15 +0000)] 
use @onlyfor tag

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

16 years agomention wxArtProvider
Francesco Montorsi [Thu, 20 Nov 2008 21:27:07 +0000 (21:27 +0000)] 
mention wxArtProvider

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

16 years agodon't test sei.hInstApp in DoLaunchDefaultBrowser(), just look at ShellExecuteEx...
Vadim Zeitlin [Thu, 20 Nov 2008 18:30:50 +0000 (18:30 +0000)] 
don't test sei.hInstApp in DoLaunchDefaultBrowser(), just look at ShellExecuteEx() return value (#10190)

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

16 years agofix substr() calls broken by r56215 (#10198)
Vadim Zeitlin [Thu, 20 Nov 2008 18:19:17 +0000 (18:19 +0000)] 
fix substr() calls broken by r56215 (#10198)

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

16 years agodon't log an error if the directory can't be opened at all for compatibility with...
Vadim Zeitlin [Thu, 20 Nov 2008 18:12:43 +0000 (18:12 +0000)] 
don't log an error if the directory can't be opened at all for compatibility with MSW (#10194)

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

16 years agoadd missing Detach() after r56863 changes (thanks troelsk)
Vadim Zeitlin [Thu, 20 Nov 2008 17:59:42 +0000 (17:59 +0000)] 
add missing Detach() after r56863 changes (thanks troelsk)

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

16 years agofix WinCE compilation after tbar95.h ->t oolbar.h renaming (#10197)
Vadim Zeitlin [Thu, 20 Nov 2008 16:54:38 +0000 (16:54 +0000)] 
fix WinCE compilation after tbar95.h ->t oolbar.h renaming (#10197)

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

16 years agodon't load comctl32.dll, just get the handle of the already loaded instance of it...
Vadim Zeitlin [Thu, 20 Nov 2008 16:45:45 +0000 (16:45 +0000)] 
don't load comctl32.dll, just get the handle of the already loaded instance of it instead, this avoids accidentally loading 2 different versions of this DLL in the same process (see #10203)

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

16 years agofix gcc 3.3 warning about possibly uninitialized (but in reality initialized) variabl...
Vadim Zeitlin [Thu, 20 Nov 2008 15:06:36 +0000 (15:06 +0000)] 
fix gcc 3.3 warning about possibly uninitialized (but in reality initialized) variable after the last change

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

16 years agochange Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
Vadim Zeitlin [Thu, 20 Nov 2008 13:13:27 +0000 (13:13 +0000)] 
change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings

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

16 years agodon't assert on unsupported metric in wxSystemSettingsNative::GetMetric()
Václav Slavík [Thu, 20 Nov 2008 12:28:08 +0000 (12:28 +0000)] 
don't assert on unsupported metric in wxSystemSettingsNative::GetMetric()

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

16 years agoWhen calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes...
Jaakko Salli [Wed, 19 Nov 2008 16:29:47 +0000 (16:29 +0000)] 
When calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes ticket #10200)

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

16 years agoFor clarity, moved includes to the top of the file. Also added #include wx/dialog.h.
Jaakko Salli [Wed, 19 Nov 2008 16:24:07 +0000 (16:24 +0000)] 
For clarity, moved includes to the top of the file. Also added #include wx/dialog.h.

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

16 years agostore the value to be set inside wxON_BLOCK_EXIT_SET(), this allows to use temporarie...
Vadim Zeitlin [Wed, 19 Nov 2008 12:06:17 +0000 (12:06 +0000)] 
store the value to be set inside wxON_BLOCK_EXIT_SET(), this allows to use temporaries with it and also fixes the test failure when built with icc and optimizations on (not sure if it is a compiler bug or not but in any case it seems better to fix it)

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

16 years agofix comparison in Normalize() test
Vadim Zeitlin [Wed, 19 Nov 2008 11:52:04 +0000 (11:52 +0000)] 
fix comparison in Normalize() test

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

16 years agoadd WX_ASSERT_EQUAL_MESSAGE
Vadim Zeitlin [Wed, 19 Nov 2008 11:51:21 +0000 (11:51 +0000)] 
add WX_ASSERT_EQUAL_MESSAGE

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

16 years agominor icc warning fixes
Vadim Zeitlin [Wed, 19 Nov 2008 09:55:27 +0000 (09:55 +0000)] 
minor icc warning fixes

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

16 years agoSlovenian translation update
Vadim Zeitlin [Wed, 19 Nov 2008 09:54:17 +0000 (09:54 +0000)] 
Slovenian translation update

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

16 years agoAllow wxPropertyGridInterface::ClearSelection() to be called with NULL state (fixes...
Jaakko Salli [Tue, 18 Nov 2008 18:46:30 +0000 (18:46 +0000)] 
Allow wxPropertyGridInterface::ClearSelection() to be called with NULL state (fixes defect #10195)

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

16 years agofix compilation with cppunit 1.9 (which doesn't have stdCOut()) and some harmless...
Vadim Zeitlin [Tue, 18 Nov 2008 15:51:09 +0000 (15:51 +0000)] 
fix compilation with cppunit 1.9 (which doesn't have stdCOut()) and some harmless warnings (which probably were fixed in newer cppunit version too)

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

16 years agoadd header required for PCH-less mingw32 compilation (closes #10196)
Vadim Zeitlin [Tue, 18 Nov 2008 14:41:45 +0000 (14:41 +0000)] 
add header required for PCH-less mingw32 compilation (closes #10196)

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

16 years agoport updates for newer Intel compiler support from bakefile svn and rebake
Vadim Zeitlin [Mon, 17 Nov 2008 22:29:05 +0000 (22:29 +0000)] 
port updates for newer Intel compiler support from bakefile svn and rebake

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

16 years agouse GetResolutionFromOptions() to honour wxIMAGE_OPTION_RESOLUTION and not just wxIMA...
Vadim Zeitlin [Mon, 17 Nov 2008 14:32:10 +0000 (14:32 +0000)] 
use GetResolutionFromOptions() to honour wxIMAGE_OPTION_RESOLUTION and not just wxIMAGE_OPTION_RESOLUTION[XY]

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

16 years agofix bad typo in the code: wxIMAGE_OPTION_RESOLUTION option was used where wxIMAGE_OPT...
Vadim Zeitlin [Mon, 17 Nov 2008 14:27:35 +0000 (14:27 +0000)] 
fix bad typo in the code: wxIMAGE_OPTION_RESOLUTION option was used where wxIMAGE_OPTION_RESOLUTIONUNIT was meant (reviewing documentation is useful for finding bugs too...)

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

16 years agodocument all currently defined image options and their values
Vadim Zeitlin [Mon, 17 Nov 2008 14:26:05 +0000 (14:26 +0000)] 
document all currently defined image options and their values

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

16 years agoimplement const rbegin/rend() versions (closes #3866)
Vadim Zeitlin [Mon, 17 Nov 2008 14:07:51 +0000 (14:07 +0000)] 
implement const rbegin/rend() versions (closes #3866)

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

16 years agoadded the possibility to rescale the image during loading, especially useful with...
Vadim Zeitlin [Mon, 17 Nov 2008 13:54:42 +0000 (13:54 +0000)] 
added the possibility to rescale the image during loading, especially useful with JPEGs (#8390) (change to the sample accidentally committed as r56820)

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

16 years agoignore files produced by the sample
Vadim Zeitlin [Mon, 17 Nov 2008 13:52:34 +0000 (13:52 +0000)] 
ignore files produced by the sample

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

16 years agominor optimization: create wxTCPEventHandler only when/if we really need it
Vadim Zeitlin [Mon, 17 Nov 2008 11:24:16 +0000 (11:24 +0000)] 
minor optimization: create wxTCPEventHandler only when/if we really need it

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

16 years agofix assert failure if NULL size pointer was passed to Request() (as happened in the...
Vadim Zeitlin [Mon, 17 Nov 2008 11:12:34 +0000 (11:12 +0000)] 
fix assert failure if NULL size pointer was passed to Request() (as happened in the sample...)

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

16 years agostricter reply code checking: verify that we get the expected reply, not just that...
Vadim Zeitlin [Mon, 17 Nov 2008 11:08:38 +0000 (11:08 +0000)] 
stricter reply code checking: verify that we get the expected reply, not just that we don't get IPC_FAIL

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

16 years agoreally ensure that the pointer returned from MyConnection::OnRequest() remains valid
Vadim Zeitlin [Mon, 17 Nov 2008 11:00:32 +0000 (11:00 +0000)] 
really ensure that the pointer returned from MyConnection::OnRequest() remains valid

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

16 years agopreliminary documentation of wxEventLoop
Vadim Zeitlin [Mon, 17 Nov 2008 09:59:33 +0000 (09:59 +0000)] 
preliminary documentation of wxEventLoop

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

16 years agoremove obsolete macros
Paul Cornett [Sun, 16 Nov 2008 18:40:44 +0000 (18:40 +0000)] 
remove obsolete macros

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

16 years agosimplify wxPizza a bit by always drawing the border on parent
Paul Cornett [Sun, 16 Nov 2008 18:31:19 +0000 (18:31 +0000)] 
simplify wxPizza a bit by always drawing the border on parent

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

16 years agocleanup: unreachable code, unused variables, indentation, etc
Paul Cornett [Sun, 16 Nov 2008 18:20:46 +0000 (18:20 +0000)] 
cleanup: unreachable code, unused variables, indentation, etc

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

16 years agomake access for virtuals match base
Paul Cornett [Sun, 16 Nov 2008 18:20:21 +0000 (18:20 +0000)] 
make access for virtuals match base

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

16 years agocheck for self assignment in operator=
Paul Cornett [Sun, 16 Nov 2008 18:03:08 +0000 (18:03 +0000)] 
check for self assignment in operator=

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

16 years agofix some of icc 11.0 warnings and disable a few others
Vadim Zeitlin [Sun, 16 Nov 2008 14:24:13 +0000 (14:24 +0000)] 
fix some of icc 11.0 warnings and disable a few others

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

16 years agofix restoration of the old font size in DoGetTextExtent() (thanks icc for a nice...
Vadim Zeitlin [Sun, 16 Nov 2008 14:22:09 +0000 (14:22 +0000)] 
fix restoration of the old font size in DoGetTextExtent() (thanks icc for a nice warning)

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

16 years agoremoved redundant wxClassName:: prefix
Francesco Montorsi [Sat, 15 Nov 2008 11:49:24 +0000 (11:49 +0000)] 
removed redundant wxClassName:: prefix

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

16 years agointerface fixes; removed many functions which were deprecated in past and have alread...
Francesco Montorsi [Sat, 15 Nov 2008 11:37:43 +0000 (11:37 +0000)] 
interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs

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

16 years agoavoid false warnings for wxThread and wxIPAddress
Francesco Montorsi [Sat, 15 Nov 2008 11:29:21 +0000 (11:29 +0000)] 
avoid false warnings for wxThread and wxIPAddress

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

16 years agomake GetPaperRect() and GetResolution() const functions
Francesco Montorsi [Sat, 15 Nov 2008 11:10:34 +0000 (11:10 +0000)] 
make GetPaperRect() and GetResolution() const functions

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

16 years agoFixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a...
Jaakko Salli [Sat, 15 Nov 2008 10:34:36 +0000 (10:34 +0000)] 
Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.

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

16 years agoFixed wxPropertyGridPage::DoSetSplitterPosition() infinite recursion
Jaakko Salli [Sat, 15 Nov 2008 10:11:52 +0000 (10:11 +0000)] 
Fixed wxPropertyGridPage::DoSetSplitterPosition() infinite recursion

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

16 years agodo override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to...
Vadim Zeitlin [Fri, 14 Nov 2008 23:44:59 +0000 (23:44 +0000)] 
do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to happen but wasn't because of signature mismatch

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

16 years agoremove unused static wxColourFromPGLong function
Vadim Zeitlin [Fri, 14 Nov 2008 23:32:20 +0000 (23:32 +0000)] 
remove unused static wxColourFromPGLong function

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

16 years agoremove useless comparison of unsigned value with 0
Vadim Zeitlin [Fri, 14 Nov 2008 23:31:37 +0000 (23:31 +0000)] 
remove useless comparison of unsigned value with 0

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

16 years agomake code dealing with wxUSE_IDLEMENUUPDATES a bit more clear and avoid warning due...
Vadim Zeitlin [Fri, 14 Nov 2008 23:26:55 +0000 (23:26 +0000)] 
make code dealing with wxUSE_IDLEMENUUPDATES a bit more clear and avoid warning due to use of this constant in logical boolean expression

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

16 years agoCanPaste() should be const too
Vadim Zeitlin [Fri, 14 Nov 2008 23:23:16 +0000 (23:23 +0000)] 
CanPaste() should be const too

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

16 years agodisable warning about possible misaligned access given by HP aCC as we can't do anyth...
Vadim Zeitlin [Fri, 14 Nov 2008 23:22:26 +0000 (23:22 +0000)] 
disable warning about possible misaligned access given by HP aCC as we can't do anything about it because it's triggered by all GTK+ cast macros

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

16 years agoassigning line marker to itself shouldn't invalidate it, add self-assignment check
Vadim Zeitlin [Fri, 14 Nov 2008 23:18:39 +0000 (23:18 +0000)] 
assigning line marker to itself shouldn't invalidate it, add self-assignment check

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

16 years agoconsistently use wxAuiPaneInfo::Has/SetFlag() instead of using bit operations on...
Vadim Zeitlin [Fri, 14 Nov 2008 23:12:59 +0000 (23:12 +0000)] 
consistently use wxAuiPaneInfo::Has/SetFlag() instead of using bit operations on its state field directly (this results in a warning about implicit sign change from HP aCC)

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

16 years agocomparison of wxBitmapType with -1 is useless as it can never be true; assume wxBITMA...
Vadim Zeitlin [Fri, 14 Nov 2008 23:09:04 +0000 (23:09 +0000)] 
comparison of wxBitmapType with -1 is useless as it can never be true; assume wxBITMAP_TYPE_INVALID was meant here

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

16 years agomove the check for msgids matching the current language in front of everything else...
Vadim Zeitlin [Fri, 14 Nov 2008 19:10:10 +0000 (19:10 +0000)] 
move the check for msgids matching the current language in front of everything else in AddCatalog(): why bother loading catalogs uselessly?

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

16 years agoassert in AddCatalog() if Init() hadn't been called and also check that we have a...
Vadim Zeitlin [Fri, 14 Nov 2008 19:06:59 +0000 (19:06 +0000)] 
assert in AddCatalog() if Init() hadn't been called and also check that we have a valid language spec in wxMsgCatalogFile::Load() to ensure we don't form invalid paths there; call Init() before AddCatalog() in the sample

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

16 years agoconsistently use ExtractLang() everywhere instead of Left/Mid wxString methods; added...
Vadim Zeitlin [Fri, 14 Nov 2008 18:58:12 +0000 (18:58 +0000)] 
consistently use ExtractLang() everywhere instead of Left/Mid wxString methods; added ExtractCountry()

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

16 years agomore Doxygen warning fixes
Vadim Zeitlin [Fri, 14 Nov 2008 18:17:21 +0000 (18:17 +0000)] 
more Doxygen warning fixes

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

16 years agofix parameter name
Vadim Zeitlin [Fri, 14 Nov 2008 08:39:42 +0000 (08:39 +0000)] 
fix parameter name

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

16 years ago#10183: patch to add wxOSX print job name
Robert Roebling [Fri, 14 Nov 2008 08:18:05 +0000 (08:18 +0000)] 
#10183: patch to add wxOSX print job name

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

16 years agoimplement wxWindow::DragAcceptFiles() on all platforms
Václav Slavík [Thu, 13 Nov 2008 22:30:40 +0000 (22:30 +0000)] 
implement wxWindow::DragAcceptFiles() on all platforms

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

16 years agofurther ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)
Francesco Montorsi [Thu, 13 Nov 2008 21:32:53 +0000 (21:32 +0000)] 
further ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)

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

16 years agoSet TOOLKIT_LOWERCASE correctly for the various flavors of wxOSX
Robin Dunn [Thu, 13 Nov 2008 17:19:58 +0000 (17:19 +0000)] 
Set TOOLKIT_LOWERCASE correctly for the various flavors of wxOSX

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

16 years ago#10181: wxOSX: patch for proper wxPrintData to/from native data exchange
Robert Roebling [Thu, 13 Nov 2008 15:25:02 +0000 (15:25 +0000)] 
#10181: wxOSX: patch for proper wxPrintData to/from native data exchange

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

16 years agofix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using...
Vadim Zeitlin [Thu, 13 Nov 2008 12:16:39 +0000 (12:16 +0000)] 
fix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using different names for the implementation functions

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

16 years agono changes, just deTABbed
Vadim Zeitlin [Thu, 13 Nov 2008 12:04:17 +0000 (12:04 +0000)] 
no changes, just deTABbed

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

16 years agouse -Woverloaded-virtual if g++ supports it
Vadim Zeitlin [Wed, 12 Nov 2008 15:58:56 +0000 (15:58 +0000)] 
use -Woverloaded-virtual if g++ supports it

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

16 years agoremove SO_SUFFIX from configure, this is handled by bakefile since many years and...
Vadim Zeitlin [Wed, 12 Nov 2008 15:41:38 +0000 (15:41 +0000)] 
remove SO_SUFFIX from configure, this is handled by bakefile since many years and keeping this here is just confusing

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

16 years agouse = in test, not == which is not standard and not understood by all shells
Vadim Zeitlin [Wed, 12 Nov 2008 15:38:54 +0000 (15:38 +0000)] 
use = in test, not == which is not standard and not understood by all shells

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

16 years agouse correct shared library extension for HP-UX on ia64 [forward port from the next...
Vadim Zeitlin [Wed, 12 Nov 2008 15:37:01 +0000 (15:37 +0000)] 
use correct shared library extension for HP-UX on ia64 [forward port from the next bakefile version]

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

16 years agofix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don...
Vadim Zeitlin [Wed, 12 Nov 2008 15:31:44 +0000 (15:31 +0000)] 
fix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don't use _LARGE_FILES everywhere as it's only needed under AIX

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

16 years agofix warning about hiding the base class LoadFile()
Vadim Zeitlin [Wed, 12 Nov 2008 14:40:28 +0000 (14:40 +0000)] 
fix warning about hiding the base class LoadFile()

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

16 years agoadded self-assignment check to wxListItem::operator=()
Vadim Zeitlin [Wed, 12 Nov 2008 14:36:21 +0000 (14:36 +0000)] 
added self-assignment check to wxListItem::operator=()

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

16 years agoadded check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a...
Vadim Zeitlin [Wed, 12 Nov 2008 14:34:40 +0000 (14:34 +0000)] 
added check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a genuinely useful warning) and also changed it return type to the standard one instead of void

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

16 years agothere is no sqrt(int) in standard C++ (although glibc seems to provide it); select...
Vadim Zeitlin [Wed, 12 Nov 2008 14:32:28 +0000 (14:32 +0000)] 
there is no sqrt(int) in standard C++ (although glibc seems to provide it); select sqrt(double) explicitly to fix HP-UX compilation

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

16 years agoremove consts from casts which don't do anything except provoking HP aCC warnings...
Vadim Zeitlin [Wed, 12 Nov 2008 14:29:44 +0000 (14:29 +0000)] 
remove consts from casts which don't do anything except provoking HP aCC warnings; also removed useless occurrences of inline keyword

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

16 years agorebake after r56738
Vadim Zeitlin [Wed, 12 Nov 2008 11:55:44 +0000 (11:55 +0000)] 
rebake after r56738

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

16 years agofix the dependencies directory name for traditional Unix compilers
Vadim Zeitlin [Wed, 12 Nov 2008 11:54:41 +0000 (11:54 +0000)] 
fix the dependencies directory name for traditional Unix compilers

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

16 years agoremove lines containing nothing but spaces: this is a (fatal) syntax error for HP...
Vadim Zeitlin [Wed, 12 Nov 2008 11:18:54 +0000 (11:18 +0000)] 
remove lines containing nothing but spaces: this is a (fatal) syntax error for HP-UX make

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

16 years agouse explicit global scope for a couple of more occurrences of new
Vadim Zeitlin [Mon, 10 Nov 2008 23:55:01 +0000 (23:55 +0000)] 
use explicit global scope for a couple of more occurrences of new

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

16 years agouse base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation
Vadim Zeitlin [Mon, 10 Nov 2008 23:06:44 +0000 (23:06 +0000)] 
use base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation

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

16 years agoother ifacecheck fixes
Francesco Montorsi [Mon, 10 Nov 2008 21:33:25 +0000 (21:33 +0000)] 
other ifacecheck fixes

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

16 years agoupdate screenshots using the default theme for Windows XP (looks more modern than...
Francesco Montorsi [Mon, 10 Nov 2008 20:12:36 +0000 (20:12 +0000)] 
update screenshots using the default theme for Windows XP (looks more modern than current Win98-like style); screenshots generated by Utensil Candel

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

16 years agofix yet another VC6 compilation error because of loop variable reuse
Vadim Zeitlin [Mon, 10 Nov 2008 16:44:39 +0000 (16:44 +0000)] 
fix yet another VC6 compilation error because of loop variable reuse

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

16 years agocompilation fix after wxFont changes (closes #10152)
Vadim Zeitlin [Mon, 10 Nov 2008 14:30:41 +0000 (14:30 +0000)] 
compilation fix after wxFont changes (closes #10152)

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

16 years agoAdded wxChoice renderer to wxDataViewCtrl
Robert Roebling [Mon, 10 Nov 2008 14:08:38 +0000 (14:08 +0000)] 
Added wxChoice renderer to wxDataViewCtrl

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

16 years agofix another VC6 compilation error because of loop variable reuse
Vadim Zeitlin [Mon, 10 Nov 2008 14:01:56 +0000 (14:01 +0000)] 
fix another VC6 compilation error because of loop variable reuse

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

16 years agofix VC6 broken for variable scope handling
Francesco Montorsi [Sun, 9 Nov 2008 16:49:52 +0000 (16:49 +0000)] 
fix VC6 broken for variable scope handling

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

16 years agoifacecheck manual fixes
Francesco Montorsi [Sun, 9 Nov 2008 16:46:52 +0000 (16:46 +0000)] 
ifacecheck manual fixes

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

16 years agouse wxEventType coherently with the docs
Francesco Montorsi [Sun, 9 Nov 2008 16:44:56 +0000 (16:44 +0000)] 
use wxEventType coherently with the docs

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

16 years agomore intelligence to avoid false warnings
Francesco Montorsi [Sun, 9 Nov 2008 16:30:50 +0000 (16:30 +0000)] 
more intelligence to avoid false warnings

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

16 years agofix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead...
Francesco Montorsi [Sun, 9 Nov 2008 15:36:36 +0000 (15:36 +0000)] 
fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout

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