projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git]
/
include
/
wx
/
dbgrid.h
diff --git
a/include/wx/dbgrid.h
b/include/wx/dbgrid.h
index 8b6bf5d49aca18f654728fbf7e0793098725600a..a55ccfdcad2149d1dd342afc77823399176e05fa 100644
(file)
--- a/
include/wx/dbgrid.h
+++ b/
include/wx/dbgrid.h
@@
-106,7
+106,7
@@
class wxDbGridTableBase : public wxGridTableBase
{
public:
wxDbGridTableBase(wxDbTable *tab, wxDbGridColInfo *ColInfo,
{
public:
wxDbGridTableBase(wxDbTable *tab, wxDbGridColInfo *ColInfo,
- int count = wxUSE_QUERY, bool takeOwnership =
true
);
+ int count = wxUSE_QUERY, bool takeOwnership =
TRUE
);
~wxDbGridTableBase();
virtual int GetNumberRows()
~wxDbGridTableBase();
virtual int GetNumberRows()
@@
-138,12
+138,12
@@
public:
virtual wxString wxDbGridTableBase::GetColLabelValue(int col);
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)
virtual void ValidateRow(int row);
virtual bool UpdateRow(int row) const
{
if (m_row != row)
- return
true
;
+ return
TRUE
;
else
return Writeback();
}
else
return Writeback();
}