X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f8f7c77d3daef7fd1715752d3f739b55a0015d7..0d8b87ac8ae0ababd4c0d725142532f6d592fdb2:/samples/db/listdb.cpp diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index f60902a4e6..a38a43caa0 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -51,10 +51,10 @@ #endif //__BORLANDC__ #ifndef WX_PRECOMP -#include +#include "wx/wx.h" #endif //WX_PRECOMP -#include +#include "wx/dbtable.h" extern wxDbList WXDLLEXPORT *PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ @@ -190,7 +190,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName, widgetPtrsSet = TRUE; // Query the lookup table and display the result set - lookup = new Clookup(tableName, colName, pDb, defDir); + lookup = new Clookup(tableName, colName, pDb, defDir); if (!lookup) { wxMessageBox(wxT("Error allocating memory for 'Clookup'object."),wxT("Error...")); @@ -295,7 +295,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName, widgetPtrsSet = TRUE; // Query the lookup table and display the result set - lookup2 = new Clookup2(tableName, dispCol1, dispCol2, pDb, defDir); + lookup2 = new Clookup2(tableName, dispCol1, dispCol2, pDb, defDir); if (!lookup2) { wxMessageBox(wxT("Error allocating memory for 'Clookup2' object."),wxT("Error..."));