wxWidgets.git
15 years agoremove MSVC solution files from svn
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

15 years agowrong move
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

15 years agoimplement wxTreeCtrl::ItemHasChildren() properly for virtual root item; added unit...
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

15 years agocompilation fix for VC7 which seems to somehow lose the default value for PopEventHan...
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

15 years agoadded missing textfile test
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

15 years agodefine [us]ptr_t properly for mingw64 compilation
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

15 years agoadd wx/app.h for PCH-less compilation
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

15 years agoprinting adjustment
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

15 years agoprinting adjustment
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

15 years agoheadermove osx - building
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

15 years agoheadermove osx - header files
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

15 years agotesting header replace
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

15 years agotesting header replace
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

15 years agoadding NSPrintInfo support
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

15 years agostreamlining printing support, adding printing support on osx-cocoa
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

15 years agoavoiding warning for unused var in cocoa build
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

15 years agoadd wx/window.h for MSVC compilation
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

15 years agofix sample
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

15 years agouse enumerations instead of integers for wxFont style/weight/family
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

15 years agofix typos
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

15 years agouse wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase...
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

15 years agomake the preview frame float on parent by default as otherwise it is hidden when...
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

15 years agoimplement SetTimes() for directories too under MSW (#10250)
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

15 years agocalling wcsnlen(NULL) does crash (under Debian and, according to the docs, should...
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

15 years agoexport wxActiveX stuff from core (not media) DLL (closes #8991)
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

15 years agocompilation fixes for 64 bit platforms
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

15 years agoforward declare wxEvent before using it
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

15 years agoadd missing header for mingw32 PCH-less build
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

15 years agoremove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLoca...
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

15 years agoadd a unit test checking that events are really propagated as they're supposed to
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

15 years agoensure that ProcessEvent() is called for all the event handlers, not just the first...
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

15 years agoIllustrate usage of wxDataViewListCtrl
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

15 years agoMention wxDataViewListCtrl
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

15 years agoDocument wxDataViewListCtrl, minor corrections
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

15 years agoremove usage of _T(); it's just confusing and it's not needed anymore; use wxTRANSLAT...
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

15 years agofixing infinite recursion for rotated text, introduced in cleanup r57915
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

15 years agoDocument wxDataViewListStore
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

15 years agoMove SetDefaultTimeout to wxProtocol and set it to 60 seconds for both wxHTTP and...
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

15 years agoAdded wxDataViewListCtrl, use it in the sample
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

15 years agodocument predefined array types
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

15 years agoAdd combo sample to compile list of OpenVMS
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

15 years agoinclude wx/generic/grideditors.h for compatibility
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

15 years agofix motif combobox for Motif < 2.0
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

15 years agofix wxMotif build
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

15 years agomake wxSocketBase::SetTimeout virtual and make it protected in wxFTP
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

15 years agono real change; just reorder functions
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

15 years agodon't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when...
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

15 years agoadd VC6 and command line VC makefile too
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

15 years agosilence gcc warnings in "vararg" functions such as wxPrintf when compiling with ...
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

15 years agoChange GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based...
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

15 years agoUse paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
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

15 years agomake sure group boxes don't get the big font
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

15 years agoInitialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
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

15 years agoNoted changes to wxVScrolledWindow in the 3.0 overview article.
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

15 years agolink with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE=...
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

15 years agoadding missing header for non-precomp build
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

15 years agofix PCH-less build with wxUSE_URL_NATIVE (see #10338)
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

15 years agoadded a (Windows-only) Flash sample
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

15 years agofixing controls with content areas, correcting radiobox layout
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

15 years agoAdded font family to wxTextAttr
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

15 years agoFixes #10382: Memory leak in wxDataViewMainWindow::IsExpanded
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

15 years agoDon't make wxFrame grow when adding a native wxToolbar
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

15 years agoadd -k_T to the call to xgettext as otherwise a string of internat.cpp is not extracted
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

15 years agoadd Italian translation
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

15 years agoreduce IPC buffer size to be less than typical Ethernet MTU after accounting for...
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

15 years agouse wxStrnlen() and add NULL-checks in wxMsgCatalogFile::FillHash for safer handling...
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

15 years agodo not assert when the validator style == wxFILTER_NONE
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

15 years agos/wxWindows/wxWidgets; update wx-dev mail address
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

15 years agoadd some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the...
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

15 years agono real change; just reorganize the sample splitting it in two source files
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

15 years agofix ANI loading; check for errors when calling Read()
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

15 years agodon't assert if the locale couldn't be set in AddCatalog(), we should still be able...
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

15 years agodon't crash if an item has a NULL ID
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

15 years agodon't try to destroy the already destroyed OCX HWND
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

15 years agocall event.Enable(true) in OnUpdateFileOpen and OnUpdateFileNew only if there are...
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

15 years agofix typo
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

15 years agopart of commit r58093
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

15 years agoReenable TEST_ALL (and #define TEST_FTP in that case)
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

15 years agodon't use hardcoded constant 200; use wxSTACKWALKER_MAX_DEPTH instead
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

15 years agocleaning up warnings, more common event code
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

15 years agopatch from Utensil Candel which refactors and documents the AutoCaptureMechanism...
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

15 years agorouting native events first to the wx class and only if skipped call native handler
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

15 years agodisable new event code unconditionally for now
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

15 years agodon't define wxHeaderColumnsRearrangeDialog if !wxUSE_REARRANGECTRL (closes #10368)
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

15 years agofix memory leak of FrameSite (see #3935)
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

15 years agouse wxWindow::GetClientSize() instead of ::GetClientRect() in wxActiveXContainer...
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

15 years agoAlso update cursor when over toolbar and titlebar
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

15 years agoadd a note about the formats which wxAnimation is capable of loading
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

15 years agowarn that a seekable stream is required for generic implementation of wxAnimation
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

15 years agocheck for wxInputStream::Read errors
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

15 years agofix typo
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

15 years agoalways properly check if SeekI() calls succeded; this makes CanRead() functions of...
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

15 years agodocument operator\!
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

15 years agousing subclass as impl ptr, common code in macro because mix-in are not possible...
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

15 years agocommon event code
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

15 years agoreorder the classes, putting first the basic ones and towards the end of the file...
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

15 years agouse ::wxInvalidOffset to enable autolinking
Francesco Montorsi [Tue, 13 Jan 2009 17:29:34 +0000 (17:29 +0000)] 
use ::wxInvalidOffset to enable autolinking

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Tue, 13 Jan 2009 15:09:10 +0000 (15:09 +0000)] 
Update OpenVMS compile support

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

15 years agoUpdate configuration for OpenVMS
Jouk Jansen [Tue, 13 Jan 2009 13:18:20 +0000 (13:18 +0000)] 
Update configuration for OpenVMS

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

15 years agoAvoid warning on OpenVMS system
Jouk Jansen [Tue, 13 Jan 2009 12:48:58 +0000 (12:48 +0000)] 
Avoid warning on OpenVMS system

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