]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoHonour source wxDC coordinate system in wxDC::Blit() in wxMSW.
Vadim Zeitlin [Tue, 27 Mar 2012 12:28:04 +0000 (12:28 +0000)] 
Honour source wxDC coordinate system in wxDC::Blit() in wxMSW.

wxGTK and wxOSX already did this so do it in wxMSW as well.

Update the documentation to make this explicit.

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

12 years agoMake wxDC::Blit() and StretchBlit() documentation more useful.
Vadim Zeitlin [Tue, 27 Mar 2012 12:28:01 +0000 (12:28 +0000)] 
Make wxDC::Blit() and StretchBlit() documentation more useful.

Enumerating the list of parameters in the method description is not especially
helpful, don't do it. Explain the functions relationship instead.

Also don't say that StretchBlit() is not implemented in wxGTK because it does
work there (using the generic implementation using wxDC scale).

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

12 years agoSet wxTextAreaBase::m_filename in the methods of this class itself.
Vadim Zeitlin [Tue, 27 Mar 2012 11:58:09 +0000 (11:58 +0000)] 
Set wxTextAreaBase::m_filename in the methods of this class itself.

m_filename member was declared in wxTextAreaBase but set only in the
overridden wxTextCtrlBase methods. This meant that it wasn't updated correctly
in wxStyledTextCtrl which also derives from wxTextAreaBase and so saving
SaveFile() with empty file name didn't work there even when the control had
been originally loaded from a file.

Move the code updating m_filename to wxTextAreaBase itself to fix this. This
also simplifies the code as it's now not necessary to override
Do{Load,Save}File() in wxTextCtrlBase at all.

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

12 years agoUse IsDescendant() in wxTopLevelWindow::IsActive() implementation.
Vadim Zeitlin [Tue, 27 Mar 2012 11:58:05 +0000 (11:58 +0000)] 
Use IsDescendant() in wxTopLevelWindow::IsActive() implementation.

Avoid wxGetTopLevelParent() which doesn't work for the strange TLWs which
override IsTopLevel() to return false, as wxMDIChildFrame does in wxMSW.
Using IsDescendant() works in any case and also is arguably more clear.

Closes #3063.

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

12 years agoAdded wxWindow::IsDescendant() helper.
Vadim Zeitlin [Tue, 27 Mar 2012 11:58:02 +0000 (11:58 +0000)] 
Added wxWindow::IsDescendant() helper.

This function checks if another window is a direct or indirect child of this
one, which can be needed in a number of situations.

See #3063.

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

12 years agoCorrected scale factor for the use of DC PPI instead of printer PPI in wxRTC code
Julian Smart [Mon, 26 Mar 2012 16:57:05 +0000 (16:57 +0000)] 
Corrected scale factor for the use of DC PPI instead of printer PPI in wxRTC code

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

12 years agonon-pch build fix, closes #14140
Paul Cornett [Mon, 26 Mar 2012 15:44:31 +0000 (15:44 +0000)] 
non-pch build fix, closes #14140

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

12 years agoArabic translations update from Fatma Mehanna.
Vadim Zeitlin [Mon, 26 Mar 2012 11:52:14 +0000 (11:52 +0000)] 
Arabic translations update from Fatma Mehanna.

Also backport the translations to 2.8 branch.

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

12 years agoNo changes, just small cleanup in AUI GTK tab art drawing code.
Vadim Zeitlin [Mon, 26 Mar 2012 11:24:01 +0000 (11:24 +0000)] 
No changes, just small cleanup in AUI GTK tab art drawing code.

Use more clear variable names; remove commented out assignments to inexistent
variables.

Closes #14139.

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

12 years agoFix gap box coordinates in GTK AUI tab art code.
Vadim Zeitlin [Mon, 26 Mar 2012 11:23:58 +0000 (11:23 +0000)] 
Fix gap box coordinates in GTK AUI tab art code.

Closes #14138.

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

12 years agoMinor fix to wxGraphicsContext::SetInterpolationQuality() in wxMSW.
Vadim Zeitlin [Mon, 26 Mar 2012 11:23:54 +0000 (11:23 +0000)] 
Minor fix to wxGraphicsContext::SetInterpolationQuality() in wxMSW.

