[pywin32-checkins] pywin32/Pythonwin win32dlg.cpp,1.13,1.14
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2010-09-28 15:54:39
|
Update of /cvsroot/pywin32/pywin32/Pythonwin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv9975 Modified Files: win32dlg.cpp Log Message: In win32ui.CreateFileDialog, allow filter arg to be None as documented Index: win32dlg.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32dlg.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** win32dlg.cpp 8 Jan 2009 22:11:52 -0000 1.13 --- win32dlg.cpp 28 Sep 2010 15:54:32 -0000 1.14 *************** *** 813,817 **** if (PyWinObject_AsTCHAR(obDefExt, &szDefExt, TRUE) &&PyWinObject_AsTCHAR(obFileName, &szFileName, TRUE) ! &&PyWinObject_AsTCHAR(obFilter, &szFilter)){ pDlg = new CFileDialog( bFileOpen, szDefExt, szFileName, flags, szFilter, pParent ); if (!pDlg){ --- 813,817 ---- if (PyWinObject_AsTCHAR(obDefExt, &szDefExt, TRUE) &&PyWinObject_AsTCHAR(obFileName, &szFileName, TRUE) ! &&PyWinObject_AsTCHAR(obFilter, &szFilter, TRUE)){ pDlg = new CFileDialog( bFileOpen, szDefExt, szFileName, flags, szFilter, pParent ); if (!pDlg){ |