#pragma hdrstop
#endif
+#if wxUSE_FILEDLG
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/msgdlg.h"
#ifndef MAXEXT
# define MAXEXT 5
#endif
+
IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
// ----------------------------------------------------------------------------
}
if (nCount == 0)
sDir += m_fileName;
- if (sDir.IsEmpty())
+ if (sDir.empty())
sDir = wxT("*.*");
wxStrcpy((wxChar*)vFileDlg.szFullFile, sDir);
sFilterBuffer = sDir;
,&m_fileName
,&sExt
);
- if (zFileNameBuffer[nIdx] == wxT('.') || sExt.IsEmpty())
+ if (zFileNameBuffer[nIdx] == wxT('.') || sExt.empty())
{
zFileNameBuffer[nIdx] = wxT('\0');
return wxID_CANCEL;
} // end of wxFileDialog::ShowModal
+#endif // wxUSE_FILEDLG