// Only use this for MS SmartPhone. Use standard file dialog
// for Pocket PC.
-#if wxUSE_FILEDLG && wxUSE_SMARTPHONE
+#if wxUSE_FILEDLG && defined(__SMARTPHONE__)
#ifndef WX_PRECOMP
#include "wx/utils.h"
wxWindow* parentWindow = GetParent();
if (!parentWindow)
parentWindow = wxTheApp->GetTopWindow();
-
+
wxString str = wxGetTextFromUser(m_message, _("File"), m_fileName, parentWindow);
if (str)
{
}
}
+void wxFileDialog::GetFilenames(wxArrayString& files) const
+{
+ files = m_fileNames;
+}
+
#endif // wxUSE_FILEDLG