X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a39593ebe391bed763e2baa22b113086709a450..6a168c177c0572f32f98e8a9d8ba9adcd1c2d968:/include/wx/dbgrid.h diff --git a/include/wx/dbgrid.h b/include/wx/dbgrid.h index 954655b1c9..c057b4b116 100644 --- a/include/wx/dbgrid.h +++ b/include/wx/dbgrid.h @@ -29,7 +29,7 @@ #define wxGRID_VALUE_DBAUTO _T("dbauto") -WX_DECLARE_EXPORTED_OBJARRAY(GenericKey,keyarray); +WX_DECLARE_USER_EXPORTED_OBJARRAY(GenericKey,keyarray,WXDLLIMPEXP_DBGRID); static const int wxUSE_QUERY = -1; @@ -118,7 +118,7 @@ class WXDLLIMPEXP_DBGRID 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() @@ -150,12 +150,12 @@ public: virtual wxString 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(); }