#ifdef __GNUG__
#pragma implementation "ftp.h"
#endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
#include <memory.h>
#include <stdlib.h>
#include "wx/string.h"
{
if ((m_lastError = GetLine(this, m_lastResult)))
return FALSE;
- if (m_lastResult[0] != exp) {
+ if (m_lastResult.GetChar(0) != exp) {
m_lastError = wxPROTO_PROTERR;
return FALSE;
}
- if (m_lastResult[3] == '-') {
+ if (m_lastResult.GetChar(3) == '-') {
wxString key = m_lastResult.Left((size_t)3);
key += ' ';