diff --git a/src/osx/cocoa/filedlg.mm b/src/osx/cocoa/filedlg.mm index 97620fcffe..002cda4136 100644 --- a/src/osx/cocoa/filedlg.mm +++ b/src/osx/cocoa/filedlg.mm @@ -191,6 +191,8 @@ void wxFileDialog::Init() m_filterIndex = -1; m_delegate = nil; m_sheetDelegate = nil; + m_filterPanel = NULL; + m_filterChoice = NULL; } void wxFileDialog::Create(