X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70e8f4cf3980ffa58e0e7981be92bff8324cc23..2b33b72819002e038a2a0cb2b3aa9b2cde880c7a:/samples/db/dbtest.h?ds=inline diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 7180429f51..ae5bdc21e6 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -37,7 +37,7 @@ const char CONTACT_TABLE_NAME[] = "contacts"; const int CONTACT_NO_COLS = 12; // 0-11 // Global structure for holding ODBC connection information -struct DbStuff DbConnectInf; +struct wxDbConnectInf DbConnectInf; enum Language {langENGLISH, langFRENCH, langGERMAN, langSPANISH, langOTHER}; @@ -307,7 +307,7 @@ char * const langQRY_BETWEEN = "column BETWEEN value AND value"; class CqueryDlg : public wxDialog { private: - CcolInf *colInf; // Column inf. returned by db->GetColumns() + wxColInf *colInf; // Column inf. returned by db->GetColumns() wxTable *dbTable; char *masterTableName; char *pWhere; // A pointer to the storage for the resulting where clause @@ -346,6 +346,7 @@ class CqueryDlg : public wxDialog wxTextCtrl *pFocusTxt; CqueryDlg(wxWindow *parent, wxDB *pDb, char *tblName[], char *pWhereArg); + ~CqueryDlg(); void OnButton( wxCommandEvent &event ); void OnCommand(wxWindow& win, wxCommandEvent& event);