]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/dbtest.h
wxFileSelector should have file name only, not path, passed to 3rd arg
[wxWidgets.git] / samples / db / dbtest.h
index 59d56bbdf0ccdf1bcc7d7ed750b35e65f879ff5c..87911415e9ea9e51f374ff13900ebd27ef8d0520 100644 (file)
@@ -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 );