]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dbgrid.h
added carbonaccessors.o
[wxWidgets.git] / include / wx / dbgrid.h
index 8b6bf5d49aca18f654728fbf7e0793098725600a..a55ccfdcad2149d1dd342afc77823399176e05fa 100644 (file)
@@ -106,7 +106,7 @@ class wxDbGridTableBase : public wxGridTableBase
 {
 public:
     wxDbGridTableBase(wxDbTable *tab, wxDbGridColInfo *ColInfo,
-              int count = wxUSE_QUERY, bool takeOwnership = true);
+              int count = wxUSE_QUERY, bool takeOwnership = TRUE);
     ~wxDbGridTableBase();
 
     virtual int GetNumberRows()
@@ -138,12 +138,12 @@ public:
 
     virtual wxString wxDbGridTableBase::GetColLabelValue(int col);
 
-    virtual bool     AssignDbTable(wxDbTable *tab, int count = wxUSE_QUERY, bool takeOwnership=true);
+    virtual bool     AssignDbTable(wxDbTable *tab, int count = wxUSE_QUERY, bool takeOwnership=TRUE);
     virtual void     ValidateRow(int row);
     virtual bool     UpdateRow(int row) const
     {
         if (m_row != row)
-            return true;
+            return TRUE;
         else
             return Writeback();
     }