29 #include "hugin_config.h"
38 : wxTipProvider(currentTip), m_textfile(filename)
48 return _(
"Tips not available, sorry!");
59 for (
size_t i=0; i < count; i++ )
65 if ( m_currentTip >= count )
76 if ( !tip.StartsWith(wxT(
"#")) && (tip.Trim() != wxEmptyString) )
84 if ( tip.StartsWith(wxT(
"_(\"" ), &tip))
87 tip = tip.BeforeLast(wxT(
'\"'));
89 tip.Replace(wxT(
"\\\""), wxT(
"\""));
93 tip = wxGetTranslation(tip);
100 #ifdef ThisNeverHappens
102 wxLogMessage(_(
"&Next Tip"));
103 wxLogMessage(_(
"&Show tips at startup"));
104 wxLogMessage(_(
"Tip of the Day"));
105 wxLogMessage(_(
"&Close"));
106 wxLogMessaeg(_(
"Did you know..."));
virtual wxString GetTip()
include file for the hugin project
LocalizedFileTipProvider(const wxString &filename, size_t currentTip)