Commit Graph

47117 Commits

Author SHA1 Message Date
Vadim Zeitlin
e5cf63c9a8 don't assert if the locale couldn't be set in AddCatalog(), we should still be able to use translations in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:34:17 +00:00
Francesco Montorsi
d6a3ec35c8 don't crash if an item has a NULL ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:10:02 +00:00
Vadim Zeitlin
07a971eeff don't try to destroy the already destroyed OCX HWND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:41:59 +00:00
Francesco Montorsi
84cae69a8b call event.Enable(true) in OnUpdateFileOpen and OnUpdateFileNew only if there are templates in the doc manager (closes #10163)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:25:05 +00:00
Francesco Montorsi
488addd58a fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:03:55 +00:00
Francesco Montorsi
af6785afcc part of commit r58093
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:01:23 +00:00
Francesco Montorsi
eb83512732 Reenable TEST_ALL (and #define TEST_FTP in that case)
Fix some warnings about unused functions
Fix asserts coming from incorrect use of GetC(): new wxPutchar asserts when passing a NULL character
Remove TestThreadExec() and MyExecThread: wxExecute can be used only from the main thread
Remove TestFtpWuFtpd: we don't want to test for wu-ftp bugs and ftp.eudora.com doesn't respond anymore
Do not leak the global FTP object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 14:58:47 +00:00
Francesco Montorsi
5249958203 don't use hardcoded constant 200; use wxSTACKWALKER_MAX_DEPTH instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 14:38:00 +00:00
Stefan Csomor
ffad7b0dd2 cleaning up warnings, more common event code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 13:56:05 +00:00
Francesco Montorsi
17ad109b8b patch from Utensil Candel which refactors and documents the AutoCaptureMechanism class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 13:26:37 +00:00
Stefan Csomor
b466e85a7e routing native events first to the wx class and only if skipped call native handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 08:58:59 +00:00
Vadim Zeitlin
cf516c2bb2 disable new event code unconditionally for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 08:47:23 +00:00
Vadim Zeitlin
a632b93c32 don't define wxHeaderColumnsRearrangeDialog if !wxUSE_REARRANGECTRL (closes #10368)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 23:15:03 +00:00
Vadim Zeitlin
9b53796d59 fix memory leak of FrameSite (see #3935)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 23:04:03 +00:00
Vadim Zeitlin
0641c71271 use wxWindow::GetClientSize() instead of ::GetClientRect() in wxActiveXContainer::CreateActiveX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 22:53:49 +00:00
Robert Roebling
f742eaafee Also update cursor when over toolbar and titlebar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 20:10:24 +00:00
Francesco Montorsi
ab8b305b82 add a note about the formats which wxAnimation is capable of loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:39:48 +00:00
Francesco Montorsi
d72f7a9d56 warn that a seekable stream is required for generic implementation of wxAnimation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:26:53 +00:00
Francesco Montorsi
74be3634b9 check for wxInputStream::Read errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:25:32 +00:00
Francesco Montorsi
d8359d3ca0 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:20:47 +00:00
Francesco Montorsi
b81e450659 always properly check if SeekI() calls succeded; this makes CanRead() functions of animation decoders return false for non-seekable streams (which is a wanted side-effect)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:16:08 +00:00
Francesco Montorsi
2bc566539b document operator\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:43:48 +00:00
Stefan Csomor
4850cc8b2e using subclass as impl ptr, common code in macro because mix-in are not possible in obj-c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:35:23 +00:00
Stefan Csomor
2126732187 common event code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:19:42 +00:00
Francesco Montorsi
9d33840bab reorder the classes, putting first the basic ones and towards the end of the file the derived ones; document OnSysXXX functions return values to allow the user to implement new stream classes without the need of guessing from source code the inner workings of the streams (closes #4487)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:09:21 +00:00
Francesco Montorsi
acdad9dbd3 use ::wxInvalidOffset to enable autolinking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 17:29:34 +00:00
Jouk Jansen
3fd2d0c4b5 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 15:09:10 +00:00
Jouk Jansen
8d5426600a Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 13:18:20 +00:00
Jouk Jansen
9bc0aaae72 Avoid warning on OpenVMS system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 12:48:58 +00:00
Francesco Montorsi
7c5ac499c8 provide our own implementation of wxStrnlen if it's not available; add tests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 12:01:30 +00:00
Jouk Jansen
0c9464ce6b Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 08:51:07 +00:00
Jouk Jansen
3374d03d51 Update configuration for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 08:02:13 +00:00
Jouk Jansen
0c8701abdb change int->wxRasterOperationMode was omitted at one location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 07:48:53 +00:00
Stefan Csomor
4abb374e4d make sure that code is always available when compiling for 10.4, whatever flavour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 04:54:21 +00:00
Stefan Csomor
5f1b3295f8 removing duplicate code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 04:38:16 +00:00
Francesco Montorsi
4f61df823f fix wxMSW shared builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 00:38:38 +00:00
Francesco Montorsi
80932a3ea6 fix a typo; move aux classes below the main ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 23:37:16 +00:00
Francesco Montorsi
f1b63efe89 add support for wxStrnlen for those platforms where it's available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 23:25:39 +00:00
Francesco Montorsi
54e757fc96 ensure correct linking of the socket manager initializer for static builds of wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 23:14:17 +00:00
Stefan Csomor
7ac5e1c908 adding 10.4 build compatibility for osx cocoa, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 20:14:39 +00:00
Francesco Montorsi
a2580e1c49 use DECLARE_NO_ASSIGN_CLASS() for better readability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 20:01:14 +00:00
Francesco Montorsi
15686fa44c better way to avoid warnings about a non-existing missing_semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 19:53:07 +00:00
Francesco Montorsi
8d1a41016d assert when the item index is out of range in wxMSW's listctrl, just like generic listctrl does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 19:34:42 +00:00
Jaakko Salli
be53e8ae80 Let wxVariantDataDateTime::Write() and Read() work with invalid dates (otherwise wxVariant::GetString() will assert when value is an invalid wxDateTime)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:22:18 +00:00
Vadim Zeitlin
4b42c189d5 fix wxDEFINE_EVENT_REFERENCE in wxEVENTS_COMPATIBILITY_2_8 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:10:23 +00:00
Jaakko Salli
b6fd0b4245 Better support for unspecified property value in wxDateProperty and DatePickerCtrl editor, especially when wxDP_ALLOWNONE is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:05:37 +00:00
Vadim Zeitlin
898a466aef restored the default value of wxObjectEventFunctor wxNewEventFunctor and explain why is it needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 16:53:07 +00:00
Vadim Zeitlin
03f3617bf3 fix VC6 ICE; don't call the function which doesn't compare the objects operator==() (see #10000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 16:51:14 +00:00
Vadim Zeitlin
eed7443b52 compilation fix after the event patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 16:28:51 +00:00
Jaakko Salli
d8812c6e0e Added wxPGProperty::OnValidationFailure(); needed it and some other tweaks to allow vetoing value changes of ComboBox editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 16:12:15 +00:00