]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
11 years agoDon't crash in wxWebView under OS X if custom URI is invalid.
Vadim Zeitlin [Fri, 14 Jun 2013 13:10:04 +0000 (13:10 +0000)] 
Don't crash in wxWebView under OS X if custom URI is invalid.

Don't assume that wxWebViewHandler::GetFile() always returns a valid pointer,
it may fail and return NULL, e.g. for a non-existent VFS location.

Closes #15254.

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

11 years agoHandle NULL flags argument in wxOSX wxNotebook::HitTest().
Vadim Zeitlin [Fri, 14 Jun 2013 13:06:46 +0000 (13:06 +0000)] 
Handle NULL flags argument in wxOSX wxNotebook::HitTest().

Don't crash if flags are not specified, this parameter is optional.

Closes #15256.

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

11 years agofixing correct delete key
Stefan Csomor [Thu, 13 Jun 2013 14:12:11 +0000 (14:12 +0000)] 
fixing correct delete key

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

11 years agofixes to pass tests
Stefan Csomor [Thu, 13 Jun 2013 14:09:39 +0000 (14:09 +0000)] 
fixes to pass tests

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

11 years agoreusing existing API
Stefan Csomor [Thu, 13 Jun 2013 14:06:02 +0000 (14:06 +0000)] 
reusing existing API

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

11 years agoreusing existing API
Stefan Csomor [Thu, 13 Jun 2013 14:04:41 +0000 (14:04 +0000)] 
reusing existing API

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

11 years agoRemove the unused code instead of commenting it out.
Vadim Zeitlin [Thu, 13 Jun 2013 13:58:15 +0000 (13:58 +0000)] 
Remove the unused code instead of commenting it out.

Just clean up the fixes of r74197.

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

11 years agoCheck wxListCtrl::GetItemRect() origin in the unit tests.
Vadim Zeitlin [Thu, 13 Jun 2013 13:57:51 +0000 (13:57 +0000)] 
Check wxListCtrl::GetItemRect() origin in the unit tests.

Verify that the top item is _not_ at (0, 0) when the header is present in the
control, as the control client coordinates should not take the header into
account.

This test passes when using wxGenericListCtrl since r74197, add it to ensure
that it doesn't get broken again later.

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

11 years agoUse two step creation of wxListHeaderWindow to avoid reentrancy under OSX.
Vadim Zeitlin [Thu, 13 Jun 2013 13:57:28 +0000 (13:57 +0000)] 
Use two step creation of wxListHeaderWindow to avoid reentrancy under OSX.

This improves the solution of the problem already solved in r74197 by
separating setting of m_headerWin variable from the window creation instead of
using an explicit recursion check.

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

11 years agoAdd some missing wxGraphicsContext methods
Robin Dunn [Thu, 13 Jun 2013 07:26:41 +0000 (07:26 +0000)] 
Add some missing wxGraphicsContext methods

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

11 years agoAdd doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
Robin Dunn [Thu, 13 Jun 2013 07:26:12 +0000 (07:26 +0000)] 
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target, and which can be used for measuring text, etc.

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

11 years agomake methods available to all ports
Stefan Csomor [Thu, 13 Jun 2013 00:42:24 +0000 (00:42 +0000)] 
make methods available to all ports

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

11 years agofixing reentrancy which happened in tests, bringing client coordinates origins in...
Stefan Csomor [Thu, 13 Jun 2013 00:38:54 +0000 (00:38 +0000)] 
fixing reentrancy which happened in tests, bringing client coordinates origins in synch

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

11 years agoslight adaption, shorter max wait
Stefan Csomor [Thu, 13 Jun 2013 00:19:10 +0000 (00:19 +0000)] 
slight adaption, shorter max wait

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

11 years agowait for the frame window to be really done on OSX before starting
Stefan Csomor [Thu, 13 Jun 2013 00:15:59 +0000 (00:15 +0000)] 
wait for the frame window to be really done on OSX before starting

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

