#include "wx/html/htmltag.h"
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
#include "wx/colour.h"
+ #include "wx/wxcrtvararg.h"
#endif
#include "wx/html/htmlpars.h"
#include <stdio.h> // for vsscanf
#include <stdarg.h>
-
//-----------------------------------------------------------------------------
// wxHtmlTagsCache
//-----------------------------------------------------------------------------
}
int wxHtmlTag::ScanParam(const wxString& par,
- const wxChar *format,
+ const char *format,
+ void *param) const
+{
+ wxString parval = GetParam(par);
+ return wxSscanf(parval, format, param);
+}
+
+int wxHtmlTag::ScanParam(const wxString& par,
+ const wchar_t *format,
void *param) const
{
wxString parval = GetParam(par);