Only update the internal variable if we really succeeded in changing the
interpolation mode.

See #14134.

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

12 years agoremove unneeded includes and forward declaration
Paul Cornett [Sun, 25 Mar 2012 23:34:42 +0000 (23:34 +0000)] 
remove unneeded includes and forward declaration

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

12 years agoremove unused variable
Paul Cornett [Sun, 25 Mar 2012 23:33:43 +0000 (23:33 +0000)] 
remove unused variable

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

12 years agoreplace wxBitmap::SetPixbuf() with wxBitmap ctor taking pixbuf
Paul Cornett [Sun, 25 Mar 2012 23:33:18 +0000 (23:33 +0000)] 
replace wxBitmap::SetPixbuf() with wxBitmap ctor taking pixbuf

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

12 years agoFix generic wxTimePickerCtrl on DST change dates.
Vadim Zeitlin [Sun, 25 Mar 2012 23:17:04 +0000 (23:17 +0000)] 
Fix generic wxTimePickerCtrl on DST change dates.

Do not use the date when DST changes as the date part of wxDateTime object
used by wxTimePickerGeneric internally as this introduces problems with times
that can't be represented at all -- and so can't be entered into the control.
Use arbitrary date on which DST does not change to avoid this.

Closes #14137.

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

12 years agoAdded wxTimePickerCtrl::GetTime() and SetTime().
Vadim Zeitlin [Sun, 25 Mar 2012 23:17:01 +0000 (23:17 +0000)] 
Added wxTimePickerCtrl::GetTime() and SetTime().

These methods, taking broken down time representation, avoid the problems
arising due to DST complications when using wxDateTime to represent the time
as special care needs to be taken in this case to avoid using the date part
corresponding to a DST change date at which time is discontinuous.

Document the problem with the old functions and use the new ones in the
sample.

See #14137.

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

12 years agobuild fixes
Paul Cornett [Sun, 25 Mar 2012 19:15:54 +0000 (19:15 +0000)] 
build fixes

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

12 years agoImplement native tab art for wxAUI in wxGTK.
Vadim Zeitlin [Sun, 25 Mar 2012 17:56:04 +0000 (17:56 +0000)] 
Implement native tab art for wxAUI in wxGTK.

Use native wxAuiTabArt implementation in wxGTK, it better conforms to the
system style.

Closes #14098.

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

12 years agoRefactor wxAUI: extract wxAuiTabArt in a separate file.
Vadim Zeitlin [Sun, 25 Mar 2012 17:55:59 +0000 (17:55 +0000)] 
Refactor wxAUI: extract wxAuiTabArt in a separate file.

No real changes, just extract wxAuiTabArt into its own file. Also rename
wxAuiDefaultTabArt to wxAuiSimpleTabArt in preparation for having other tab
art classes as the default one.

See #14098.

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

12 years agoExplicitly include wx/aui/dockart.h from the file needing it.
Vadim Zeitlin [Sun, 25 Mar 2012 17:55:52 +0000 (17:55 +0000)] 
Explicitly include wx/aui/dockart.h from the file needing it.

src/aui/tabmdi.cpp needs wxAuiDockArt declaration as it uses it, don't rely on
wx/aui/dockart.h being included from other wxAUI headers and include it from
here explicitly.

See #14098.

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

12 years agoAdd a private GetNotebookWidget() accessor to wxGTK.
Vadim Zeitlin [Sun, 25 Mar 2012 17:55:49 +0000 (17:55 +0000)] 
Add a private GetNotebookWidget() accessor to wxGTK.

This is similar to the other existing functions and allows to access
GtkNotebook-specific style.

See #14098.

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

12 years agoExport wxGTK private widget creation functions from core library.
Vadim Zeitlin [Sun, 25 Mar 2012 17:55:45 +0000 (17:55 +0000)] 
Export wxGTK private widget creation functions from core library.

This is necessary to allow using them from other libraries, e.g. wxAUI that
will do it in the upcoming commits.

See #14098.

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

