translate tips which appear inside _() in wxFileTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -196,6 +196,9 @@ wxString wxFileTipProvider::GetTip()
|
|||||||
tip = tip.BeforeLast(wxT('\"'));
|
tip = tip.BeforeLast(wxT('\"'));
|
||||||
// ...and replace escaped quotes
|
// ...and replace escaped quotes
|
||||||
tip.Replace(wxT("\\\""), wxT("\""));
|
tip.Replace(wxT("\\\""), wxT("\""));
|
||||||
|
|
||||||
|
// and translate it as requested
|
||||||
|
tip = wxGetTranslation(tip);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tip;
|
return tip;
|
||||||
@@ -218,7 +221,7 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
|
|||||||
wxDEFAULT_DIALOG_STYLE
|
wxDEFAULT_DIALOG_STYLE
|
||||||
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
|
#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
|
||||||
| wxRESIZE_BORDER
|
| wxRESIZE_BORDER
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
m_tipProvider = tipProvider;
|
m_tipProvider = tipProvider;
|
||||||
|
Reference in New Issue
Block a user