Commit Graph

46326 Commits

Author SHA1 Message Date
Francesco Montorsi
956f3da353 wxCursor derives (on almost all ports) from wxGDIObject (closes #3711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:52:28 +00:00
Francesco Montorsi
920b92a3fd few other fixes for wxChar => wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:41:52 +00:00
Francesco Montorsi
704171f290 add description for GetFrameParameters() function; some other minor fixes (closes ticket #10146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:32:14 +00:00
Kevin Ollivier
c9f9deab81 Forward port event handler fixes to trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 04:10:31 +00:00
Francesco Montorsi
bb69632a56 minor fixes; replace references to Windows95 with references to wxMSW where possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 00:21:10 +00:00
Vadim Zeitlin
e48df5d353 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
2008-11-21 16:18:43 +00:00
Vadim Zeitlin
f1ca421b41 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
2008-11-21 16:17:16 +00:00
Vadim Zeitlin
101872998b 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
2008-11-21 16:16:12 +00:00
Vadim Zeitlin
58ac79d317 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
2008-11-20 23:28:26 +00:00
Vadim Zeitlin
21e413b224 fix file dialog caption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:27:50 +00:00
Vadim Zeitlin
80e5b0b143 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
2008-11-20 23:21:37 +00:00
Vadim Zeitlin
c3b4617752 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
2008-11-20 23:19:42 +00:00
Francesco Montorsi
30f23bcc56 use @onlyfor tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:15:09 +00:00
Francesco Montorsi
6d6e5b66f9 mention wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 21:27:07 +00:00
Vadim Zeitlin
2190f6aa15 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
2008-11-20 18:30:50 +00:00
Vadim Zeitlin
9c39f4f538 fix substr() calls broken by r56215 (#10198)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 18:19:17 +00:00
Vadim Zeitlin
5513d18ba7 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
2008-11-20 18:12:43 +00:00
Vadim Zeitlin
8108518603 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
2008-11-20 17:59:42 +00:00
Vadim Zeitlin
dbb2baaef7 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
2008-11-20 16:54:38 +00:00
Vadim Zeitlin
e2d4ce7d36 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
2008-11-20 16:45:45 +00:00
Vadim Zeitlin
59730a00a6 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
2008-11-20 15:06:36 +00:00
Vadim Zeitlin
e227438f24 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
2008-11-20 13:13:27 +00:00
Václav Slavík
2b9eec41f9 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
2008-11-20 12:28:08 +00:00
Jaakko Salli
591df136d6 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
2008-11-19 16:29:47 +00:00
Jaakko Salli
15096961f9 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
2008-11-19 16:24:07 +00:00
Vadim Zeitlin
e196e5232a 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
2008-11-19 12:06:17 +00:00
Vadim Zeitlin
a779d8091c fix comparison in Normalize() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 11:52:04 +00:00
Vadim Zeitlin
e18865ecd7 add WX_ASSERT_EQUAL_MESSAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 11:51:21 +00:00
Vadim Zeitlin
93a800a95e minor icc warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:55:27 +00:00
Vadim Zeitlin
2c2944d6aa Slovenian translation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:54:17 +00:00
Jaakko Salli
3c5c6707de 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
2008-11-18 18:46:30 +00:00
Vadim Zeitlin
6d9407fec4 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
2008-11-18 15:51:09 +00:00
Vadim Zeitlin
7105649b88 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
2008-11-18 14:41:45 +00:00
Vadim Zeitlin
05622061c9 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
2008-11-17 22:29:05 +00:00
Vadim Zeitlin
fe7f0a591d 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
2008-11-17 14:32:10 +00:00
Vadim Zeitlin
0d81b3cd93 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
2008-11-17 14:27:35 +00:00
Vadim Zeitlin
09b898e0fb 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
2008-11-17 14:26:05 +00:00
Vadim Zeitlin
d3960469fc implement const rbegin/rend() versions (closes #3866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:07:51 +00:00
Vadim Zeitlin
36abe9d421 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
2008-11-17 13:54:42 +00:00
Vadim Zeitlin
95706ac162 ignore files produced by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:52:34 +00:00
Vadim Zeitlin
01f3d2752a 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
2008-11-17 11:24:16 +00:00
Vadim Zeitlin
ea22bf815f 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
2008-11-17 11:12:34 +00:00
Vadim Zeitlin
d730bd8a68 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
2008-11-17 11:08:38 +00:00
Vadim Zeitlin
e536b75069 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
2008-11-17 11:00:32 +00:00
Vadim Zeitlin
48c90c6e1e preliminary documentation of wxEventLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 09:59:33 +00:00
Paul Cornett
6739d2d24c remove obsolete macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:40:44 +00:00
Paul Cornett
75f661bbc8 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
2008-11-16 18:31:19 +00:00
Paul Cornett
b7bc9d806b cleanup: unreachable code, unused variables, indentation, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:46 +00:00
Paul Cornett
470f357fd2 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:21 +00:00
Paul Cornett
a09307abba check for self assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:03:08 +00:00