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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user