12 years agoInclude <wx/textctrl.h> from <wx/combobox.h> for compatibility.
Vadim Zeitlin [Sun, 25 Mar 2012 17:55:42 +0000 (17:55 +0000)] 
Include <wx/textctrl.h> from <wx/combobox.h> for compatibility.

The wxComboBox header itself doesn't need <wx/textctrl.h> but there exists
code using wxComboBox with wxTextCtrl styles and events that doesn't include
<wx/textctrl.h> explicitly because it wasn't necessary in 2.8. So include it
from wx/combobox.h to avoid breaking this code after an upgrade to 2.9.

Closes #14132.

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

12 years agoReturn valid pointers from wxDateTime::ParseXXX() with non-wxString strings.
Vadim Zeitlin [Sun, 25 Mar 2012 16:45:53 +0000 (16:45 +0000)] 
Return valid pointers from wxDateTime::ParseXXX() with non-wxString strings.

The pointer returned by wxDateTime::ParseXXX() methods could point into a
buffer of a temporary wxString created to wrap a char* or wchar_t* argument so
dereferencing it was illegal.

Fix this by defining separate overloads for char*/wchar_t* arguments returning
pointers into the original string.

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

12 years agoAdd helper wxString::IterOffsetInMBStr() method.
Vadim Zeitlin [Sun, 25 Mar 2012 16:45:50 +0000 (16:45 +0000)] 
Add helper wxString::IterOffsetInMBStr() method.

This method can be used to recover the pointer in char* buffer containing
multi-byte string representation corresponding to the given iterator which is
useful for implementing backwards-compatible functions that must be able to
return such pointers.

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

12 years agoCorrect Eric Jensen name in the change log.
Vadim Zeitlin [Sun, 25 Mar 2012 12:14:53 +0000 (12:14 +0000)] 
Correct Eric Jensen name in the change log.

See #14134.

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

12 years agoFix bug with parsing time formats during DST periods.
Vadim Zeitlin [Sun, 25 Mar 2012 00:31:47 +0000 (00:31 +0000)] 
Fix bug with parsing time formats during DST periods.

wxDateTime::ParseFormat() used todays date as fall back when parsing all
formats, including those involving times, which meant that its results
depended on whether DST was active at the time of the parsing which was
clearly wrong.

Fix this by using a fixed date on which DST is known not to be active as fall
back date.

This fixes unit test failures in DateTimeTestCase::TestTimeFormat() when it
was ran on a DST transition date.

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

12 years agoAdd a gdb pretty printer for wxDateTime.
Vadim Zeitlin [Sun, 25 Mar 2012 00:31:38 +0000 (00:31 +0000)] 
Add a gdb pretty printer for wxDateTime.

Format it using Python datetime module in the standard ISO notation.

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

12 years agoAllow hiding rows in wxGrid with HideRow().
Vadim Zeitlin [Sat, 24 Mar 2012 18:24:19 +0000 (18:24 +0000)] 
Allow hiding rows in wxGrid with HideRow().

HideRow() was simply ignored as SetRowSize(row, 0) didn't do anything. Check
for the special value of 0 and allow it, just as it was done for the columns
since r57336.

See #14133.

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

12 years agoImplement wxGraphicsContext::SetInterpolationQuality() for wxMSW.
Vadim Zeitlin [Sat, 24 Mar 2012 18:24:15 +0000 (18:24 +0000)] 
Implement wxGraphicsContext::SetInterpolationQuality() for wxMSW.

Provide implementation of the previously stubbed out method.

Closes #14134.

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

12 years agoavoid reported problem with RHEL 5 GTK+ 2.10 where selection is reset by a clipboard...
Paul Cornett [Fri, 23 Mar 2012 16:50:13 +0000 (16:50 +0000)] 
avoid reported problem with RHEL 5 GTK+ 2.10 where selection is reset by a clipboard callback, closes #13277

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

12 years agoDon't cache incorrect length in wxString::DoUngetWriteBuf().
Vadim Zeitlin [Fri, 23 Mar 2012 15:13:16 +0000 (15:13 +0000)] 
Don't cache incorrect length in wxString::DoUngetWriteBuf().

The length here is the size of the buffer in bytes and is not necessarily the
string length in code points (notably not for non-ASCII strings in UTF-8
build).

