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(
"#") && (tip.Trim() != wxEmptyString) )
84 if ( tip.StartsWith(
"_(\"" , &tip))
87 tip = tip.BeforeLast(
'\"');
89 tip.Replace(
"\\\"",
"\"");
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)