11 years agousing Destroy, as otherwise the remnants get into the way for some other tests
Stefan Csomor [Thu, 13 Jun 2013 00:11:18 +0000 (00:11 +0000)] 
using Destroy, as otherwise the remnants get into the way for some other tests

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

11 years agoadding exceptions for OSX
Stefan Csomor [Thu, 13 Jun 2013 00:08:27 +0000 (00:08 +0000)] 
adding exceptions for OSX

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

11 years agoadding missing include
Stefan Csomor [Wed, 12 Jun 2013 23:48:01 +0000 (23:48 +0000)] 
adding missing include

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

11 years agosupporting max len event
Stefan Csomor [Wed, 12 Jun 2013 22:04:38 +0000 (22:04 +0000)] 
supporting max len event

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

11 years agoosx needs a refocus
Stefan Csomor [Wed, 12 Jun 2013 21:30:38 +0000 (21:30 +0000)] 
osx needs a refocus

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

11 years agoquite ugly workaround, but even the engineers at WWDC couldn't give me a better alter...
Stefan Csomor [Wed, 12 Jun 2013 21:23:45 +0000 (21:23 +0000)] 
quite ugly workaround, but even the engineers at WWDC couldn't give me a better alternative, fixes #14968

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

11 years agoguarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp...
Stefan Csomor [Wed, 12 Jun 2013 21:18:52 +0000 (21:18 +0000)] 
guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes 15115

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

11 years agoguarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp...
Stefan Csomor [Wed, 12 Jun 2013 20:45:38 +0000 (20:45 +0000)] 
guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

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

11 years agoguarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp...
Stefan Csomor [Wed, 12 Jun 2013 20:44:40 +0000 (20:44 +0000)] 
guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

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

11 years agoexposing useful typedefs
Stefan Csomor [Wed, 12 Jun 2013 20:41:04 +0000 (20:41 +0000)] 
exposing useful typedefs

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

11 years agoadding check for invalid date
Stefan Csomor [Wed, 12 Jun 2013 18:52:55 +0000 (18:52 +0000)] 
adding check for invalid date

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

11 years agoas the native control doesn't check the min max values, we do it ourselves
Stefan Csomor [Wed, 12 Jun 2013 17:55:43 +0000 (17:55 +0000)] 
as the native control doesn't check the min max values, we do it ourselves

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

11 years agoFrench translations update from Xaviou.
Vadim Zeitlin [Wed, 12 Jun 2013 13:55:07 +0000 (13:55 +0000)] 
French translations update from Xaviou.

Closes #15247.

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

11 years agoDon't translate closing single quote in the font face name.
Vadim Zeitlin [Wed, 12 Jun 2013 13:54:43 +0000 (13:54 +0000)] 
Don't translate closing single quote in the font face name.

This is completely unnecessary and just creates extra work for the
translators.

See #15247.

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

11 years agoThe style listbox now takes into account the style background colour if specified.
Julian Smart [Wed, 12 Jun 2013 09:51:32 +0000 (09:51 +0000)] 
The style listbox now takes into account the style background colour if specified.

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

11 years agoadding hook, but unfortunately no solution yet for wxComboBox::SetEditable
Stefan Csomor [Wed, 12 Jun 2013 06:51:24 +0000 (06:51 +0000)] 
adding hook, but unfortunately no solution yet for wxComboBox::SetEditable

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

11 years agonow working on cocoa as well
Stefan Csomor [Wed, 12 Jun 2013 05:46:54 +0000 (05:46 +0000)] 
now working on cocoa as well

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

11 years agococoa needs a special implementation for read-only combo box
Stefan Csomor [Wed, 12 Jun 2013 05:45:35 +0000 (05:45 +0000)] 
cocoa needs a special implementation for read-only combo box

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

11 years agoClear is also expected to clear the text
Stefan Csomor [Wed, 12 Jun 2013 05:25:22 +0000 (05:25 +0000)] 
Clear is also expected to clear the text

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

11 years agomissing commit
Stefan Csomor [Tue, 11 Jun 2013 23:14:20 +0000 (23:14 +0000)] 
missing commit

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