Closes #14130.

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

12 years agoDon't cache incorrect length in wxString::assign(char*, size_t).
Vadim Zeitlin [Fri, 23 Mar 2012 15:13:13 +0000 (15:13 +0000)] 
Don't cache incorrect length in wxString::assign(char*, size_t).

The length of the string here is specified in bytes and is not the same as the
string length for non-ASCII UTF-8 strings, so don't cache it as the string
length.

Just invalidate the cached length instead as we simply don't know what the
real length of the string is going to be.

See #14130.

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

12 years agoFix caching wrong length in wxString(str, len) ctor in UTF-8 build.
Vadim Zeitlin [Fri, 23 Mar 2012 15:13:08 +0000 (15:13 +0000)] 
Fix caching wrong length in wxString(str, len) ctor in UTF-8 build.

A length greater than that of the source string could be passed to this ctor.
This worked correctly, i.e. created a string which was a copy of the source
one but cached a wrong length for it.

Avoid this by explicitly checking the length before caching it in
wxString::assign(str, len).

See #14130.

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

12 years agoupdate setup for OpenVMS
Jouk Jansen [Fri, 23 Mar 2012 09:30:14 +0000 (09:30 +0000)] 
update setup for OpenVMS

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

12 years agofix building with GTK+ < 2.8
Paul Cornett [Thu, 22 Mar 2012 18:09:43 +0000 (18:09 +0000)] 
fix building with GTK+ < 2.8

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

12 years agoImplement horizontal mouse wheel events support for wxMSW.
Vadim Zeitlin [Thu, 22 Mar 2012 00:27:02 +0000 (00:27 +0000)] 
Implement horizontal mouse wheel events support for wxMSW.

Handle WM_MOUSEHWHEEL messages and translate them to the corresponding
wxMouseEvents.

Closes #14105.

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

12 years agoUse enum for wxMouseEvent::m_wheelAxis instead of int.
Vadim Zeitlin [Thu, 22 Mar 2012 00:26:59 +0000 (00:26 +0000)] 
Use enum for wxMouseEvent::m_wheelAxis instead of int.

This variable can take only 2 values, use symbolic names for them instead of
difficult to understand 0 and 1.

See ##14105.

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

12 years agoUse pthread_setconcurrency() in wxThread::SetConcurrency().
Vadim Zeitlin [Thu, 22 Mar 2012 00:12:40 +0000 (00:12 +0000)] 
Use pthread_setconcurrency() in wxThread::SetConcurrency().

Use POSIX function if available instead of only using Solaris-specific
thr_setconcurrency() which is not found in modern Linux systems any more.

Closes #2115.

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

12 years agoAvoid assert when deleting columns if there is more columns than there are column...
Robin Dunn [Wed, 21 Mar 2012 16:42:00 +0000 (16:42 +0000)] 
Avoid assert when deleting columns if there is more columns than there are column labels

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

12 years agoFix display of "const" methods in wxGTK assert dialog.
Vadim Zeitlin [Wed, 21 Mar 2012 00:11:12 +0000 (00:11 +0000)] 
Fix display of "const" methods in wxGTK assert dialog.

Don't separate the function name and its arguments types in 2 different
columns in the assert dialog, this doesn't really work with const methods as
"const" can't be separated from the function like this. The old code just
didn't take "const" into account at all and mangled all the const methods by
showing ") cons" (no typo) at the end.

Just show everything in one column to avoid the problem and also simplify the
code.

Closes #14104.

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

12 years agoRemove empty and unnecessary wxFontDialogBase destructor.
Vadim Zeitlin [Tue, 20 Mar 2012 23:31:25 +0000 (23:31 +0000)] 
Remove empty and unnecessary wxFontDialogBase destructor.

This fixes build with wxUSE_FONTMAP==0 as this dtor was only defined inside
"#if wxUSE_FONTMAP" section. Instead of fixing this, just get rid of this dtor
entirely as it was unnecessary anyhow.

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

12 years agoFix wxMSW compilation when wxUSE_FONTMAP==0.
Vadim Zeitlin [Tue, 20 Mar 2012 23:26:39 +0000 (23:26 +0000)] 
Fix wxMSW compilation when wxUSE_FONTMAP==0.

