Fix setting default file name in wxGenericFileDirButton in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 28 Feb 2012 02:05:01 +0000 (02:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 28 Feb 2012 02:05:01 +0000 (02:05 +0000)
commit74bde8745fdb770a811fa6157d16c4d0ad413d04
tree59b9aee047001ac608b9ea02863f02e646d95fef
parent257d35aead848ef7ea2009c4291dd2499b9ae94f
Fix setting default file name in wxGenericFileDirButton in wxGTK.

Set the default directory first, if it's specified, and the file name later to
ensure that it's interpreted relatively to this directory. Otherwise we could
have a mismatch between the directory shown in the dialog and its initial
path.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/filepickerg.cpp