\begin{verbatim}
wxString command;
if ( filetype->GetOpenCommand(&command,
- MailMessageParamaters("foo.txt", "text/plain")) )
+ MailMessageParameters("foo.txt", "text/plain")) )
{
// the full command for opening the text documents is in 'command'
// (it might be "notepad foo.txt" under Windows or "cat foo.txt" under Unix)
In the second case, only the filename is specified and the command to be used
to open this kind of file is returned directly. An empty string is returned to
-indicate that an error occured (typically meaning that there is no standard way
+indicate that an error occurred (typically meaning that there is no standard way
to open this kind of files).
\membersection{wxFileType::GetPrintCommand}\label{wxfiletypegetprintcommand}