X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e111012a42a1bcb74c1ac07ff565ff4d7d1f9edf..959b1a338e3b7c0e237b53ef3d7c9b51f4063eb6:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index e4a6660bc0..f8b008b5f4 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "tipdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -200,6 +196,9 @@ wxString wxFileTipProvider::GetTip() tip = tip.BeforeLast(wxT('\"')); // ...and replace escaped quotes tip.Replace(wxT("\\\""), wxT("\"")); + + // and translate it as requested + tip = wxGetTranslation(tip); } return tip; @@ -222,7 +221,7 @@ wxTipDialog::wxTipDialog(wxWindow *parent, wxDEFAULT_DIALOG_STYLE #if !defined(__SMARTPHONE__) && !defined(__POCKETPC__) | wxRESIZE_BORDER -#endif +#endif ) { m_tipProvider = tipProvider;