Don't use wxFontMapper::GetEncodingName() in wxFontEnumerator if wxFontMapper
is not available.

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

12 years agomake wxMask pixmap member private
Paul Cornett [Tue, 20 Mar 2012 23:07:33 +0000 (23:07 +0000)] 
make wxMask pixmap member private

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

12 years agoDocument steps needed to update to newer Scintilla. (From memory, will need to be...
Robin Dunn [Tue, 20 Mar 2012 20:53:15 +0000 (20:53 +0000)] 
Document steps needed to update to newer Scintilla. (From memory, will need to be reviewed while actually doing an update to find other things that should be done.)

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

12 years agoFix keyboard navigation broken in r70324, see #14084
Paul Cornett [Tue, 20 Mar 2012 03:34:18 +0000 (03:34 +0000)] 
Fix keyboard navigation broken in r70324, see #14084
Also fixes some other keyboard navigation problems, closes #2849

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

12 years agoUpdates for OpenVMS
Jouk Jansen [Mon, 19 Mar 2012 13:41:28 +0000 (13:41 +0000)] 
Updates for OpenVMS

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

12 years agoDefine wxUSE_TASKBARICON_BALLOONS as 1 for wxMSW builds using configure.
Vadim Zeitlin [Mon, 19 Mar 2012 12:53:32 +0000 (12:53 +0000)] 
Define wxUSE_TASKBARICON_BALLOONS as 1 for wxMSW builds using configure.

Defining it as 1 is better than not allowing to set it at all and this setting
is not important enough to warrant its own command-line configure option.

Closes #14106.

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

12 years agoFix wrong wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the docs.
Vadim Zeitlin [Mon, 19 Mar 2012 12:53:28 +0000 (12:53 +0000)] 
Fix wrong wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the docs.

It was spelt with an extra "ED" at the end.

Closes #14109.

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

12 years agoFix appearance of items without icons in wxDataViewCtrl in wxOSX/Cocoa.
Vadim Zeitlin [Mon, 19 Mar 2012 12:53:25 +0000 (12:53 +0000)] 
Fix appearance of items without icons in wxDataViewCtrl in wxOSX/Cocoa.

We need to set the cell image to none explicitly if the item doesn't have any,
otherwise the image for the previous cell would be reused.

Closes #14112.

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

12 years agoExplicitly cast size_t to int to suppress MSVC warnings.
Vadim Zeitlin [Mon, 19 Mar 2012 12:53:21 +0000 (12:53 +0000)] 
Explicitly cast size_t to int to suppress MSVC warnings.

Implicit size_t-to-int conversions provoke warnings when building 64 bit
version (in which sizeof(size_t) > sizeof(int)) with MSVC, so make them
explicit as the size_t values used here will always fit in int range.

Closes #14113.

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

12 years agoAdded a parameter to PrintBuffer and PrintFile to allow silent or prompted printing.
Julian Smart [Sun, 18 Mar 2012 23:25:39 +0000 (23:25 +0000)] 
Added a parameter to PrintBuffer and PrintFile to allow silent or prompted printing.

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

12 years agoBrazilian Portuguese translations update from Felipe.
Vadim Zeitlin [Sun, 18 Mar 2012 21:17:07 +0000 (21:17 +0000)] 
Brazilian Portuguese translations update from Felipe.

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

12 years agoAdded wxPropertyGridManager::SetPageSplitterLeft
Julian Smart [Sun, 18 Mar 2012 20:35:01 +0000 (20:35 +0000)] 
Added wxPropertyGridManager::SetPageSplitterLeft

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

12 years agofixes #14110
Stefan Csomor [Sun, 18 Mar 2012 18:06:56 +0000 (18:06 +0000)] 
fixes #14110

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

12 years agoAvoid crashes in wxMSW when using buttons without valid parent.
Vadim Zeitlin [Sun, 18 Mar 2012 01:35:53 +0000 (01:35 +0000)] 
Avoid crashes in wxMSW when using buttons without valid parent.

Child controls such as buttons are supposed to always have a valid parent but
if, somehow, they don't, still don't crash in wxMSW button code but just
trigger an assert failure instead of unavailable button top level parent
instead.

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

12 years agofix compile error
Robin Dunn [Sat, 17 Mar 2012 20:42:28 +0000 (20:42 +0000)] 
fix compile error

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

12 years agoavoid shortcut ampersands in button text
Stefan Csomor [Sat, 17 Mar 2012 10:52:34 +0000 (10:52 +0000)] 
avoid shortcut ampersands in button text

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

12 years agoRemove --mac_arch and enable --mac_universal_binary to accept one or more architectur...
Robin Dunn [Sat, 17 Mar 2012 02:55:36 +0000 (02:55 +0000)] 
Remove --mac_arch and enable --mac_universal_binary to accept one or more architectures instead.

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

12 years agoMake Dismiss() virtual.
Robin Dunn [Sat, 17 Mar 2012 02:55:30 +0000 (02:55 +0000)] 
Make Dismiss() virtual.

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

12 years agoImprove wxListCtrl::SetItemState() documentation.
Vadim Zeitlin [Thu, 15 Mar 2012 23:24:41 +0000 (23:24 +0000)] 
Improve wxListCtrl::SetItemState() documentation.

Better explain the meaning of its parameters.

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

12 years agoEnable/disable "Window" menu items in AUI MDI correctly.
Vadim Zeitlin [Thu, 15 Mar 2012 13:49:54 +0000 (13:49 +0000)] 
Enable/disable "Window" menu items in AUI MDI correctly.

Add EVT_UPDATE_UI handlers for "Close", "Close All" as well as "Next" and
"Previous" menu commands.

Closes #14102.

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

12 years agoPass the original format to wxDataObjectSimple in wxDataObjectComposite.
Vadim Zeitlin [Thu, 15 Mar 2012 13:49:49 +0000 (13:49 +0000)] 
Pass the original format to wxDataObjectSimple in wxDataObjectComposite.

Some "simple" data objects, such as wxTextDataObject, are actually not simple
and support multiple formats so pass the real format to them so that they
could do the right thing.

Closes #14101.

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

12 years agoItalian translations update from Roberto Boriotti.
Vadim Zeitlin [Thu, 15 Mar 2012 13:14:07 +0000 (13:14 +0000)] 
Italian translations update from Roberto Boriotti.

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

12 years agoBasque translations update from Xabier Aramendi.
Vadim Zeitlin [Thu, 15 Mar 2012 13:14:04 +0000 (13:14 +0000)] 
Basque translations update from Xabier Aramendi.

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

12 years agoImplement wxDirDialog:: and wxFileDialog::Create() in wxGTK.
Vadim Zeitlin [Wed, 14 Mar 2012 12:32:27 +0000 (12:32 +0000)] 
Implement wxDirDialog:: and wxFileDialog::Create() in wxGTK.

Simply move the code from non-default constructor to Create(). This allows to
create the dialogs using 2-step creation if necessary.

Closes #14069.

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

12 years agoBetter border style for HTML window
Julian Smart [Tue, 13 Mar 2012 17:43:55 +0000 (17:43 +0000)] 
Better border style for HTML window

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

12 years agoDon't scale 16x15 to 16x16 - fixes corruption of bookmark icons in help window
Julian Smart [Tue, 13 Mar 2012 17:23:58 +0000 (17:23 +0000)] 
Don't scale 16x15 to 16x16 - fixes corruption of bookmark icons in help window

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

12 years agoEnsure IDs don't clash with wxRichTextCtrl.
Julian Smart [Tue, 13 Mar 2012 17:22:58 +0000 (17:22 +0000)] 
Ensure IDs don't clash with wxRichTextCtrl.

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

12 years agoFixed size calculation
Julian Smart [Tue, 13 Mar 2012 08:42:03 +0000 (08:42 +0000)] 
Fixed size calculation

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

12 years agoAdded wxRIBBON_PANEL_FLEXIBLE flag to allow toolbars to wrap, taking up the optimum...
Julian Smart [Mon, 12 Mar 2012 19:30:10 +0000 (19:30 +0000)] 
Added wxRIBBON_PANEL_FLEXIBLE flag to allow toolbars to wrap, taking up the optimum amount of space when used in a vertical palette.

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

12 years agoremove 10.4 compatibility code
Stefan Csomor [Mon, 12 Mar 2012 17:47:18 +0000 (17:47 +0000)] 
remove 10.4 compatibility code

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

12 years agoAdd new WX_ASSERT_EVENT_OCCURS macro to improve behaviour of testing asynchronous...
Steve Lamerton [Mon, 12 Mar 2012 14:57:44 +0000 (14:57 +0000)] 
Add new WX_ASSERT_EVENT_OCCURS macro to improve behaviour of testing asynchronous events. Use it in the wxWebView tests and re-enable previously failing tests.

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

12 years agoRemoved redundant DoEnable
Julian Smart [Mon, 12 Mar 2012 11:42:49 +0000 (11:42 +0000)] 
Removed redundant DoEnable

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

12 years agoUpdate the text part of combobox when changing text of selected item in wxGTK.
Vadim Zeitlin [Sun, 11 Mar 2012 23:55:19 +0000 (23:55 +0000)] 
Update the text part of combobox when changing text of selected item in wxGTK.

Add a call to SetValue() to wxComboBox::SetString() in wxGTK if the item being
changed is the currently selected one. The new behaviour is consistent with
wxMSW and also makes more sense.

Document it too to remove any doubts about what is supposed to happen in this
case.

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

12 years agoAdd a test for wxComboBox::SetString() to the widgets sample.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:27 +0000 (23:41 +0000)] 
Add a test for wxComboBox::SetString() to the widgets sample.

