Committing in .

Modified Files:
 	wxWidgets/descrip.mms wxWidgets/setup.h_vms
                 OpenVMS build update
 	wxWidgets/include/wx/unix/glx11.h
                 Removed superfluous semi-colon
 	wxWidgets/samples/db/dbtest.cpp
 	wxWidgets/samples/db/listdb.cpp
                fixed wxString cast problems
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2007-04-20 08:16:48 +00:00
parent dedead3227
commit 047b6c71d6
5 changed files with 42 additions and 22 deletions

View File

@@ -1374,8 +1374,8 @@ void CeditorDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event))
// Display the query dialog box
wxChar qryWhere[DB_MAX_WHERE_CLAUSE_LEN+1];
wxStrcpy(qryWhere, (const wxChar*) wxGetApp().Contact->qryWhereStr);
wxChar *tblName[] = {(wxChar *)CONTACT_TABLE_NAME.c_str(), 0};
new CqueryDlg(GetParent(), wxGetApp().Contact->GetDb(), tblName, qryWhere);
const wxChar *tblName[] = {(const wxChar *)CONTACT_TABLE_NAME.c_str(), 0};
new CqueryDlg(GetParent(), wxGetApp().Contact->GetDb(), (wxChar**) tblName, qryWhere);
// Query the first record in the new record set and
// display it, if the query string has changed.

View File

@@ -362,7 +362,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxSt
}
// Query the actual record set
if (selectStmt && wxStrlen(selectStmt)) // Query by sql stmt passed in
if ( (const char*) selectStmt && wxStrlen(selectStmt)) // Query by sql stmt passed in
{
if (!lookup2->QueryBySqlStmt(selectStmt))
{