X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc5dd6f8eb590992150b3998266fb50dfaab227..29ea4a290850e9ae79c258774fa22153a951ff7f:/include/wx/dbtable.h

diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h
index 0fa4fef0b9..004f02a299 100644
--- a/include/wx/dbtable.h
+++ b/include/wx/dbtable.h
@@ -32,7 +32,7 @@
 
 #include "wx/db.h"
 
-const ROWID_LEN = 24;  // 18 is the max, 24 is in case it gets larger
+const int ROWID_LEN = 24;  // 18 is the max, 24 is in case it gets larger
 
 // The following class is used to define a column of a table.
 // The wxTable constructor will dynamically allocate as many of
@@ -43,7 +43,7 @@ const ROWID_LEN = 24;  // 18 is the max, 24 is in case it gets larger
 // source, exchange data between the data source and the C++
 // object, and so on.
 
-class CcolDef
+class WXDLLEXPORT CcolDef
 {
 public:
 	char    ColName[DB_MAX_COLUMN_NAME_LEN+1];	// Column Name  glt 4/19/97 added one for the null terminator
@@ -59,14 +59,14 @@ public:
 };  // CcolDef
 
 // This structure is used when creating secondary indexes.
-class CidxDef
+class WXDLLEXPORT CidxDef
 {
 public:
 	char ColName[DB_MAX_COLUMN_NAME_LEN+1];	// Column Name  glt 4/19/97 added one for the null terminator
 	bool Ascending;
 };  // CidxDef
 
-class wxTable
+class WXDLLEXPORT wxTable
 {
 private:
 
@@ -116,7 +116,7 @@ public:
 
 	// Public member functions
 	wxTable(wxDB *pwxDB, const char *tblName, const int nCols, const char *qryTblName = 0);
-	~wxTable();
+	virtual ~wxTable();
 	bool	Open(void);
 	bool	CreateTable(void);
 	bool	CreateIndex(char * idxName, bool unique, int noIdxCols, CidxDef *pIdxDefs);