This allows to easily test this function interactively, notably check what
happens when the currently selected string is changed under different ports.

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

12 years agoRemove duplicate wxSYS_DCLICK_MSEC in wxSystemMetric documentation.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:23 +0000 (23:41 +0000)] 
Remove duplicate wxSYS_DCLICK_MSEC in wxSystemMetric documentation.

Closes #14093.

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

12 years agoDocument wxGridCellCoords class.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:20 +0000 (23:41 +0000)] 
Document wxGridCellCoords class.

Closes #14092.

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

12 years agoDocument wxBK_HITTEST_XXX values.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:16 +0000 (23:41 +0000)] 
Document wxBK_HITTEST_XXX values.

They were previously implicitly documented in HitTest() itself but this was
insufficient for wrappers generation as the constants themselves were never
declared. Do define them now and also correct and update their descriptions.

Closes #14091.

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

12 years agoDocument wxHelpSearchMode enum and its values.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:13 +0000 (23:41 +0000)] 
Document wxHelpSearchMode enum and its values.

Closes #14090.

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

12 years agoFixes to function signatures in wxDataViewCtrl documentation.
Vadim Zeitlin [Sun, 11 Mar 2012 23:41:09 +0000 (23:41 +0000)] 
Fixes to function signatures in wxDataViewCtrl documentation.

