X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e15e548b5073fd06a35f7328fb9b811f75702a52..520e470fdd0daef09c77938db642e4583933c90d:/src/msw/filedlg.cpp diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 05c91f918c..78b3437750 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -328,10 +328,10 @@ wxDefaultFileSelector(bool load, const char *what, const char *extension, const char prompt[50]; wxString str; if (load) - str = (const char*) wxTString("Load %s file"); + str = "Load %s file"; else - str = (const char*) wxTString("Save %s file"); - sprintf(prompt, str, what); + str = "Save %s file"; + sprintf(prompt, wxGetTranslation(str), what); if (*ext == '.') ext++; char wild[60];