// Copyright: (c) Mark Johnson, Berlin Germany
// Licence: wxWindows license
//----------------------------------------------------------------------------------------
-//-- all #ifdefs that the whole Project needs. -------------------------------------------
-//----------------------------------------------------------------------------------------
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-//----------------------------------------------------------------------------------------
+
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
//----------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
if (Temp1.Contains(_T("ODBC-")))
{
- Temp1 = Temp1.Mid(5,wxSTRING_MAXLEN);
+ Temp1 = Temp1.Mid(5);
for (i=0;i<pDoc->i_DSN;i++)
{
if (Temp1 == (pDoc->p_DSN+i)->Dsn)