]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
relinquish the mouse capture when a dialog is about to be made modal to ensure that...
[wxWidgets.git] / src / html / htmltag.cpp
index 9f04f7b249d57b8c636bb87c8c1eaa614da59837..05b9c77a2539221f269cc60298ca156d72c171b9 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "wx/html/htmltag.h"
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
     #include "wx/colour.h"
     #include "wx/wxcrtvararg.h"
 #endif
@@ -407,7 +407,15 @@ wxString wxHtmlTag::GetParam(const wxString& par, bool with_commas) 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);