#include "bmputils.h"
#include "table.h"
-#if !WXWIN_COMPATIBILITY_2_4
static inline wxChar* copystring(const wxChar* s)
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
wxList itemizeStack;
static int indentLevel = 0;
if(tok.HasMoreTokens())
{
wxString token = tok.GetNextToken();
- imageWidth = (int)(20*ParseUnitArgument((wxChar*)token.c_str()));
+ imageWidth = (int)(20*ParseUnitArgument(token));
}
else
{
if(tok.HasMoreTokens())
{
wxString token = tok.GetNextToken();
- imageHeight = (int)(20*ParseUnitArgument((wxChar*)token.c_str()));
+ imageHeight = (int)(20*ParseUnitArgument(token));
}
else
{