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
{