Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16764 closed defect (fixed)

wxFileDialog::GetFilterIndex always return 0

Reported by: phsilva Owned by: VZ
Priority: normal Milestone:
Component: wxOSX Version: 3.0.2
Keywords: wxFileDialog Cc:
Blocked By: Blocking:
Patch: yes


This is related to #13158 but this time with open dialog and it always returns 0 this time.

OSX-Cocoa on 3.0.2.

Apparently, on #13158 fix there was no treatment for open dialog.

Patch attached.

Attachments (1)

wxwidgets-3.0.2_macosx_filedialog.patch download (490 bytes) - added by phsilva 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by phsilva

comment:1 Changed 6 years ago by VZ

  • Owner set to VZ
  • Resolution set to fixed
  • Status changed from new to closed

In 78345:

(The changeset message doesn't reference this ticket)

comment:2 Changed 6 years ago by VZ

In 78346:

Fix wxFileDialog::GetFilterIndex() when opening files in wxOSX.

Update m_filterIndex in the "opening" case, just as we already did in the
"saving" one (see #13158 and r67550).

Closes #16764.

Note: See TracTickets for help on using tickets.