]> git.saurik.com Git - wxWidgets.git/commit
Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 25 Apr 2011 13:18:45 +0000 (13:18 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 25 Apr 2011 13:18:45 +0000 (13:18 +0000)
commitcbbb1f548962b30c43849e29fd64eceb4d8720e8
treebff6bf505969ac97d3657b03e16438e14190c144
parentaef081f465d68fabbf9e7abc0c57ea745b6fd55a
Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type.

When using SetFilterIndex to indicate a different initial file type the dialog would still use the extension of the first file type (if the filename had no extension then unchecking "Hide extension" would append the first file type's extension). Fixed this by calling code, that formerly got called only from OnFilterSelected, to notify OS X of the file type change.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/filedlg.h
src/osx/cocoa/filedlg.mm