X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aa3137d388808a9736138a8c41ee166cf1beeee..bf7d7ee7062f7f6028df40e43745235658e38b4d:/include/wx/dbgrid.h diff --git a/include/wx/dbgrid.h b/include/wx/dbgrid.h index 8b6bf5d49a..a55ccfdcad 100644 --- a/include/wx/dbgrid.h +++ b/include/wx/dbgrid.h @@ -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(); }