// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
-#include "wx/defs.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include <wx/wxprec.h>
+
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include <wx/wx.h>
+#endif
+
/*
REMARKS:
/* 3. sub-layout all cells: */
{
- int *ypos = (int*) malloc(sizeof(int) * (m_NumRows + 1));
+ int *ypos = new int[m_NumRows + 1];
int actcol, actrow;
int fullwid;
}
m_Height = ypos[m_NumRows];
- free(ypos);
+ delete[] ypos;
}
}