Add wxFileDialog::GetCurrentlySelectedFilterIndex() and wxEVT_UPDATE_UI event notification when the selected file type filter changes #1310
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add wxFileDialog::GetCurrentlySelectedFilterIndex() and wxEVT_UPDATE_UI event notification when the selected file type filter changes
Added method wxFileDialog::GetCurrentlySelectedFilterIndex().
This method returns the 0-based file type filter currently selected in a file dialog, analogously to GetCurrentlySelectedFilename() does for the current file.
Only supported in MSW. The value returned is always undefined elsewhere.
Added a wxEVT_UPDATE_UI event notification when the selection of the file type filter changes.
This allows extra file dialog controls to adjust their state depending on the file type filter currently selected.
Only supported in MSW.