Store the selected directory in wxGTK wxDirDialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 23:26:36 +0000 (23:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 23:26:36 +0000 (23:26 +0000)
commit5a7c1881a1395adf2a5154fece7a1e28d991a599
tree6ddc12f3e6f2ba1bd3901fe7e946da6b01d23757
parent656b9f44671d3f17ad6ea964f95a7468f7e66cdc
Store the selected directory in wxGTK wxDirDialog.

This should help with the selected directory not being remembered since
GTK+ 2.24.11 as apparently gtk_file_chooser_get_filename() doesn't work any
more now after hiding the dialog -- so call it before doing this and save the
result.

Also get rid of the ugly and apparently completely unnecessary OnFakeOk().

Closes #14525.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/dirdlg.h
src/gtk/dirdlg.cpp