11 years agodisable tests depending on a focusable slider control
Stefan Csomor [Tue, 11 Jun 2013 22:33:00 +0000 (22:33 +0000)] 
disable tests depending on a focusable slider control

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

11 years agodraghino explicitly
Stefan Csomor [Tue, 11 Jun 2013 22:27:48 +0000 (22:27 +0000)] 
draghino explicitly

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

11 years agoadding default impl
Stefan Csomor [Tue, 11 Jun 2013 22:26:11 +0000 (22:26 +0000)] 
adding default impl

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

11 years agoadd more high-level event concepts, fixing native button number
Stefan Csomor [Tue, 11 Jun 2013 22:25:21 +0000 (22:25 +0000)] 
add more high-level event concepts, fixing native button number

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

11 years agomoving click point sightly more inside, #ifndef tests failing with the generic implem...
Stefan Csomor [Tue, 11 Jun 2013 22:21:30 +0000 (22:21 +0000)] 
moving click point sightly more inside, #ifndef tests failing with the generic implementation

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

11 years agofixing typo
Stefan Csomor [Tue, 11 Jun 2013 22:19:21 +0000 (22:19 +0000)] 
fixing typo

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

11 years agofixing include styles
Stefan Csomor [Tue, 11 Jun 2013 22:18:33 +0000 (22:18 +0000)] 
fixing include styles

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

11 years agonotify the event loop that synthesized events are on the queue, wait for them to...
Stefan Csomor [Tue, 11 Jun 2013 17:56:27 +0000 (17:56 +0000)] 
notify the event loop that synthesized events are on the queue, wait for them to be available, also on OSX a double click has to be synthesized slightly differently

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

11 years agobetter support for ui action simulation
Stefan Csomor [Tue, 11 Jun 2013 17:54:07 +0000 (17:54 +0000)] 
better support for ui action simulation

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

11 years agoUse correct extensions in wxDynamicLibrary::CanonicalizeName() on OS X.
Václav Slavík [Tue, 11 Jun 2013 16:46:49 +0000 (16:46 +0000)] 
Use correct extensions in wxDynamicLibrary::CanonicalizeName() on OS X.

Contrary to the documentation, this function incorrectly appended the
.bundle extension on OS X for libraries as well as modules.

Fixed to use .dylib for libraries (wxDL_LIBRARY) and continue to use
.bundle for loadable modules (wxDL_MODULE). Change GetDllExt() to take optional wxDynamicLibearyCategory argument.

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

11 years agoUntranslated strings now won't be overwritten by regenerating the dialog.
Julian Smart [Tue, 11 Jun 2013 14:01:47 +0000 (14:01 +0000)] 
Untranslated strings now won't be overwritten by regenerating the dialog.

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

11 years agoFix wrong use of EVT_COMMAND in the example in wxThread documentation.
Vadim Zeitlin [Tue, 11 Jun 2013 12:25:00 +0000 (12:25 +0000)] 
Fix wrong use of EVT_COMMAND in the example in wxThread documentation.

As the event being defined is a wxThreadEvent, EVT_THREAD must be used.

Also rename wxEVT_COMMAND_MYTHREAD_UPDATE to myEVT_THREAD_UPDATE to avoid
using "wxEVT_" prefix reserved by wx itself.

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

11 years agoFixed a refresh bug due to the optimized refresh rect being calculated incorrectly.
Julian Smart [Tue, 11 Jun 2013 10:20:11 +0000 (10:20 +0000)] 
Fixed a refresh bug due to the optimized refresh rect being calculated incorrectly.

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

11 years agoAdd wxMouseEvent::GetColumnsPerAction().
Vadim Zeitlin [Mon, 10 Jun 2013 15:53:29 +0000 (15:53 +0000)] 
Add wxMouseEvent::GetColumnsPerAction().

This is similar to the existing GetLinesPerAction() but is for, surprise,
columns.

Also change the documentation to say that the value returned by both of these
methods is 3 under "most platforms" as some wxOSX currently uses 1 and not 3.

