// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "dbtest.h"
-#endif
-
#include "wx/string.h"
#include "wx/dbtable.h"
#if wxUSE_GRID
#define FILE_DBGRID_TABLE 130
#endif
-#define FILE_EXIT 199
+#define FILE_EXIT wxID_EXIT
#define EDIT_PARAMETERS 200
-#define HELP_ABOUT 300
+#define HELP_ABOUT wxID_ABOUT
// this seems to be missing, Robert Roebling (?)
#ifndef MAX_PATH
#endif
// Name of the table to be created/opened
-const wxChar CONTACT_TABLE_NAME[] = wxT("contacts");
+const wxString CONTACT_TABLE_NAME = wxT("CONTACTS");
#define wxODBC_BLOB_SUPPORT
const int CONTACT_NO_COLS = 12; // 0-11
#endif
-const wxChar PARAM_FILENAME[] = wxT("dbtest.cfg");
+const wxString PARAM_FILENAME = wxT("dbtest.cfg");
enum Language {langENGLISH, langFRENCH, langGERMAN, langSPANISH, langOTHER};
// Query strings
-wxChar * const langQRY_EQ = wxT("column = column | value");
-wxChar * const langQRY_LT = wxT("column < column | value");
-wxChar * const langQRY_GT = wxT("column > column | value");
-wxChar * const langQRY_LE = wxT("column <= column | value");
-wxChar * const langQRY_GE = wxT("column >= column | value");
-wxChar * const langQRY_BEGINS = wxT("columns that BEGIN with the string entered");
-wxChar * const langQRY_CONTAINS = wxT("columns that CONTAIN the string entered");
-wxChar * const langQRY_LIKE = wxT("% matches 0 or more of any char; _ matches 1 char");
-wxChar * const langQRY_BETWEEN = wxT("column BETWEEN value AND value");
+wxString const & langQRY_EQ = wxT("column = column | value");
+const wxString & langQRY_LT = wxT("column < column | value");
+const wxString & langQRY_GT = wxT("column > column | value");
+const wxString & langQRY_LE = wxT("column <= column | value");
+const wxString & langQRY_GE = wxT("column >= column | value");
+const wxString & langQRY_BEGINS = wxT("columns that BEGIN with the string entered");
+const wxString & langQRY_CONTAINS = wxT("columns that CONTAIN the string entered");
+const wxString & langQRY_LIKE = wxT("% matches 0 or more of any char; _ matches 1 char");
+const wxString & langQRY_BETWEEN = wxT("column BETWEEN value AND value");
class CqueryDlg : public wxDialog