Fixed a typo in the sample code of wxDbTable::Insert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-12-20 16:30:31 +00:00
parent b4a5319e83
commit 6ff1cefa22

View File

@@ -3088,7 +3088,7 @@ this function to commit or rollback the insertion.
wxStrcpy(parts->PartName, "10");
wxStrcpy(parts->PartDesc, "Part #10");
parts->Qty = 1000;
RETCODE retcode = parts.Insert();
RETCODE retcode = parts->Insert();
switch(retcode)
{
case DB_SUCCESS: