Vadim Zeitlin
29de6f400c
ensure that ProcessEvent() is called for all the event handlers, not just the first one in event handlers list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:07:16 +00:00
Stefan Csomor
02fd8b9b61
fixing infinite recursion for rotated text, introduced in cleanup r57915
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:31:55 +00:00
Francesco Montorsi
730b772b41
Move SetDefaultTimeout to wxProtocol and set it to 60 seconds for both wxHTTP and wxFTP
...
Move SetPassword and SetUser implementations to wxProtocol to avoid code redundancy
Make const-correct various getters
Reorganize wxFTP docs
Move wxStringToStringHashMap to hashmap.h and document its existance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:08:13 +00:00
Robert Roebling
dc813e6c7e
Added wxDataViewListCtrl, use it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:04:00 +00:00
Jouk Jansen
595cf498a5
Add combo sample to compile list of OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:35:19 +00:00
Francesco Montorsi
4a90d7985c
fix motif combobox for Motif < 2.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:54:06 +00:00
Francesco Montorsi
f30ef57e66
fix wxMotif build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:40:05 +00:00
Francesco Montorsi
21f0f3a2fa
no real change; just reorder functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:33:14 +00:00
Vadim Zeitlin
23fb33aa4e
don't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when testing Japanese locale in the internat sample)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:24:25 +00:00
Václav Slavík
e68a8744ee
silence gcc warnings in "vararg" functions such as wxPrintf when compiling with -Wformat-security
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 12:07:47 +00:00
Robert Roebling
8eff6c56f0
Change GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based interface, Add wxDataViewListStore (WIP)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:23:37 +00:00
Robert Roebling
c0d2308b25
Use paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:57:06 +00:00
Stefan Csomor
bbd8f8af49
make sure group boxes don't get the big font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:49:57 +00:00
Bryan Petty
03d8fb9cac
Initialize m_action_window to NULL in wxAuiManager ctor ( fixes #10383 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:15 +00:00
Stefan Csomor
c583fa5a58
adding missing header for non-precomp build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:50:13 +00:00
Vadim Zeitlin
f0d9be8afb
fix PCH-less build with wxUSE_URL_NATIVE (see #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:45:22 +00:00
Stefan Csomor
0c530e5a67
fixing controls with content areas, correcting radiobox layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 11:31:02 +00:00
Julian Smart
9c4cb61167
Added font family to wxTextAttr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 09:20:55 +00:00
Robert Roebling
bf9ea28818
Fixes #10382 : Memory leak in wxDataViewMainWindow::IsExpanded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:48:11 +00:00
Robert Roebling
b0184e5939
Don't make wxFrame grow when adding a native wxToolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:45:08 +00:00
Vadim Zeitlin
ed491736fa
reduce IPC buffer size to be less than typical Ethernet MTU after accounting for TCP overhead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 21:07:17 +00:00
Francesco Montorsi
f00204d341
use wxStrnlen() and add NULL-checks in wxMsgCatalogFile::FillHash for safer handling of corrupted MO files ( closes #3151 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:26:14 +00:00
Francesco Montorsi
16d4ffde1e
do not assert when the validator style == wxFILTER_NONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:21:26 +00:00
Francesco Montorsi
d19ce8c491
add some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the user to set the desired compression level ( closes #10372 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:54:38 +00:00
Francesco Montorsi
604898dc4a
fix ANI loading; check for errors when calling Read()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:26:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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