]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbtable.cpp
Partially applied patch [ 763900 ] fix for vertical toolbar
[wxWidgets.git] / src / common / dbtable.cpp
index 8588f72fe799309adc9c0a13ff7bf4a39d09fc45..502c914129ed539d87dd7136d5a83e47d25a07cf 100644 (file)
@@ -48,9 +48,6 @@
     #include "wx/object.h"
     #include "wx/list.h"
     #include "wx/utils.h"
-    #if wxUSE_GUI
-        #include "wx/msgdlg.h"
-    #endif
     #include "wx/log.h"
 #endif
 #include "wx/filefn.h"
@@ -411,7 +408,7 @@ bool wxDbTable::bindParams(bool forUpdate)
         return(FALSE);
 
     SWORD   fSqlType    = 0;
-    UDWORD  precision   = 0;
+    SDWORD  precision   = 0;
     SWORD   scale       = 0;
 
     // Bind each column of the table that should be bound