Change the return type of {Append,Insert,Prepend}Column() to bool and add
missing "const" to Compare().

Closes #14089.

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

12 years agoDelete buttons when we are finished so they do not overlap later controls and cause...
Steve Lamerton [Sun, 11 Mar 2012 15:27:40 +0000 (15:27 +0000)] 
Delete buttons when we are finished so they do not overlap later controls and cause test failures.

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

12 years agoMove getting the unit test event count from wxTestableFrame to the EventCounter class...
Steve Lamerton [Sun, 11 Mar 2012 14:32:24 +0000 (14:32 +0000)] 
Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events.

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

12 years agoA fix for flicker when the top-level window is disabled or enabled (e.g. by modal...
Julian Smart [Sun, 11 Mar 2012 05:31:06 +0000 (05:31 +0000)] 
A fix for flicker when the top-level window is disabled or enabled (e.g. by modal dialogs).
Achieved by using IsThisEnabled to determine the visual disabled state and thus requiring no refresh on top-level window enabling/disabling.

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

12 years agoremove unused parameter
Paul Cornett [Sat, 10 Mar 2012 16:58:05 +0000 (16:58 +0000)] 
remove unused parameter

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

12 years agoFix wxComboCtrl::SetHint() return type in the documentation.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:26 +0000 (14:26 +0000)] 
Fix wxComboCtrl::SetHint() return type in the documentation.

