]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/filedlgwce.cpp
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / src / msw / wince / filedlgwce.cpp
index f8fde83eb4d950e245d30c3229b88ad7147a5c51..bb0a24773b6004943f198c90c2c639d8750dd436 100644 (file)
@@ -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