]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a typo in the sample code of wxDbTable::Insert
authorGeorge Tasker <gtasker@allenbrook.com>
Thu, 20 Dec 2001 16:30:31 +0000 (16:30 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Thu, 20 Dec 2001 16:30:31 +0000 (16:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/db.tex

index 7c78dd9dac5a8ac41df3f04b00b771433d3c79ff..1714f47118efe56c8d963f73dee0eaa44cfca821 100644 (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: