]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't initialize wxFileDialog::m_filterIndex to 1 in wxMotif.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:55:59 +0000 (21:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Feb 2012 21:55:59 +0000 (21:55 +0000)
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

index cf105fe9be85d72a6b4d76fbfe52591e227501d5..57a4970dbe43260181de4d24e35007a90f12d6cd 100644 (file)
@@ -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)