git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47005
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// (like sscanf() does)
// NOTE: unlike scanf family, this function only accepts
// *one* parameter !
- int ScanParam(const wxString& par, const wxChar *format, void *param) const;
+ int ScanParam(const wxString& par, const char *format, void *param) const;
+ int ScanParam(const wxString& par, const wchar_t *format, void *param) const;
// Returns string containing all params.
wxString GetAllParams() const;
}
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);