X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..ccf5c8a88ceee413484871554cdb026b518520f6:/src/generic/filedlgg.cpp diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index c4445150ae..71eaa00fef 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -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;