Closes #15239.

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

11 years agoAvoid problems when reparenting a TLW under a child in wxGTK.
Vadim Zeitlin [Mon, 10 Jun 2013 15:53:04 +0000 (15:53 +0000)] 
Avoid problems when reparenting a TLW under a child in wxGTK.

Don't use a TLW with gtk_fixed_put().

Closes #15237.

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

11 years agoFix crash when undoing the deletion of a nested table column in wxRTC.
Vadim Zeitlin [Mon, 10 Jun 2013 15:52:41 +0000 (15:52 +0000)] 
Fix crash when undoing the deletion of a nested table column in wxRTC.

Fix the object parent when applying the actions.

Closes #15186.

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

11 years agoLink with libjbig when using built-in libtiff under Unix.
Vadim Zeitlin [Mon, 10 Jun 2013 15:52:17 +0000 (15:52 +0000)] 
Link with libjbig when using built-in libtiff under Unix.

If libjbig is available, the built-in libtiff build process picks it up and
uses it, requiring all the code linking with libtiff to link with it too, so
add it to the list of the libraries in this case.

This is the same change as was already done for liblzma dependency in r74033,
see #14963.

Closes #15244.

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

11 years agoUpdated all the message catalogs with the latest translations.
Vadim Zeitlin [Mon, 10 Jun 2013 15:51:49 +0000 (15:51 +0000)] 
Updated all the message catalogs with the latest translations.

No real changes, just the result of running "make -C locale allpo".

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

11 years agoDon't mark the strings "1", "2", ... "10" as translatable.
Vadim Zeitlin [Mon, 10 Jun 2013 15:51:10 +0000 (15:51 +0000)] 
Don't mark the strings "1", "2", ... "10" as translatable.

They are the same in all the languages, don't create extra work for the
translators.

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

11 years agoMore docs cleanup and fixes for richtextbuffer
Robin Dunn [Sat, 8 Jun 2013 23:24:04 +0000 (23:24 +0000)] 
More docs cleanup and fixes for richtextbuffer

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

11 years agoRemove some wxT()'s in the docs
Robin Dunn [Sat, 8 Jun 2013 23:23:32 +0000 (23:23 +0000)] 
Remove some wxT()'s in the docs

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

11 years agoMore richtext fixes for Phoenix
Robin Dunn [Sat, 8 Jun 2013 23:23:02 +0000 (23:23 +0000)] 
More richtext fixes for Phoenix

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

11 years agoExclude src/msw/version.rc from svn pre-commit hook checks.
Vadim Zeitlin [Sat, 8 Jun 2013 02:29:06 +0000 (02:29 +0000)] 
Exclude src/msw/version.rc from svn pre-commit hook checks.

This file must be remain in CP1252 encoding and not UTF-8 because this is what
Windows uses for showing the strings in it, so exclude it from this check.

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

11 years agoUndo MIME type change of r74120.
Vadim Zeitlin [Sat, 8 Jun 2013 02:27:50 +0000 (02:27 +0000)] 
Undo MIME type change of r74120.

Undo the temporary hack which was required to commit the non-UTF-8 file. In
the future the commit hook will be updated to relax the check for this file so
it won't be necessary any longer.

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

11 years agoUse library-specific description in their version resources for MSW DLLs.
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:58 +0000 (02:23 +0000)] 
Use library-specific description in their version resources for MSW DLLs.

Reusing the same description for all files wasn't especially useful, make it
more informative.

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

11 years agoRemove duplicate WXMAKINGDLL_RIBBON-related code.
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:55 +0000 (02:23 +0000)] 
Remove duplicate WXMAKINGDLL_RIBBON-related code.

For some reason both the definition of and test for WXMAKINGDLL_RIBBON was
duplicated.

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

11 years agoSimplify the version information resource definition a little.
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:52 +0000 (02:23 +0000)] 
Simplify the version information resource definition a little.

Put the correct data into FileVersion and InternalName fields and remove
LegalTrademarks, PrivateBuild and SpecialBuild completely as they are optional
and shouldn't be present if the corresponding flags are not set, see
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx

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

