Add wxFileDialog::GetCurrentlySelectedFilename() and support for update UI events for wxFileDialog extra controls
|Reported by:||cgodkin||Owned by:|
As discussed on the wx-users mailing list here
I've added a new function GetCurrentlySelectedFilename() to wxFileDialog for wxGTK and wxMSW. This function returns the file that the dialog currently indicates but has not selected with "Ok."
This can be used in an UpdateUI callback that the user may add to any extra controls added to the wxFileDialog.
In addition, UpdateUI events were not delivered to the extra controls. I've added support for doing so for both platforms as well.
I've updated the interface/filedlg.h file as well.