git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10534
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Purpose: Displays a wxDbTable in a wxGrid.
// Author: Roger Gammans, Paul Gammans
// Modified by:
// Purpose: Displays a wxDbTable in a wxGrid.
// Author: Roger Gammans, Paul Gammans
// Modified by:
// RCS-ID: $Id$
// Copyright: (c) 1999 The Computer Surgery (roger@computer-surgery.co.uk)
// Licence: wxWindows licence
// RCS-ID: $Id$
// Copyright: (c) 1999 The Computer Surgery (roger@computer-surgery.co.uk)
// Licence: wxWindows licence
{
DbCol = ref.DbCol;
wxtypename = ref.wxtypename;
{
DbCol = ref.DbCol;
wxtypename = ref.wxtypename;
}
//Empty destructor for member obj's
~wxDbGridColInfoBase() {}
}
//Empty destructor for member obj's
~wxDbGridColInfoBase() {}
int DbCol;
wxString wxtypename;
wxString Title;
int DbCol;
wxString wxtypename;
wxString Title;
virtual int GetNumberRows()
{
wxLogDebug(" GetNumberRows() = %i",m_rowtotal);
virtual int GetNumberRows()
{
wxLogDebug(" GetNumberRows() = %i",m_rowtotal);
}
virtual int GetNumberCols()
}
virtual int GetNumberCols()
wxLogDebug(" GetNumberCols() = %i",m_nocols);
wxLogDebug(" GetNumberCols() = %i",m_nocols);
}
virtual bool IsEmptyCell(int row, int col) ;
virtual wxString GetValue(int row, int col) ;
}
virtual bool IsEmptyCell(int row, int col) ;
virtual wxString GetValue(int row, int col) ;
{
if (m_row != row)
return true;
{
if (m_row != row)
return true;
private:
//Operates on the current row
bool Writeback() const;
private:
//Operates on the current row
bool Writeback() const;
#endif // #if wxUSE_NEW_GRID
#endif // #if wxUSE_ODBC
#endif // #if wxUSE_NEW_GRID
#endif // #if wxUSE_ODBC
-#endif _WX_GENERIC_DBGRID_H_
+#endif // _WX_GENERIC_DBGRID_H_
+#ifdef __VISAGECPP__
+ #define true TRUE
+ #define false FALSE
+#endif
+
// Add more tests here for Windows compilers that already define bool
// (under Unix, configure tests for this)
#ifndef HAVE_BOOL
// Add more tests here for Windows compilers that already define bool
// (under Unix, configure tests for this)
#ifndef HAVE_BOOL