]>
git.saurik.com Git - wxWidgets.git/log
Stefan Csomor [Sat, 17 Jan 2009 16:24:40 +0000 (16:24 +0000)]
fixing dangling includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58183
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 13:38:04 +0000 (13:38 +0000)]
fixing dangling includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58182
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 17 Jan 2009 13:29:27 +0000 (13:29 +0000)]
Fixed relaying of wxEVT_MOUSEWHEEL to popup control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58181
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 13:25:10 +0000 (13:25 +0000)]
reverting to former mimetype routing to core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58180
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 13:22:59 +0000 (13:22 +0000)]
remove MSVC solution files from svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58179
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 13:21:02 +0000 (13:21 +0000)]
wrong move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58178
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 13:16:25 +0000 (13:16 +0000)]
implement wxTreeCtrl::ItemHasChildren() properly for virtual root item; added unit test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58177
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 13:01:47 +0000 (13:01 +0000)]
compilation fix for VC7 which seems to somehow lose the default value for PopEventHandler() parameter inside scope guard templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58176
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 12:02:19 +0000 (12:02 +0000)]
added missing textfile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58174
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 11:52:59 +0000 (11:52 +0000)]
define [us]ptr_t properly for mingw64 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58173
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 17 Jan 2009 11:38:32 +0000 (11:38 +0000)]
add wx/app.h for PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58172
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 11:26:04 +0000 (11:26 +0000)]
printing adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58171
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 11:10:39 +0000 (11:10 +0000)]
printing adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58170
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 10:54:40 +0000 (10:54 +0000)]
headermove osx - building
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58169
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 10:43:43 +0000 (10:43 +0000)]
headermove osx - header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58168
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 09:05:32 +0000 (09:05 +0000)]
testing header replace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58167
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 09:05:00 +0000 (09:05 +0000)]
testing header replace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 08:46:31 +0000 (08:46 +0000)]
adding NSPrintInfo support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58165
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 08:46:00 +0000 (08:46 +0000)]
streamlining printing support, adding printing support on osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58164
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 17 Jan 2009 08:45:05 +0000 (08:45 +0000)]
avoiding warning for unused var in cocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58163
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 23:01:04 +0000 (23:01 +0000)]
add wx/window.h for MSVC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58161
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 21:22:29 +0000 (21:22 +0000)]
fix sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58160
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 20:46:20 +0000 (20:46 +0000)]
use enumerations instead of integers for wxFont style/weight/family
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58159
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 20:09:51 +0000 (20:09 +0000)]
fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58158
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 19:03:26 +0000 (19:03 +0000)]
use wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase() as it's significantly more efficient than wx code (closes #10375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58155
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 18:49:04 +0000 (18:49 +0000)]
make the preview frame float on parent by default as otherwise it is hidden when the parent is a modal dialog, at least under wxGTK (#10341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58154
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 18:03:00 +0000 (18:03 +0000)]
implement SetTimes() for directories too under MSW (#10250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58153
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 17:48:59 +0000 (17:48 +0000)]
calling wcsnlen(NULL) does crash (under Debian and, according to the docs, should also crash with MSVC), contrary to what the comment claimed so don't do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58152
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 17:44:16 +0000 (17:44 +0000)]
export wxActiveX stuff from core (not media) DLL (closes #8991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 17:41:25 +0000 (17:41 +0000)]
compilation fixes for 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58150
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 17:19:16 +0000 (17:19 +0000)]
forward declare wxEvent before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58149
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 16:37:44 +0000 (16:37 +0000)]
add missing header for mingw32 PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58148
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 16:21:59 +0000 (16:21 +0000)]
remove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLocale::Init as to show a localized error message when opening NOTEXIST.ING; add some notes about the logic of the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58147
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 16:21:50 +0000 (16:21 +0000)]
add a unit test checking that events are really propagated as they're supposed to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58146
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 16:07:16 +0000 (16:07 +0000)]
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
Robert Roebling [Fri, 16 Jan 2009 15:50:53 +0000 (15:50 +0000)]
Illustrate usage of wxDataViewListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58143
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 16 Jan 2009 15:48:14 +0000 (15:48 +0000)]
Mention wxDataViewListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58142
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 16 Jan 2009 15:44:12 +0000 (15:44 +0000)]
Document wxDataViewListCtrl, minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58141
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 15:32:59 +0000 (15:32 +0000)]
remove usage of _T(); it's just confusing and it's not needed anymore; use wxTRANSLATE instead of wxGetTranslation for the 'Bad luck...' literal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58140
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 16 Jan 2009 15:31:55 +0000 (15:31 +0000)]
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
Robert Roebling [Fri, 16 Jan 2009 15:20:42 +0000 (15:20 +0000)]
Document wxDataViewListStore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58138
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 15:08:13 +0000 (15:08 +0000)]
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
Robert Roebling [Fri, 16 Jan 2009 15:04:00 +0000 (15:04 +0000)]
Added wxDataViewListCtrl, use it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 15:03:03 +0000 (15:03 +0000)]
document predefined array types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58135
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 16 Jan 2009 14:35:19 +0000 (14:35 +0000)]
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
Vadim Zeitlin [Fri, 16 Jan 2009 14:19:05 +0000 (14:19 +0000)]
include wx/generic/grideditors.h for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58133
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 13:54:06 +0000 (13:54 +0000)]
fix motif combobox for Motif < 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58132
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 13:40:05 +0000 (13:40 +0000)]
fix wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58131
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 13:34:44 +0000 (13:34 +0000)]
make wxSocketBase::SetTimeout virtual and make it protected in wxFTP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58130
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 16 Jan 2009 13:33:14 +0000 (13:33 +0000)]
no real change; just reorder functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58129
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 16 Jan 2009 13:24:25 +0000 (13:24 +0000)]
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
Vadim Zeitlin [Fri, 16 Jan 2009 13:09:44 +0000 (13:09 +0000)]
add VC6 and command line VC makefile too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58127
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav SlavÃk [Fri, 16 Jan 2009 12:07:47 +0000 (12:07 +0000)]
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
Robert Roebling [Fri, 16 Jan 2009 11:23:37 +0000 (11:23 +0000)]
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
Robert Roebling [Thu, 15 Jan 2009 20:57:06 +0000 (20:57 +0000)]
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
Stefan Csomor [Thu, 15 Jan 2009 20:49:57 +0000 (20:49 +0000)]
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
Bryan Petty [Thu, 15 Jan 2009 18:56:15 +0000 (18:56 +0000)]
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
Bryan Petty [Thu, 15 Jan 2009 18:49:21 +0000 (18:49 +0000)]
Noted changes to wxVScrolledWindow in the 3.0 overview article.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58119
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 15 Jan 2009 13:33:51 +0000 (13:33 +0000)]
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 15 Jan 2009 12:50:13 +0000 (12:50 +0000)]
adding missing header for non-precomp build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58117
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 15 Jan 2009 12:45:22 +0000 (12:45 +0000)]
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
Vadim Zeitlin [Thu, 15 Jan 2009 12:17:22 +0000 (12:17 +0000)]
added a (Windows-only) Flash sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58114
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 15 Jan 2009 11:31:02 +0000 (11:31 +0000)]
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
Julian Smart [Thu, 15 Jan 2009 09:20:55 +0000 (09:20 +0000)]
Added font family to wxTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58112
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 14 Jan 2009 23:48:11 +0000 (23:48 +0000)]
Fixes #10382: Memory leak in wxDataViewMainWindow::IsExpanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58111
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 14 Jan 2009 23:45:08 +0000 (23:45 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 22:26:29 +0000 (22:26 +0000)]
add -k_T to the call to xgettext as otherwise a string of internat.cpp is not extracted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58109
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 22:25:05 +0000 (22:25 +0000)]
add Italian translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58108
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 14 Jan 2009 21:07:17 +0000 (21:07 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 19:26:14 +0000 (19:26 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 19:21:26 +0000 (19:21 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 18:24:00 +0000 (18:24 +0000)]
s/wxWindows/wxWidgets; update wx-dev mail address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58104
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 17:54:38 +0000 (17:54 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 17:41:21 +0000 (17:41 +0000)]
no real change; just reorganize the sample splitting it in two source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58102
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 17:26:19 +0000 (17:26 +0000)]
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
Vadim Zeitlin [Wed, 14 Jan 2009 16:34:17 +0000 (16:34 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 16:10:02 +0000 (16:10 +0000)]
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
Vadim Zeitlin [Wed, 14 Jan 2009 15:41:59 +0000 (15:41 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 15:25:05 +0000 (15:25 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 15:03:55 +0000 (15:03 +0000)]
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58096
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 15:01:23 +0000 (15:01 +0000)]
part of commit r58093
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58095
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 14:58:47 +0000 (14:58 +0000)]
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
Francesco Montorsi [Wed, 14 Jan 2009 14:38:00 +0000 (14:38 +0000)]
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
Stefan Csomor [Wed, 14 Jan 2009 13:56:05 +0000 (13:56 +0000)]
cleaning up warnings, more common event code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58092
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 14 Jan 2009 13:26:37 +0000 (13:26 +0000)]
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
Stefan Csomor [Wed, 14 Jan 2009 08:58:59 +0000 (08:58 +0000)]
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
Vadim Zeitlin [Wed, 14 Jan 2009 08:47:23 +0000 (08:47 +0000)]
disable new event code unconditionally for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58089
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 13 Jan 2009 23:15:03 +0000 (23:15 +0000)]
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
Vadim Zeitlin [Tue, 13 Jan 2009 23:04:03 +0000 (23:04 +0000)]
fix memory leak of FrameSite (see #3935)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58087
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 13 Jan 2009 22:53:49 +0000 (22:53 +0000)]
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
Robert Roebling [Tue, 13 Jan 2009 20:10:24 +0000 (20:10 +0000)]
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
Francesco Montorsi [Tue, 13 Jan 2009 19:39:48 +0000 (19:39 +0000)]
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
Francesco Montorsi [Tue, 13 Jan 2009 19:26:53 +0000 (19:26 +0000)]
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
Francesco Montorsi [Tue, 13 Jan 2009 19:25:32 +0000 (19:25 +0000)]
check for wxInputStream::Read errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58082
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 13 Jan 2009 19:20:47 +0000 (19:20 +0000)]
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58081
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 13 Jan 2009 19:16:08 +0000 (19:16 +0000)]
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
Francesco Montorsi [Tue, 13 Jan 2009 18:43:48 +0000 (18:43 +0000)]
document operator\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58079
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 13 Jan 2009 18:35:23 +0000 (18:35 +0000)]
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
Stefan Csomor [Tue, 13 Jan 2009 18:19:42 +0000 (18:19 +0000)]
common event code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58077
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 13 Jan 2009 18:09:21 +0000 (18:09 +0000)]
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