From: Vadim Zeitlin Date: Mon, 20 Feb 2012 21:55:59 +0000 (+0000) Subject: Don't initialize wxFileDialog::m_filterIndex to 1 in wxMotif. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f030ce0cffdbafca8c8091b4abd1d0ec15339c43?ds=inline Don't initialize wxFileDialog::m_filterIndex to 1 in wxMotif. This makes it consistent with all the other ports. Closes #1129. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index cf105fe9be..57a4970dbe 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -113,7 +113,6 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, long style, const wxPoint& pos, const wxSize& sz, const wxString& name) :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name) { - m_filterIndex = 1; } static void wxChangeListBoxColours(wxWindow* WXUNUSED(win), Widget widget)