X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/449110cd746414d5f77db428babe20b84720c73a..85ac8ca017a0409e9762ed305ccc1d32a7c28fa7:/src/msw/wince/filedlgwce.cpp diff --git a/src/msw/wince/filedlgwce.cpp b/src/msw/wince/filedlgwce.cpp index 218f15e5dc..bb0a24773b 100644 --- a/src/msw/wince/filedlgwce.cpp +++ b/src/msw/wince/filedlgwce.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "filedlg.h" #endif @@ -31,7 +31,7 @@ // 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" @@ -130,5 +130,10 @@ int wxFileDialog::ShowModal() } } +void wxFileDialog::GetFilenames(wxArrayString& files) const +{ + files = m_fileNames; +} + #endif // wxUSE_FILEDLG