11 years agoAdd back the copyright symbol to the version information resource.
Vadim Zeitlin [Sat, 8 Jun 2013 02:23:48 +0000 (02:23 +0000)] 
Add back the copyright symbol to the version information resource.

It has somehow disappeared in r62054 (see #10659).

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

11 years agoSet MIME type of Windows resource file to non-text.
Vadim Zeitlin [Sat, 8 Jun 2013 02:22:52 +0000 (02:22 +0000)] 
Set MIME type of Windows resource file to non-text.

This is just a hack to allow this file to be in non-UTF-8 as the commit hook
currently checks that UTF-8 is used for all text files.

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

11 years agoUpdate copyright year in the version information resource.
Vadim Zeitlin [Sat, 8 Jun 2013 02:08:30 +0000 (02:08 +0000)] 
Update copyright year in the version information resource.

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

11 years agoassociate the outline view with the impl, fixes #13748
Stefan Csomor [Tue, 4 Jun 2013 16:18:53 +0000 (16:18 +0000)] 
associate the outline view with the impl, fixes #13748

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

11 years agorefactoring focus handling
Stefan Csomor [Tue, 4 Jun 2013 07:22:54 +0000 (07:22 +0000)] 
refactoring focus handling

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

11 years agoexposing wxOSXGetViewFromResponder
Stefan Csomor [Tue, 4 Jun 2013 07:06:19 +0000 (07:06 +0000)] 
exposing wxOSXGetViewFromResponder

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

11 years agoadding a more extensive version to arrive at the impl when given a native control...
Stefan Csomor [Tue, 4 Jun 2013 06:54:50 +0000 (06:54 +0000)] 
adding a more extensive version to arrive at the impl when given a native control, taking into account eg the composited controls of a scrollview

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

11 years agoadding comment
Stefan Csomor [Tue, 4 Jun 2013 06:27:02 +0000 (06:27 +0000)] 
adding comment

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

11 years agoavoiding reentrancy problems and congestion
Stefan Csomor [Mon, 3 Jun 2013 17:54:31 +0000 (17:54 +0000)] 
avoiding reentrancy problems and congestion

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

11 years agoavoiding focus lost events when a different subview gets focused, see #14042
Stefan Csomor [Mon, 3 Jun 2013 17:49:03 +0000 (17:49 +0000)] 
avoiding focus lost events when a different subview gets focused, see #14042

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

11 years agomake sure we don't execute pending deletes either when in runModel, otherwise reentra...
Stefan Csomor [Mon, 3 Jun 2013 14:57:56 +0000 (14:57 +0000)] 
make sure we don't execute pending deletes either when in runModel, otherwise reentrancy problems occur

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

11 years agousing ordinary Show for popup windows as on MSW which activates it as well, I'll...
Stefan Csomor [Mon, 3 Jun 2013 13:21:10 +0000 (13:21 +0000)] 
using ordinary Show for popup windows as on MSW which activates it as well, I'll rewire ShowWithoutActivating for the other use case, fixes #15008

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

11 years agorefactoring SizeEvent sending
Stefan Csomor [Mon, 3 Jun 2013 13:01:50 +0000 (13:01 +0000)] 
refactoring SizeEvent sending

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

11 years agorefactoring SizeEvent sending
Stefan Csomor [Mon, 3 Jun 2013 12:58:29 +0000 (12:58 +0000)] 
refactoring SizeEvent sending

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

11 years agoforgot to commit ...
Stefan Csomor [Mon, 3 Jun 2013 11:47:53 +0000 (11:47 +0000)] 
forgot to commit ...

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

11 years agoattempt to get the 'new focus' window parameter of a focus kill event set correctly
Stefan Csomor [Mon, 3 Jun 2013 10:37:01 +0000 (10:37 +0000)] 
attempt to get the 'new focus' window parameter of a focus kill event set correctly

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

11 years agodeal with Cocoa as we do with Carbon, see #15008
Stefan Csomor [Mon, 3 Jun 2013 09:40:50 +0000 (09:40 +0000)] 
deal with Cocoa as we do with Carbon, see #15008

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

11 years agodeal with Cocoa as we do with Carbon, see #15008
Stefan Csomor [Mon, 3 Jun 2013 08:34:11 +0000 (08:34 +0000)] 
deal with Cocoa as we do with Carbon, see #15008

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

11 years agomake sure mouse moved events are always delivered, see #15008
Stefan Csomor [Mon, 3 Jun 2013 08:32:15 +0000 (08:32 +0000)] 
make sure mouse moved events are always delivered, see #15008

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

11 years agomake sure button clicks etc. on a popup window don't lead to a dismissal because...
Stefan Csomor [Mon, 3 Jun 2013 08:30:33 +0000 (08:30 +0000)] 
make sure button clicks etc. on a popup window don't lead to a dismissal because their GetWindow()/parent = popup check didn't work

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

11 years agoTurkish translations update from Kaya Zeren.
Vadim Zeitlin [Sun, 2 Jun 2013 18:03:21 +0000 (18:03 +0000)] 
Turkish translations update from Kaya Zeren.

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

11 years agoupdated Xcode project files
Stefan Csomor [Sun, 2 Jun 2013 15:02:06 +0000 (15:02 +0000)] 
updated Xcode project files

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

11 years agodon't take resize indicators into account if we are at 10.7 or higher, they don't...
Stefan Csomor [Sun, 2 Jun 2013 09:57:26 +0000 (09:57 +0000)] 
don't take resize indicators into account if we are at 10.7 or higher, they don't exist anymore … see #15187

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

11 years agopropagate scroll wheel events to parent, fixes #15187
Stefan Csomor [Sun, 2 Jun 2013 09:33:33 +0000 (09:33 +0000)] 
propagate scroll wheel events to parent, fixes #15187

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

11 years agofixes potential crash under gatekeeper
Stefan Csomor [Sat, 1 Jun 2013 18:29:41 +0000 (18:29 +0000)] 
fixes potential crash under gatekeeper

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

11 years agoonly set native window level, when not using a wrapped native window, see #14739
Stefan Csomor [Sat, 1 Jun 2013 18:28:53 +0000 (18:28 +0000)] 
only set native window level, when not using a wrapped native window, see #14739

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

11 years agoupdate position for widgets in native containers, fixes #15231
Paul Cornett [Sat, 1 Jun 2013 17:06:14 +0000 (17:06 +0000)] 
update position for widgets in native containers, fixes #15231

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

11 years agoDocument that wxRadioBox::SetSelection() doesn't accept wxNOT_FOUND.
Vadim Zeitlin [Fri, 31 May 2013 23:21:40 +0000 (23:21 +0000)] 
Document that wxRadioBox::SetSelection() doesn't accept wxNOT_FOUND.

A radio box always has selection and it can't be unset (at least not under all
platforms), so document that the item passed to its SetSelection() must be
valid, unlike with SetSelection() methods in some other classes.

