X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/049977d042858eaef70b0720ab101b1b40c5e308..015e69f36dfbc469eef59456f973d0567e865d70:/samples/db/dbtest.h diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 59d56bbdf0..87911415e9 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -431,7 +431,7 @@ class CqueryDlg : public wxDialog wxDbColInf *colInf; // Column inf. returned by db->GetColumns() wxDbTable *dbTable; // generic wxDbTable object for attaching to the table to query wxChar *masterTableName; // Name of the table that 'dbTable' will be associated with - wxChar *pWhere; // A pointer to the storage for the resulting where clause + wxString pWhere; // A pointer to the storage for the resulting where clause wxDb *pDB; public: @@ -470,7 +470,7 @@ class CqueryDlg : public wxDialog wxTextCtrl *pFocusTxt; - CqueryDlg(wxWindow *parent, wxDb *pDb, wxChar *tblName[], wxChar *pWhereArg); + CqueryDlg(wxWindow *parent, wxDb *pDb, wxChar *tblName[], const wxString &pWhereArg); ~CqueryDlg(); void OnButton( wxCommandEvent &event );