| 236 | } |
| 237 | |
| 238 | wxString HelpText( const wxString & Key ) |
| 239 | { |
| 240 | |
| 241 | // Possible future enhancement... |
| 242 | // We could look for the text as a local file and use |
| 243 | // that if we find it... |
| 244 | // if( wxFileExists( Path+Key ) ) |
| 245 | // ... |
| 246 | |
| 247 | wxString Text; |
| 248 | Text = HelpTextBuiltIn( Key ); |
| 249 | |
| 250 | if( !Text.empty()) |
| 251 | return LinkExpand( Text ); |
| 252 | |
| 253 | // Perhaps useful for debugging - we'll return key that we didn't find. |
| 254 | return WrapText( Key ); |
| 255 | } |
| 256 | |
| 257 | |
| 258 | wxString FormatHtmlText( const wxString & Text ){ |
no test coverage detected