From f030ce0cffdbafca8c8091b4abd1d0ec15339c43 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Feb 2012 21:55:59 +0000 Subject: [PATCH] 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 --- src/motif/filedlg.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index cf105fe..57a4970 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) -- 2.7.4