Closes #15233.

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

11 years agoChange wxMSW wxTreeCtrl::DoFreeze() to not hide the tree any more.
Vadim Zeitlin [Fri, 31 May 2013 23:21:36 +0000 (23:21 +0000)] 
Change wxMSW wxTreeCtrl::DoFreeze() to not hide the tree any more.

Hiding the tree when it's frozen, as done in r72665, results in its own
problems, e.g. loss of focus. So don't do this but resize the control to a
very small size when freezing it and restore it to its old size afterwards.

Closes #15166.

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

11 years agoAdd wxFileDialog::GetCurrentlySelectedFilename().
Vadim Zeitlin [Fri, 31 May 2013 23:21:27 +0000 (23:21 +0000)] 
Add wxFileDialog::GetCurrentlySelectedFilename().

Also send wxEVT_UPDATE_UI events for the extra controls in wxFileDialog.

The combination of these changes allows extra controls to update their state
depending on the current selection in the dialog. Show a simple example of
doing it in the dialogs sample.

Closes #15235.

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

11 years agoDon't create multiple parent-less top level frames in layout sample.
Vadim Zeitlin [Fri, 31 May 2013 23:21:21 +0000 (23:21 +0000)] 
Don't create multiple parent-less top level frames in layout sample.

This resulted in unexpected behaviour if the main frame was closed while the
other ones were still shown as they remained shown and had to be hunted and
closed one by one to make the application exit.

