X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/567be1875494c4cb90a3bdff691f8545e4f6e41d..5af11a9413cd158fdb0eae77c5a387fdd4e92c95:/src/generic/filedlgg.cpp diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 17333175ab..71eaa00fef 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "filedlgg.h" #endif @@ -63,6 +63,11 @@ #endif #endif +#ifdef __WINDOWS__ + #include "wx/msw/wrapwin.h" + #include "wx/msw/mslu.h" +#endif + #ifdef __WATCOMC__ #include #endif @@ -873,7 +878,7 @@ wxGenericFileDialog::wxGenericFileDialog(wxWindow *parent, wxArrayString wildDescriptions, wildFilters; if ( !ParseWildcard(m_wildCard, wildDescriptions, wildFilters) ) { - wxFAIL_MSG( wxT("Wrong file type descripition") ); + wxFAIL_MSG( wxT("Wrong file type description") ); } // layout @@ -1204,8 +1209,7 @@ void wxGenericFileDialog::HandleAction( const wxString &fn ) wxFileExists( filename ) ) { wxString msg; - msg.Printf( _("File '%s' already exists, do you really want to " - "overwrite it?"), filename.c_str() ); + msg.Printf( _("File '%s' already exists, do you really want to overwrite it?"), filename.c_str() ); if (wxMessageBox(msg, _("Confirm"), wxYES_NO) != wxYES) return;