]> git.saurik.com Git - wxWidgets.git/commit
Fixed saving dialog's filter index always being -1 with wxOSX-Cocoa.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 20 Apr 2011 07:53:07 +0000 (07:53 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 20 Apr 2011 07:53:07 +0000 (07:53 +0000)
commit0d1cd87409608d690e17cfd1404e81b148ec4de5
tree209dd0611c613c10870492455a10b0e233f24cf9
parent753cba1a750ae50d39313201ffa29bd14f7bcf71
Fixed saving dialog's filter index always being -1 with wxOSX-Cocoa.

This problem was reproducable using the Save file dialog in the dialogs sample.
The member m_filterIndex was only initialised to -1 and never set at another point. Set it to the filter's selection during ModalFinishedCallback.

Closes #13158.

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