X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aa3137d388808a9736138a8c41ee166cf1beeee..8366ae934aab9f835747b0c2e456231e8795fe78:/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(); }