Fix this simply by creating all the other frames as children of the main one.
This also results in better UI when minimizing and restoring the main frame.

Also get rid of unused position parameters in child frame constructors and get
rid of the title parameter which is not really needed as it's always the same
too.

See #11923.

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

11 years agoFix wxStyledTextCtrl::SetInsertionPointEnd().
Vadim Zeitlin [Fri, 31 May 2013 23:21:16 +0000 (23:21 +0000)] 
Fix wxStyledTextCtrl::SetInsertionPointEnd().

This relied on SetInsertionPoint(-1) working like in wxTextCtrl but it didn't.
Add an explicit check to it for consistency with the other classes and to make
SetInsertionPointEnd() work.

Closes #15234.

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

11 years agoImprove horizontal scrolling in wxRibbonControl.
Vadim Zeitlin [Fri, 31 May 2013 23:21:11 +0000 (23:21 +0000)] 
Improve horizontal scrolling in wxRibbonControl.

Scroll by entire "sections", i.e. panes of the ribbon, instead of scrolling by
a fixed number of pixels as it's much more useful and user-friendly to uncover
the next section entirely instead of asking the user to press on the arrow
several times before being able to use it.

Closes #15232.

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

11 years agoUse deferred window positioning in wxWindow::Layout() in wxMSW.
Vadim Zeitlin [Fri, 31 May 2013 23:21:06 +0000 (23:21 +0000)] 
Use deferred window positioning in wxWindow::Layout() in wxMSW.

Ensure that {Begin,End}RepositioningChildren() are called before/after
changing the positions of multiple children, whether we're using sizers or
constraints.

This fixes display corruption which could happen under Windows 7 and a child
resized first became bigger, pushing off the children resized later.

Closes #15214.

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

11 years agoAdd wxWindow::BeginRepositioningChildren() and EndRepositioningChildren().
Vadim Zeitlin [Fri, 31 May 2013 23:21:03 +0000 (23:21 +0000)] 
Add wxWindow::BeginRepositioningChildren() and EndRepositioningChildren().

This is just a refactoring of wxMSW code to make it possible to use deferred
window positioning from other places in subsequent commits.

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

11 years agoMake wxSharedPtr::Release() really MT-safe.
Vadim Zeitlin [Fri, 31 May 2013 23:20:58 +0000 (23:20 +0000)] 
Make wxSharedPtr::Release() really MT-safe.

Using wxAtomicDec() is not enough, its result also must be checked as it will
return 0 only in one of the threads if multiple threads call it in parallel,
while the old test for m_count==0 could pass for more than one thread,
resulting in deleting the same pointer more than once.

Closes #15227.

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

11 years agoFix for special characters in Doxygen comments.
Vadim Zeitlin [Fri, 31 May 2013 23:20:53 +0000 (23:20 +0000)] 
Fix for special characters in Doxygen comments.

Escape "-" characters in the beginning of the paragraph as they are not
handled properly by Doxygen otherwise.

Escape the space after "i.e." to prevent the brief doc string from being
terminated by it.

Escape "--" which is translated to a dash by Doxygen otherwise.

Closes #15228.

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

11 years agoFix assert when adding columns to wxGrid using native header.
Vadim Zeitlin [Fri, 31 May 2013 23:20:48 +0000 (23:20 +0000)] 
Fix assert when adding columns to wxGrid using native header.

Change the order of updating m_colWidths array and the native header control
in wxGird::Redimension() to ensure that we can test whether the column is
shown (which results in accessing m_colWidths element at this column index)
from the wxGridHeaderCtrl::SetColumnCount().

Closes #15225.

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