Fix crash on MSW when chosing rename from the right-click context menu after having slowly clicked twice on a file to already start rename.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6046 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Also fix rename crash on remote file list. Fixes 9797.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6047 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Fix context menu in search dialog on non-Windows platforms. Event object of the context menu event is the contained child window, not the wxListCtrl itself. Fixes #9803

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6049 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Fixing password paste broke context menu in site manager. Correct this regression by passing uninteresting events through to wxDialog. Fixes #9768


git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6051 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Restore from backup file if loading primary file fails.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6053 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Remove redundant variable as suggested by by XhmikosR.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6054 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Apply #8039 to allow file editing to start from search dialog. Patch by brunoramos.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6056 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Deduplicate some code.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6057 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Remove accidentally committed debug logging.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6058 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Bump to 3.0.9.4

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6059 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Reset triggered events when closing socket.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6062 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Bump to 3.9.0.5

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6064 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Modernize code a bit.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6067 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Fix assertion when dragging over empty list control


git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6068 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
On OS X, the default drag result if Control is pressed is wxDragNone. Fixup the drag result.


git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6069 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Preserve relative order of option change handlers.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6070 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Need to #include <algorithm> for std::find

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6071 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Small improvements for hidpi displays: Use dialog units, not pixels to specify sizes.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6072 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Translate WSAECONNRESET.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6095 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977
Mark labels of next and back button as translatable.

git-svn-id: https://svn.filezilla-project.org/svn/FileZilla3/trunk@6096 ce1b9ea0-41a8-11dc-9b12-cb80f3b22977