Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / sound / source_sounds_builder / file_dialog.cpp
blob253f2a2c064bde0b5125f167e6130b2b44d83ef0
1 /*
2 * Workaround from the MFC CFileDialog Multi Select bug
3 * Thanks to Jens Bohlmann (bohly@ki.comcity.de)
4 */
6 #include "file_dialog.h"
8 CMultiFileDialog::CMultiFileDialog(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,
9 DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd) :
10 CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd)
12 m_ofn.lpstrFile = m_strFileName.GetBuffer(FILENAME_BUFFERSIZE);
13 m_ofn.nMaxFile = FILENAME_BUFFERSIZE;
14 m_ofn.Flags |= OFN_ALLOWMULTISELECT;