X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f74172ab4256c9e7c665e44e2f94ce12bf84a37f..c5c5dad5950a43edbb9a4e7144f44b8f3bd6bf80:/include/wx/mac/filedlg.h diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index ae87c1511f..4cc0387a08 100644 --- a/include/wx/mac/filedlg.h +++ b/include/wx/mac/filedlg.h @@ -12,7 +12,7 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlg.h" #endif @@ -37,6 +37,7 @@ public: const wxPoint& pos = wxDefaultPosition); virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; } + virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; } virtual int ShowModal();