* SYNOPSIS END
*/
-#ifdef __GNUG__
-#pragma implementation "dbtest.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
wxLogMessage(nativeDataTypeName);
}
#endif
+#ifdef SQL_WVARCHAR
+ if (DataTypeSupported(pDb,SQL_WVARCHAR, &nativeDataTypeName))
+ {
+ nativeDataTypeName = wxT("SQL_WVARCHAR (") + nativeDataTypeName;
+ nativeDataTypeName += wxT(")\n");
+ wxLogMessage(nativeDataTypeName);
+ }
+#endif
+#ifdef SQL_WCHAR
+ if (DataTypeSupported(pDb,SQL_WCHAR, &nativeDataTypeName))
+ {
+ nativeDataTypeName = wxT("SQL_WCHAR (") + nativeDataTypeName;
+ nativeDataTypeName += wxT(")\n");
+ wxLogMessage(nativeDataTypeName);
+ }
+#endif
wxLogMessage(wxT("Done\n"));
} // CheckSupportForAllDataTypes()
/* const wxString &orderBy */ wxT("NAME"),
/* wxDb *pDb */ wxGetApp().READONLY_DB,
/* const wxString &defDir */ wxGetApp().DbConnectInf->GetDefaultDir(),
- /* bool distinctValues*/ true);
+ /* bool distinctValues*/ true,
+ wxEmptyString, 20);
if (ListDB_Selection && wxStrlen(ListDB_Selection))
{
if (wxGetApp().Contact->GetDb()->Catalog(wxEmptyString, wxT("catalog.txt")))
wxMessageBox(wxT("The file 'catalog.txt' was created."));
else
- wxMessageBox(wxT("Creation of the file 'catalog.txt' was failed."));
+ wxMessageBox(wxT("Creation of the file 'catalog.txt' failed."));
return;
}
if(m_pImage->Ok())
{
- m_pBmp = new wxBitmap(m_pImage);
+ m_pBmp = new wxBitmap(*m_pImage);
m_pDisplayBmp = new wxStaticBitmap(this, IMAGE_DIALOG_STATIC_BMP, *m_pBmp, wxPoint(5,5), wxDefaultSize);
SetSize(m_pBmp->GetWidth() + 10, m_pBmp->GetHeight() + 30);