void wxGrid::SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol )
{
int temp;
- bool changed = false;
+ bool changed = FALSE;
wxGridCellCoords updateTopLeft, updateBottomRight;
if ( topRow > bottomRow )
if (updateTopLeft.GetCol() > leftCol)
updateTopLeft.SetCol(leftCol);
}
- changed = true;
+ changed = TRUE;
}
updateBottomRight = m_selectedBottomRight;
if (updateBottomRight.GetCol() < rightCol)
updateBottomRight.SetCol(rightCol);
}
- changed = true;
+ changed = TRUE;
}
if (changed)
"</body></html>"));
}
- void OnUpdate(wxCloseEvent& event)
+ void OnUpdate(wxCommandEvent& event)
{
UpdateTestWin();
}
#include "wx/dialup.h"
-// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h
-#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__)
+// Doesn't yet compile under VC++ 4, BC++, mingw, Watcom C++: no wininet.h
+#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__) && ! (defined(__VISUALC__) && (__VISUALC__ < 1020))
#include <ras.h>
#include <raserror.h>
GenerateSample("PoemVC", "wxpoem", dir + wxString("/demos/poem"), wxStringList("wxpoem.cpp", "wxpoem.h", 0));
+ GenerateSample("DbbrowseVC", "dbbrowse", dir + wxString("/demos/dbbrowse"),
+ wxStringList("dbbrowse.cpp", "browsedb.cpp", "dbgrid.cpp", "dbtree.cpp", "dlguser.cpp", "doc.cpp",
+ "pgmctrl.cpp", "tabpgwin.cpp",
+ "dbbrowse.h", "browsedb.h", "dbgrid.h", "dbtree.h", "dlguser.h", "doc.h", "pgmctrl.h", "std.h", "tabpgwin.h",
+ 0));
+
//// Utilities
// Dialog Editor