Added code to show off wxDbGrid (contributed by Paul and Roger Gammans) in wxUSE_NEW_...
authorGeorge Tasker <gtasker@allenbrook.com>
Sun, 10 Jun 2001 17:12:56 +0000 (17:12 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Sun, 10 Jun 2001 17:12:56 +0000 (17:12 +0000)
commitf21b2fd89d02837dfd0d195f8ff0f3f5640af017
tree106d8456ee4f0572fb9f1a22c6568093e81acaa3
parentfa464e825d72960bbae7ee27c50e53679d83f394
Added code to show off wxDbGrid (contributed by Paul and Roger Gammans) in wxUSE_NEW_GRID is set to 1.  If grid is not enabled, the program does not compile in the wxDbGrid portion of the sample
Fixed a bug in the SetColDef() descriptions that had the Contribs column defined as a UCHAR but the SQL data type was set to be SQL_C_SHORT when it needed to be SQL_C_UTINYINT to match the size of the UCHAR data variable
General code cleanup
TRUE/FALSE changed to true/false
Now uses new wxDbLogExtendedErrorMsg() function for reporting human readable ODBC errors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/db/dbtest.cpp
samples/db/dbtest.h
samples/db/listdb.cpp
samples/db/listdb.h