It is now bool, not void, as for wxTextEntry::SetHint().

Closes #14083.

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

12 years agoExplicitly document wxMessageOutputFlags.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:22 +0000 (14:26 +0000)] 
Explicitly document wxMessageOutputFlags.

They were already mentioned in wxMessageOutputBest ctor documentation but now
add the standalone enum too to make the documentation header semantically valid.

Closes #14082.

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

12 years agoDocument wxPrintQuality and wxPRINT_QUALITY_XXX constants.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:18 +0000 (14:26 +0000)] 
Document wxPrintQuality and wxPRINT_QUALITY_XXX constants.

Closes #14081.

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

12 years agoFix wxDataObject::GetFormatCount() signature in the documentation.
Vadim Zeitlin [Sat, 10 Mar 2012 14:26:15 +0000 (14:26 +0000)] 
Fix wxDataObject::GetFormatCount() signature in the documentation.

It should be const but wasn't.

Closes #14080.

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

12 years agousing 10.5 API for cursor updates as well
Stefan Csomor [Sat, 10 Mar 2012 13:13:51 +0000 (13:13 +0000)] 
using 10.5 API for cursor updates as well

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

12 years agoremoving NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation
Stefan Csomor [Sat, 10 Mar 2012 12:37:58 +0000 (12:37 +0000)] 
removing NSWindow based mouse tracking in favour of 10.5+ trackingArea implementation

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

12 years agoDocument the non-deprecated version of InsertTool, and some other tweaks.
Robin Dunn [Sat, 10 Mar 2012 00:01:15 +0000 (00:01 +0000)] 
Document the non-deprecated version of InsertTool, and some other tweaks.

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

12 years agoMake the CreateTool factories be public so they can be used from application code
Robin Dunn [Sat, 10 Mar 2012 00:01:09 +0000 (00:01 +0000)] 
Make the CreateTool factories be public so they can be used from application code

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

12 years agoAdd wxToolBarToolBase, missing flags, etc.
Robin Dunn [Sat, 10 Mar 2012 00:01:00 +0000 (00:01 +0000)] 
Add wxToolBarToolBase, missing flags, etc.

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

12 years agoAdded wxRIBBON_PANEL_STRETCH to allow a single panel to stretch to fill the parent...
Julian Smart [Fri, 9 Mar 2012 15:26:37 +0000 (15:26 +0000)] 
Added wxRIBBON_PANEL_STRETCH to allow a single panel to stretch to fill the parent page.

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

12 years agoreflect correct position for native toolbar, fixes #14049
Stefan Csomor [Fri, 9 Mar 2012 12:49:59 +0000 (12:49 +0000)] 
reflect correct position for native toolbar, fixes #14049

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

12 years agoCorrect the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample.
Vadim Zeitlin [Fri, 9 Mar 2012 10:12:43 +0000 (10:12 +0000)] 
Correct the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample.

wxHAS_XXX symbols need to be checked with #ifdef, not #if.

See #1614 (as this change was part of the patch submitted there, even if the
ticket itself is unrelated).

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

12 years agoExclude wxMSW-only code from wxUniversal build under Windows.
Vadim Zeitlin [Fri, 9 Mar 2012 10:12:40 +0000 (10:12 +0000)] 
Exclude wxMSW-only code from wxUniversal build under Windows.

wxListCtrl::EndEditLabel() isn't available in wxUniv, it's wxMSW-only.

This fixes the sample compilation in wxUniv/MSW build.

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

12 years agoadd the usual default parameter for Show()
Paul Cornett [Fri, 9 Mar 2012 05:50:58 +0000 (05:50 +0000)] 
add the usual default parameter for Show()

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

12 years agoCheck for iterator validity when parsing "%%" in wxDateTime::Format() too.
Vadim Zeitlin [Fri, 9 Mar 2012 01:09:25 +0000 (01:09 +0000)] 
Check for iterator validity when parsing "%%" in wxDateTime::Format() too.

This is similar to the previous commit and adds another missed check for the
iterator not being at the end of string.

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