diff --git a/samples/db/dbtest.cpp b/samples/db/dbtest.cpp index 18cc8f144a..a8afaf4139 100644 --- a/samples/db/dbtest.cpp +++ b/samples/db/dbtest.cpp @@ -46,7 +46,7 @@ #include /* Required in the file which will get the data source connection */ #include /* Has the wxTable object from which all data objects will inherit their data table functionality */ -extern DbList* WXDLLEXPORT PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ +extern DbList WXDLLEXPORT *PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ #include "dbtest.h" /* Header file for this demonstration program */ #include "listdb.h" /* Code to support the "Lookup" button on the editor dialog */ diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index 675b9b97ba..f5181d5d9c 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -56,7 +56,7 @@ #include -extern DbList* WXDLLEXPORT PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ +extern DbList WXDLLEXPORT *PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ #include "listdb.h"